Linux 软件免费装
Banner图

Custom Posts Parents

开发者 codeko
更新时间 2017年5月5日 14:08
捐献地址: 去捐款
PHP版本: 4.4 及以上
WordPress版本: 4.7
版权: GPLv2
版权网址: 版权信息

标签

post type parent hierarchy

下载

0.1

详情介绍:

With this plugin you can set any post type (or posts types) as parent of any post type. Urls will be wellformed, redirects will work, breadcrumbs will work fine. This plugin is recomended when you need a url structure with a mix of post types. Any url structure you can imagine could be done. Post types rewrite slugs will be ignored

安装:

  1. Upload the plugin files to the /wp-content/plugins/custom-post-parents directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Use the Settings → Custom Post Parents screen to configure the plugin and set the post parent of each post type.

屏幕截图:

  • Configuration screen
  • Post parent selection box

常见问题:

I don't see one post type in the configuration screem

The post type must be a hierarchical post type to be used by the plugin.

What about the post type slug

The posts that uses the Custom Post Parent plugin can't have a post type slug. This is because a url can have multiple post types, so no correct post type slug can be used.