跳到内容

WP Sitemap Pages and Posts

v1.2.0

shuvo66 · 2020年5月21日 上架

Generate a human-readable sitemap of your pages and posts with a simple shortcode.

正在使用
1,000+
评分
5.0 / 5
累计下载
1.6 万
最近更新
2026年7月5日
1 条评价需要 WordPress 5.8+已测试到 7.0.9PHP 7.4+

贡献者

截图

Example sitemap output using the default shortcode.
Example sitemap output using the default shortcode.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums