
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.
[wpspap_sitemap][wpspap_sitemap]
Displays all published pages.
[wpspap_sitemap type="post"]
[wpspap_sitemap type="page"]
[wpspap_sitemap type="page,post"]
Custom post types are supported too, as long as they are publicly viewable:
[wpspap_sitemap type="page,post,product"]
[wpspap_sitemap count="10"]
Use -1 (default) to show all items.
[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.
[wpspap_sitemap exclude="12,45"]
Exclude one or more post/page IDs, comma separated.
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.