concept-image/wp-header

A package for adding header to a theme with Bedrock/Acorn

3.0.0 2025-07-24 15:59 UTC

This package is auto-updated.

Last update: 2025-07-24 13:59:53 UTC


README

WP Header is a Composer package that provides a base header for WordPress Bedrock/Sage applications.

Installation

You can install the package via Composer:

composer require concept-image/wp-header

Then publish the base header with wp acorn command :

wp acorn vendor:publish --tag="wp-header-base"

Then you can add the header to your theme by including the following line in your resources/views/layouts/app.blade.php file:

<x-layouts.header.main />

To finish the installation, add the following line to your resources/styles/app.css file to import the header styles that are not directly added into the view :

@import "./tailwind/layouts/header.css";

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss what you would like to change.

License

This package is open-sourced software licensed under the MIT license. Please see License File for more information.