[WordPress] 外掛分享: WP Sitemap Pages and Posts

首頁外掛目錄 › WP Sitemap Pages and Posts
WordPress 外掛 WP Sitemap Pages and Posts 的封面圖片
1,000+
安裝啟用
★★★★★
5/5 分(1 則評價)
28 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.2.0 上架:2020-05-20

內容簡介

這個 WordPress 外掛可輕鬆在網頁上新增網站地圖。只需在任何頁面上使用簡短代碼 [wpspap_sitemap] 即可自動產生所有頁面和文章的網站地圖。

但注意,此外掛不會產生 XML 網站地圖,僅會在單一頁面上列出所有頁面和文章,因此此網站地圖僅供人類使用,而非搜尋引擎機器人。

使用方式:
- 使用 [wpspap_sitemap] 代碼可自動產生所有頁面和文章的網站地圖。
- 當使用 [wpspap_sitemap type=”page”] 或 [wpspap_sitemap type=”post”] 等屬性時,只會顯示一種內容。

如需刪除 WP Sitemap Page 外掛,只需從外掛清單中停用即可。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Sitemap Pages and Posts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WP Sitemap Pages and Posts gives you an easy way to add a sitemap to any page on your site. Just drop the shortcode [wpspap_sitemap] into a page or post and it will automatically list your pages and posts, linked and ready to browse.
Note: this plugin does not generate an XML sitemap for search engines. It creates a human-readable list for your visitors. If you need an XML sitemap for SEO purposes, look for a dedicated SEO plugin.
Features

Simple shortcode: [wpspap_sitemap]
Choose which post type(s) to display, including custom post types
Display multiple post types at once
Control the number of items shown
Sort by title, date, or menu order, ascending or descending
Exclude specific pages or posts by ID
Lightweight — no settings pages, no bloat, no external requests

Usage
Basic usage
[wpspap_sitemap]

Displays all published pages.
Choose a post type
[wpspap_sitemap type="post"]

[wpspap_sitemap type="page"]

Display multiple post types
[wpspap_sitemap type="page,post"]

Custom post types are supported too, as long as they are publicly viewable:
[wpspap_sitemap type="page,post,product"]

Limit the number of items
[wpspap_sitemap count="10"]

Use -1 (default) to show all items.
Sort the list
[wpspap_sitemap orderby="date" order="DESC"]

Supported orderby values follow WordPress’s standard WP_Query options (e.g. title, date, menu_order). order accepts ASC or DESC.
Exclude specific items
[wpspap_sitemap exclude="12,45"]

Exclude one or more post/page IDs, comma separated.
Uninstall
To remove WP Sitemap Pages and Posts, simply deactivate and delete it from the Plugins screen. It does not create any custom database tables or options.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon