Title: Hierarchical HTML Sitemap
Author: Alexis Vovk
Published: <strong>December 28, 2014</strong>
Last modified: August 30, 2026

---

Search plugins

![](https://ps.w.org/hierarchical-html-sitemap/assets/banner-772x250.png?rev=1055734)

![](https://ps.w.org/hierarchical-html-sitemap/assets/icon-128x128.png?rev=1066832)

# Hierarchical HTML Sitemap

 By [Alexis Vovk](https://profiles.wordpress.org/egolacrima/)

[Download](https://downloads.wordpress.org/plugin/hierarchical-html-sitemap.1.4.0.zip)

 * [Details](https://frp.wordpress.org/plugins/hierarchical-html-sitemap/#description)
 * [Reviews](https://frp.wordpress.org/plugins/hierarchical-html-sitemap/#reviews)
 *  [Installation](https://frp.wordpress.org/plugins/hierarchical-html-sitemap/#installation)
 * [Development](https://frp.wordpress.org/plugins/hierarchical-html-sitemap/#developers)

 [Support](https://wordpress.org/support/plugin/hierarchical-html-sitemap/)

## Description

Hierarchical HTML Sitemap offers visitors an easy and intuitive way to navigate 
your blog.

This plugin generates an HTML sitemap of your WordPress blog. It displays a list
of posts grouped by hierarchically sorted categories. By using a shortcode, you 
can display it on a page or anywhere else that supports shortcodes, such as a widget.

The output does not include CSS or JavaScript files. It is pure HTML, ready to inherit
or receive your theme’s styles.

#### Features

 * Short and easy shortcode: `[htmlmap]`.
 * Categories sorted hierarchically.
 * Displays posts and/or pages.
 * Can exclude specified posts, pages, or categories.
 * Displays category navigation above the posts list.
 * Displays post publication dates.
 * Clean HTML without scripts.
 * Does not enqueue unnecessary JavaScript or CSS files.
 * No ads or author links in the output.

#### Usage and options

The `[htmlmap]` shortcode accepts these optional attributes:

 * `exclude`: post or page IDs to omit, for example `[htmlmap exclude="445,446"]`.
 * `exclude_cat`: category IDs to omit, for example `[htmlmap exclude_cat="1,34"]`.
 * `showpages`: display the list of pages, for example `[htmlmap showpages]`.
 * `hidecloud`: hide category navigation, for example `[htmlmap hidecloud]`.
 * `showdescription`: display category descriptions, for example `[htmlmap showdescription]`.
 * `hidedate`: hide post publication dates, for example `[htmlmap hidedate]`.
 * `hidecount`: hide post counts in category headings, for example `[htmlmap hidecount]`.

You can combine attributes, for example:

    ```
    [htmlmap exclude="3546,7398" exclude_cat="1,34" showpages hidecloud]
    ```

#### HTML structure and CSS classes

The shortcode preserves existing category heading IDs (`cat_<term-id>`), the
 category
navigation class (`cat`), and the empty-category class (`null`).

Additional classes are available for theme customisation:

 * `htmlmap-post-list`: each category’s post list.
 * `htmlmap-post`: each post list item.
 * `htmlmap-children`: the list item containing child categories.
 * `htmlmap-empty-category`: added alongside the legacy `null` class.
 * `htmlmap-category-description`: a displayed category description.
 * `htmlmap-page-list`: the optional pages list.
 * `htmlmap-page`: each page list item.

Child categories are rendered after their parent category’s posts inside a
 dedicated
list item, rather than inside the final post item.

#### Extra

 * [GitHub repository](https://github.com/avovkdesign/hierarchical-html-sitemap)
   for issues and contributions.

## Screenshots

[⌊Example of a sitemap.⌉⌊Example of a sitemap.⌉[

Example of a sitemap.

## Installation

#### Automatic installation

 1. Log in to your WordPress admin interface.
 2. Go to **Plugins  Add New**.
 3. Search for **Hierarchical HTML Sitemap**.
 4. Select **Install Now**, then activate the plugin.

#### Manual installation

 1. [Download the plugin ZIP](https://downloads.wordpress.org/plugin/hierarchical-html-sitemap.zip)
    and unzip it.
 2. Upload the `hierarchical-sitemap` folder to `/wp-content/plugins/`.
 3. In WordPress admin, go to **Plugins  Installed Plugins**.
 4. Activate **Hierarchical HTML Sitemap**.

#### Usage

#### Classic Editor

 1. Create or edit a page named, for example, “Sitemap”.
 2. Add `[htmlmap]` to the page content.
 3. Publish or update the page, then view it to see your sitemap.

#### Block Editor

 1. Create or edit a page named, for example, “Sitemap”.
 2. Add a **Shortcode** block.
 3. Enter `[htmlmap]` in the block.
 4. Publish or update the page, then view it to see your sitemap.

## Reviews

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

### 󠀁[Спасибо, что обновили плагин под WordPress 7.1](https://wordpress.org/support/topic/%d1%81%d0%bf%d0%b0%d1%81%d0%b8%d0%b1%d0%be-%d1%87%d1%82%d0%be-%d0%be%d0%b1%d0%bd%d0%be%d0%b2%d0%b8%d0%bb%d0%b8-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-%d0%bf%d0%be%d0%b4-wordpress-7-1/)󠁿

 [Bahus](https://profiles.wordpress.org/bahus/) August 31, 2026 1 reply

Еще бы получить возможность кастомизации заголовков. А то h2 для основных категорий–
слишком много.

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

### 󠀁[Bravo !](https://wordpress.org/support/topic/bravo-107/)󠁿

 [Denim301](https://profiles.wordpress.org/nemausus/) May 7, 2019

Très bien (dommage par ordre alphabétique impossible) mais sinon, un des meilleurs

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

### 󠀁[Отличная карта сайта](https://wordpress.org/support/topic/%d0%be%d1%82%d0%bb%d0%b8%d1%87%d0%bd%d0%b0%d1%8f-%d0%ba%d0%b0%d1%80%d1%82%d0%b0-%d1%81%d0%b0%d0%b9%d1%82%d0%b0/)󠁿

 [Анатолий](https://profiles.wordpress.org/dolphine1985/) December 8, 2018

Отличная карта сайта и очень простая в использовании

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

### 󠀁[FANTASTIC!](https://wordpress.org/support/topic/fantastic-1275/)󠁿

 [Francis Parker Yockey](https://profiles.wordpress.org/vikingstrength/) January
12, 2017

This sitemap KICKS ASS and looks fantastic!

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

### 󠀁[Self explantion in use – good code output](https://wordpress.org/support/topic/self-explantion-in-use-good-code-output/)󠁿

 [IngoPagels](https://profiles.wordpress.org/ingopagels/) September 3, 2016

It tested WP Sitemap Page, WP SEO HTML Sitemap Plugin and HTML Page Sitemap. Hierachical
html Sitemap is the best to youse of all of em. You can customize the output and
it works. I tryed that in "HTML Page Sitemap" to but faild cause the output was 
limited to "pages" only. Code is clean ul-li with h2, nice anchor links to get "
up" again. Easy to use and even a none programmer can customize the output. Works
with Wp 4.4

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

### 󠀁[Thanks for this great plugin](https://wordpress.org/support/topic/thanks-for-this-great-plugin-11/)󠁿

 [WPRonin](https://profiles.wordpress.org/wpronin/) September 3, 2016

I'm not someone who leaves a comment here, but this plugin deserves that. I have
not found a single HTML sitemap plugin that has the option to exclude category –
this has that option. Thanks again!

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/hierarchical-html-sitemap/reviews/)

## Contributors & Developers

“Hierarchical HTML Sitemap” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Alexis Vovk ](https://profiles.wordpress.org/egolacrima/)
 *   [ Alexis Vovk ](https://profiles.wordpress.org/avovk/)
 *   [ WP Puzzle ](https://profiles.wordpress.org/wppuzzle/)

“Hierarchical HTML Sitemap” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/hierarchical-html-sitemap/contributors)
for their contributions.

[Translate “Hierarchical HTML Sitemap” into your language.](https://translate.wordpress.org/projects/wp-plugins/hierarchical-html-sitemap)

### Interested in development?

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

## Changelog

#### 1.4.0

 * feat: add CSS classes for post, child-category, and page list elements.
 * feat: add the `hierarchicalsitemap_shortcode_html` filter for the complete shortcode
   output.
 * fix: sanitize shortcode ID lists and escape generated titles, descriptions, and
   URLs.
 * fix: correct invalid nested list markup when rendering child categories.
 * fix: handle empty shortcode attributes and empty category results safely.
 * chore: test plugin syntax with PHP 8.3.
 * chore: test plugin integration against WordPress 7.1.
 * chore: update documentation and metadata.

#### 1.3

 * chore: test up to WordPress 4.6.9.
 * feature: add the `hidecount` option that disables post counts in category names.
 * feature: add filter hooks:
    - `hierarchicalsitemap_category_title_html`
    - `hierarchicalsitemap_posts_list_html`
    - `hierarchicalsitemap_pages_list_html`

#### 1.2

 * chore: test up to WordPress 4.7.

#### 1.1

 * fix: display empty categories that have non-empty child categories.
 * feature: add `showdescription`, which displays category descriptions.
 * feature: add `hidedate`, which hides post publication dates.

#### 1.0

 * feature: initial release.

## Meta

 *  Version **1.4.0**
 *  Last updated **1 month ago**
 *  Active installations **4,000+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/hierarchical-html-sitemap/) and 
   [Russian](https://ru.wordpress.org/plugins/hierarchical-html-sitemap/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/hierarchical-html-sitemap)
 * Tags
 * [html sitemap](https://frp.wordpress.org/plugins/tags/html-sitemap/)[posts](https://frp.wordpress.org/plugins/tags/posts/)
   [seo](https://frp.wordpress.org/plugins/tags/seo/)[sitemap](https://frp.wordpress.org/plugins/tags/sitemap/)
 *  [Advanced View](https://frp.wordpress.org/plugins/hierarchical-html-sitemap/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/hierarchical-html-sitemap/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/hierarchical-html-sitemap/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hierarchical-html-sitemap/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/hierarchical-html-sitemap/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/hierarchical-html-sitemap/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hierarchical-html-sitemap/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/hierarchical-html-sitemap/reviews/)

## Contributors

 *   [ Alexis Vovk ](https://profiles.wordpress.org/egolacrima/)
 *   [ Alexis Vovk ](https://profiles.wordpress.org/avovk/)
 *   [ WP Puzzle ](https://profiles.wordpress.org/wppuzzle/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/hierarchical-html-sitemap/)