Skip to content

storm2k/sagextras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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