How to Add an HTML Sitemap to WordPress Themes?

Is it accurate to say that you may need to add a HTML sitemap on your WordPress theme? Not at all like XML sitemaps that you submit to web crawlers are for better slithering, HTML sitemaps demonstrate a composed rundown of your webpages for the customers. Furhter the specialists of 8Theme will demonstrate to you generally accepted methods to include a HTML sitemap page in WordPress.


Differences between XML and HTML sitemaps added to WordPress sites

A XML sitemap is composed or produced in XML markup dialect favored via web search tools. You can present your website’s XML sitemap to website admin instruments to enhance and control your webpage’s creeping rate via internet searchers.

2

A HTML sitemap then again should be outfitted towards your genuine site guests. It is composed or created in plain HTML, and it more often than not records every one of the pages/posts that are accessible on your WordPress theme.

How to include HTML sitemap to WP pages and posts?

To begin with thing you have to do is introduce and enact the Hierarchical HTML Sitemap plugin. The plugin works out of the case and there is no settings page for it.  Basically make another page where you need to show your sitemap. Next, include this basic shortcode inside the substance territory.

[htmlmap showpages]

This is the manner by which the plugin will demonstrate your sitemap included into a WordPress theme. At top it will demonstrate your categories with the quantity of posts in every category taking after by a rundown of your posts and afterward at long last your pages.

Despite the fact that the plugin does not have a settings page added in WordPress theme, the shortcode itself accompanies various parameters. This permits you to setup your HTML sitemap in at any rate you need.


Making HTML Sitemap only for pages

Numerous site proprietors use WordPress as a CMS with their principle substance served as pages (See our aide on the contrast in the middle of posts and pages).

For this situation, you would need to your HTML Sitemap to show pages in the best possible progressive request. Here is the means by which you can include HTML Sitemap with just pages.

3

In the first place thing you have to introduce and initiate the WP Sitemap Page plugin that can be added into WordPress theme. Upon initiation, basically add this shortcode to the page where you need to show your HTML sitemap:

wp_sitemap_page only=”page” display_title=”false”

This is the manner by which it will show your HTML sitemap on all WordPress webpages recorded in a various leveled rundown.  WP Sitemap Page accompanies a great deal of choices and you can arrange them by going to Settings — WP Sitemap Page in the WordPress admin panel.