Sagextras WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Put some Bootstrap-specific extras back into Sage
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/storm2k/sagextras/archive/refs/heads/master.zipOn Packagist as storm2k/sagextras:
composer require storm2k/sagextrasA tiny WordPress plugin that restores some Bootstrap specific functionality to the Sage theme. This plugin is modularlized just like Soil, so you only need to load the things you actually need. Add the neccessary lines to your lib/setup.php and the functionality will be there.
Modules
- Restore the Roots Bootstrap Navwalker
add_theme_support('se-nav-walker');
REMINDER!!! You need to go into templates/header.php and replace the menu code with the code contained in this Gist so the menu works properly.
~~ * Bootstrap friendly Gallery code
add_theme_support('se-gallery');~~
Please Note: With the release of Sage 8.3.0, this doesn't work anymore because Sage now uses WordPress's standard HTML5 gallery codes.
Support
Please feel free to open an issue if you run into problems.
Contributions
I welcome all ideas and support on how to make this better for everyone. Pull requests are more than welcome. Please take a look at the contributing file for coding standards and some testing.
(A big thanks to everyone who has contributed thusfar, especially johnny-bit, who has done a lot of work cleaning up the code and bringing it up to par for standards!)
ToDo
- NavWalker uses code from Sage release 8.1.1. Looking forward to modularizing utils it uses.
- Gallery is now namespaced, looking forward to modularizing any utils it uses.
Releases
4 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.