Linux 软件免费装

WP Permastructure

开发者 interconnectit
sanchothefat
更新时间 2023年7月26日 17:18
捐献地址: 去捐款
PHP版本: 3.3 及以上
WordPress版本: 6.3

标签

links permalinks custom post types custom taxonomies URLs rewrite rules

下载

1.0 1.1 1.2 1.3 1.4.2 1.4.3 1.4.4

详情介绍:

In addition to controlling your custom post type permalinks this plugin adds support for using custom taxonomies in your permalink structures as well. Not only that but you can control the full permalink so the post type slug is not required at the start of the link. Multiple post types can use the same permalink structure. Usage There are 2 ways to use this plugin: Permalink Settings The plugin adds fields to the permalinks settings page for any public facing custom post types. In Code When registering a post type you can add a value to the rewrite property with the key 'permastruct' to define your default permalink structure. eg: ` array( 'permastruct' => '/%custom_taxonomy_name%/%author%/%postname%/' ), ... ) ); ?> `

安装:

  1. You can install the plugin using the auto-install tool from the WordPress back-end.
  2. To manually install, upload the folder /wp-permastructure/ to /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. You should now see input boxes for any custom post types you have on the permalink settings page

更新日志: