Generate Professional HTML Sitemap Using Shortcode

A simple yet fully configurable WordPress sitemap plugin that helps you generate SEO-friendly HTML sitemap for posts, pages, Taxonomies, and categories.

More features:

  • With images, excerpt, and date.
  • Horizontal & vertical view.
  • Allows to set the depth, order, and column layout.
  • Easy to implement using a shortcode.

How to use it:

1. To get started, search the name ‘WordPress Simple HTML Sitemap’ on the ‘Add Plugins’ page and the install & activate the plugin.

2. Config the plugin on the ‘Settings’ page.

Generate Professional HTML Sitemap Using Shortcode Page Settings-min

Page Settings

Generate Professional HTML Sitemap Using Shortcode Post Settings-min

Post Settings

3. Insert the shortcode into anywhere on the WordPress. Note: Default values are always used for missing shortcode attributes. i.e. Override only the values you want to change.

[wshs_list post_type="page" name="Page Sitemap" order_by="date"]
[wshs_list post_type="post" name="Post Sitemap" order_by="date"]
[wshs_list post_type="page" name="Page Sitemap" order_by="date" horizontal="true" separator="|"]
[wshs_list post_type="post" name="Post Sitemap" order_by="date" horizontal="true" separator="|"]

4. Possible parameters to config the HTML sitemap.

  • post_type="page" – A list of pages, in the order entered.
  • post_type="post" – A list of posts for each post type specified, in the order entered.
  • name="Post Sitemap" – Display post type title.
  • child_of="" – To specify the parent page by adding parent page ID
  • orderby="title" – Pages and Posts will be ordered by title alphabetically in ascending order
  • depth="2" – Using this option one can control what level of sub-pages should be included in the sitemap.
  • show_image="true" – Optionally show the post or page featured image.
  • image_width="30" image_height="30" – Optionally show the post or page featured image set height and width.
  • content_limit="140" – Optionally show a post excerpt (if defined) under each sitemap item.
  • show_date="true" – Set to “true” to display sitemap items in post created date.
  • date="created" – Display sitemap items in post created date.
  • date_format="F j, Y" – Display sitemap items date format.
  • layout="single-column" – To show the sitemap in Single column or in Two column.
  • position="left" – For Two column layout, you can choose to show sitemap in left or right column.
  • taxonomy="category" – List of post type for each post type specific taxonomy post list.
  • terms="wordpress-plugins" – List of post type for each post type specific taxonomy by terms post list.
  • horizontal="true" – Set to “true” to display sitemap items in a flat horizontal list. Great for adding a sitemap to the footer!
  • separator=" |" – The character(s) used to separate sitemap items. Use with the ‘horizontal’ attribute.
  • exclude="100,122,155" – Comma separated list of post IDs to exclude from the sitemap.

Previews:

Generate Professional HTML Sitemap Using Shortcode With Image, Excerpt And Date-min

With Image, Excerpt And Date

Generate Professional HTML Sitemap Using Shortcode Vertical View-min

Vertical View

Generate Professional HTML Sitemap Using Shortcode Horizontal View-min

Horizontal View

Generate Professional HTML Sitemap Using Shortcode Two Columns-min

Two Columns

Download WordPress Plugin:

You can download this free WordPress plugin using the download button below. Unless otherwise stated, the WordPress plugin is available under GNU General Public License.

Author: Ashish Ajani

Homepage: https://wordpress.org/plugins/wp-simple-html-sitemap/

Don’t forget to share this WordPress plugin and also check out other awesome plugins on our site.

Rate This Plugin
Sending
User Review
0 (0 votes)
Tags:

Leave a Reply