/sagextras

Put some Bootstrap-specific extras back into Sage

Primary LanguagePHPMIT LicenseMIT

Sagextras

A 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/config.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');

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.

(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.