定制 bonnier/bbpress-better-permalinks 二次开发

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

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

bonnier/bbpress-better-permalinks

Composer 安装命令:

composer require bonnier/bbpress-better-permalinks

包简介

Better permalinks for topics in bbPress

README 文档

README

The plugin alters bbPress topic url's so they include the hierarchy of the forums they belong to.

Example lets say we have a forum post with the title Obi Wan Kenobi Normally this would mean that the path to your topic would be something like: /topic/obi-wan-kenobi Now lets say that your topic belongs to the forum named Jedi knights which in turn has a parent form named Star Wars. Normally in bbPress our topic path has no indication of what forum the topic belongs to. With the example above the new topic path generated by the plugin will be the following: /forum/star-wars/jedi-knights/topic/obi-wan-kenobi now if we look at the url we can see the topic path has been prefixed with the parent forums, correctly indicating its relationship to them.

Note that the parts forum and topic can be altered by changing the bbPress slug settings, but they have to be part of the url for the plugin to work

Installation

The plugin can be installed through composer:

composer require bonnier/bbpress-better-permalinks

Or by fetching the latest zip from: https://github.com/BenjaminMedia/bbpress-better-permalinks/releases

The plugin automatically clears the wordpress permalinks upon activation/deactivation, so simply activating the plugin should be enough to generate new permalinks for your topics.

Please note that if you change the slug settings for bbPress then you have to manually visit the permalinks settings page to generate new permalinks for the topics.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 13
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-12-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固