
內容簡介
這個外掛會為頁面建立一個網站地圖。使用短碼 [sitemap_simple] 來呈現網站地圖。
功能
容易安裝
新增 ID 和 class。
排除多個頁面。
排除單一頁面。
顯示目前頁面的子孫頁面。
顯示目前頁面的子頁面。
使用短碼容易操作。
需求
這個外掛需要 PHP 5 或 PHP 7 以及 WordPress 3.0 或更高版本。它適用於標準 WordPress 環境。強烈建議使用最新版本的 WordPress。
聯繫
如果您有任何建議,歡迎電郵至 [email protected], [email protected]。
如何顯示網站地圖
使用短碼,複製並貼上下列短碼來查看網站地圖
[sitemap_simple]
使用短碼新增 class。
[sitemap_simple class=”example”]
使用短碼新增 ID。
[sitemap_simple id=”example”]
使用短碼排除單一頁面。
[sitemap_simple exclude=”21″]
使用短碼排除多個頁面。
[sitemap_simple exclude=”21,29,25″]
使用短碼只顯示目前頁面的子孫頁面。
[sitemap_simple depth=2 child_of=CURRENT]
外掛標籤
開發者團隊
原文外掛簡介
This plugin will create a Sitemap for pages. Use the shortcode “[sitemap_simple]” to render the sitemap.
Features
easy to install
Add ID and class.
Exclude multiple pages.
Exclude Single pages.
Grand Children of the current page.
Children of the current page.
Easy to use with shortcode.
Requirements
This plugin requires PHP 5 or PHP 7 and WordPress 3.0 or greater. It works in standard WordPress environments. It is strongly recommended to use WordPress in the newest version.
Contact
If you have any suggestion, feel free to email me at [email protected], [email protected].
How to display sitemap
Using Shortcode, copy and paste this shortcode to view the sitemap
[sitemap_simple]
Using shortcode to add a class.
[sitemap_simple class=”example”]
Using shortcode to add a ID.
[sitemap_simple id=”example”]
Using shortcode to exclude Single pages.
[sitemap_simple exclude=”21″]
Using shortcode to exclude multiple pages.
[sitemap_simple exclude=”21,29,25″]
Using shortcode to show only children and grandchildren of the current page.
[sitemap_simple depth=2 child_of=CURRENT]
