Simple HTML Sitemap adds list of all the pages, posts and custom post types to any webpage using a shortcode “html-sitemap”. This is a very simple plugin without any settings page.
The idea behind this is that you add the shortcode to your page, exclude posts you want (if any) and that is it.
Note: Only public custom post types are included.
1. Exclude specific posts
To exclude a post or posts from the list use the "exclude" parameter with a post ID as a value and comma to separate them.
Example: exclude="42, 503"
2. Exclude post types
To exclude post types, use the "exclude_type" parameter with a post ID as a value and comma to separate them.
Example: exclude_type="book, product"
Note: It is not possible to exclude pages.
3. Create Attachment list
Since version 1.03 the plugin has the option to list all attachments. To do so, use the [attachment-sitemap] shortcode.
Note: It is not possible to use the "exclude" attribute with this shortcode.
Please note, that no styling is added to the code apart for style="clear: both;" and the "whs-wrap" class wrapping the list of posts and pages. You can use the class if you wish to style the sitemap specifically.
1. Upload the plugin files to the `/wp-content/plugins/simple-html-sitemap` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Add the "html-sitemap" shortcode to the page where you want to display your sitemap
4. If required, exclude posts by adding the exclude="xyz" parameter and the "xyz" change for your posts ID. To exclude more posts separate them by comma.
= 1.02 (2016-09-12) =
Added the option to exclude post types.
= 1.01 (2016-07-31) =
Class updated to whs-wrap.
= 1.0 (2016-07-31) =
If you have any questions or sugegstions regarding this plugin, please leave them here.