Title: WP Sitemap Pages and Posts
Author: shuvo66
Published: <strong>21 Maggu 2020</strong>
Last modified: 5 Yulyu 2026

---

Search plugins

![](https://ps.w.org/wp-sitemap-pages-and-posts/assets/banner-772x250.png?rev=2309667)

![](https://ps.w.org/wp-sitemap-pages-and-posts/assets/icon-128x128.png?rev=2309667)

# WP Sitemap Pages and Posts

 By [shuvo66](https://profiles.wordpress.org/shuvo66/)

[Download](https://downloads.wordpress.org/plugin/wp-sitemap-pages-and-posts.1.2.0.zip)

 * [Details](https://kab.wordpress.org/plugins/wp-sitemap-pages-and-posts/#description)
 * [Reviews](https://kab.wordpress.org/plugins/wp-sitemap-pages-and-posts/#reviews)
 *  [Installation](https://kab.wordpress.org/plugins/wp-sitemap-pages-and-posts/#installation)
 * [Development](https://kab.wordpress.org/plugins/wp-sitemap-pages-and-posts/#developers)

 [Support](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/)

## Description

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.

## Screenshots

[⌊Example sitemap output using the default shortcode.⌉⌊Example sitemap output using
the default shortcode.⌉[

Example sitemap output using the default shortcode.

## Installation

 1. Upload the plugin files to `/wp-content/plugins/wp-sitemap-pages-and-posts`, or
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Add the `[wpspap_sitemap]` shortcode to any page or post.

## FAQ

### Does this generate an XML sitemap for Google?

No. This plugin creates a human-readable list of links for your site visitors, not
an XML sitemap for search engines.

### Can I style the sitemap list?

Yes. The output is wrapped in `<ul class="wpspap-sitemap">`, so you can target it
with your own CSS.

### Can I show custom post types?

Yes, any publicly viewable post type can be passed to the `type` attribute.

## Reviews

![](https://secure.gravatar.com/avatar/d566af04ce2be4a651f3965e125bff50222bbd9d85e1dbd34a15cdb5184d68c0?
s=60&d=retro&r=g)

### 󠀁[just saved my time](https://wordpress.org/support/topic/just-saved-my-time/)󠁿

 [asufian97](https://profiles.wordpress.org/asufian97/) 23 Maggu 2020

Thanks for your great work, i love this plugin 😉

 [ Read all 1 review ](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/reviews/)

## Contributors & Developers

“WP Sitemap Pages and Posts” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ shuvo66 ](https://profiles.wordpress.org/shuvo66/)

“WP Sitemap Pages and Posts” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-sitemap-pages-and-posts/contributors)
for their contributions.

[Translate “WP Sitemap Pages and Posts” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-sitemap-pages-and-posts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-sitemap-pages-and-posts/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-sitemap-pages-and-posts/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-sitemap-pages-and-posts/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-sitemap-pages-and-posts/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.0

 * Added support for displaying multiple post types at once
 * Added `orderby`, `order`, and `exclude` shortcode attributes
 * Escaped all output for improved security
 * Replaced deprecated `wp_reset_query()` with `wp_reset_postdata()`
 * Sanitized and validated all shortcode attributes
 * Updated compatibility to WordPress 7.0 and PHP 7.4+

#### 1.1.0

 * Earlier release.

## Meta

 *  Version **1.2.0**
 *  Last updated **4 n wagguren ago**
 *  Active installations **1,000+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.0.8**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/wp-sitemap-pages-and-posts/), [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-sitemap-pages-and-posts/),
   akked [Spanish (Spain)](https://es.wordpress.org/plugins/wp-sitemap-pages-and-posts/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-sitemap-pages-and-posts)
 * Tags
 * [html sitemap](https://kab.wordpress.org/plugins/tags/html-sitemap/)[page list](https://kab.wordpress.org/plugins/tags/page-list/)
   [post list](https://kab.wordpress.org/plugins/tags/post-list/)[shortcode](https://kab.wordpress.org/plugins/tags/shortcode/)
   [sitemap](https://kab.wordpress.org/plugins/tags/sitemap/)
 *  [Advanced View](https://kab.wordpress.org/plugins/wp-sitemap-pages-and-posts/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/reviews/)

## Contributors

 *   [ shuvo66 ](https://profiles.wordpress.org/shuvo66/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-sitemap-pages-and-posts/)