Skip to content

Put some Bootstrap-specific extras back into Sage

License

Notifications You must be signed in to change notification settings

johnny-bit/sagextras

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

About

Put some Bootstrap-specific extras back into Sage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 100.0%