concept-image/wp-header
最新稳定版本:3.0.2
Composer 安装命令:
composer require concept-image/wp-header
包简介
A package for adding header to a theme with Bedrock/Acorn
README 文档
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.
统计信息
- 总下载量: 1.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-17