Nested Blog Posts

描述

Nested Blog Posts makes the built-in Posts post type behave more like Pages:

  • Adds a Parent dropdown to Posts.
  • Generates hierarchical permalinks like /parent/child/ (supports unlimited depth).
  • Routes nested URLs correctly so you don’t get 404s or forced redirects to /child/.

This plugin does not contact external servers and does not collect user data.

How to use

  1. Enable the plugin (Settings Nested Blog Posts Enabled).
  2. Create a Parent blog post (a normal Post).
  3. Create a Child blog post and set its Parent in the editor sidebar (Post Parent).
  4. To create a deeper tree, set the new post’s Parent to the previous child.
    Example: /parent/child/grandchild/
  5. If you disable the feature later, the plugin automatically refreshes rewrite rules and WordPress will fall back to normal post behavior.

安裝

  1. Upload the plugin files to the /wp-content/plugins/nested-blog-posts/ directory, or install the plugin through the WordPress plugins screen.
  2. Activate Nested Blog Posts through the ‘Plugins’ screen in WordPress.
  3. Go to Settings Nested Blog Posts and ensure it’s Enabled.

常見問題

Will my old /child/ URLs still work?

Yes. WordPress will typically redirect old single-level URLs to the new hierarchical permalink.

Can this conflict with Pages or taxonomies?

It can if you use the exact same path for a Page or taxonomy route. The plugin will not override a published Page at the same full path, but you should avoid slug collisions.

How do I debug?

As an admin, add ?wwhry_nbp_debug=1 to a nested URL and check the response headers in DevTools Network.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Nested Blog Posts” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Nested Blog Posts 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

  • Initial release.