內容簡介
總結:Nested Blog Posts 外掛讓內建的文章文章類型的表現更像頁面:
- 在文章中新增父級下拉選單。
- 生成像/parent/child/這樣的階層永久連結(支援無限深度)。
- 正確路由嵌套的網址,使您不會得到 404 錯誤或強制重新導向到/child/。
此外掛程式不會與外部伺服器通訊,也不會收集使用者資料。
問題與答案:
1. 這個外掛程式的主要功能是什麼?
- 將內建的文章文章類型改變得更像頁面的行為。
2. 如何啟用這個外掛程式?
- 透過進入「設定 → 嵌套部落格文章 → 啟用」來啟用。
3. 在建立子文章時應該如何設置其父級?
- 在編輯器邊欄中的文章設置父級(文章 → 父級)。
4. 如果要建立更深層次的樹狀結構,應該如何設置新文章的父級?
- 設置新文章的父級為前一個子文章。
5. 若稍後停用功能,會發生什麼情況?
- 外掛程式會自動刷新重寫規則,WordPress 會恢復到正常的文章行為。
外掛標籤
開發者團隊
原文外掛簡介
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
Enable the plugin (Settings → Nested Blog Posts → Enabled).
Create a Parent blog post (a normal Post).
Create a Child blog post and set its Parent in the editor sidebar (Post → Parent).
To create a deeper tree, set the new post’s Parent to the previous child.
Example: /parent/child/grandchild/
If you disable the feature later, the plugin automatically refreshes rewrite rules and WordPress will fall back to normal post behavior.
