定制 storm2k/sagextras 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

storm2k/sagextras

最新稳定版本:v1.1.0

Composer 安装命令:

composer require storm2k/sagextras

包简介

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

关键字:

README 文档

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.

统计信息

  • 总下载量: 434
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 27
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 27
  • Watchers: 4
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-27