storm2k/sagextras

A WordPress plugin to restore some Bootstrap specific functionality to the Sage theme.

Maintainers

Package info

github.com/storm2k/sagextras

Type:wordpress-plugin

pkg:composer/storm2k/sagextras

Statistics

Installs: 434

Dependents: 0

Suggesters: 0

Stars: 26

Open Issues: 0

v1.1.0 2015-05-22 01:00 UTC

This package is not auto-updated.

Last update: 2026-04-26 02:43:47 UTC


README

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.