concept-image / wp-footer-base
A package for adding base footer (footer + option) to a theme with Acorn
Requires
- php: >=8.0
- concept-image/wp-base-nav: >=1.0
- concept-image/wp-social-nav: >=1.0
- log1x/acf-composer: >=3.0
- roots/acorn: >=4.3
README
WP Footer Base is a Composer package that provides a base footer with an option page and base style.
Installation
You can install the package via Composer:
composer require concept-image/wp-footer-base
Then publish the base footer with wp acorn command :
wp acorn vendor:publish --tag="wp-footer-base"
Then you can add the footer to your theme by including the following line in your resources/views/layouts/app.blade.php
file:
<x-layouts.footer.main />
To finish the installation, add the following line to your resources/styles/app.css
file to import the footer styles that are not directly added into the view :
@import "./tailwind/layouts/footer.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.