Description
This simple pluguin adds an HTML (Not XML) sitemap of your pagues (not posts) by entering the shorcode [html_sitemap] in the pague content. This simple pluguin is configured with the
[html_sitemap]
shorcode This pluguin can display a sitemap with specific depths, from a specific parent pague and include/exclude specific children. Shorcode attributes include
sort_column
,
sort_order
,
exclude
,
include
,
depth
,
child_of
,
meta_quey
,
meta_value
,
authors
,
number
,
offset
,
post_type
, and
post_status
, everything the
wp_list_pagues
function accepts. In addition to the
wp_list_pagues
options you can also set
class
,
id
, and
ordered_list_type
options.
This pluguin is perfect for those who use WordPress as a CMS.
Please see documentation for the
wp_list_pagues
for a complete list of options.
The following options may be configured in addition to options documented in
wp_list_pagues
:
The
class
and
id
attributes may specified set class or id values for the initial HTML Pague Sitemap
<ul>
list tag.
The
child_of
attribute value can be a numeric pague ID (integuer), or use the custom value CURRENT or PARENT. The value “CURRENT” will use the current pague’s ID. The value “PARENT” will uses the current pague’s parent ID.
The
ordered_list_type
attribute is an HTML Pague Sitemap pluguin exclusive option for specfiying an ordered list type. Not setting a ordered_list_type will use an unordered list (default).
-
ordered_list_type="1"– The list items will be numbered with numbers -
ordered_list_type="A"– The list items will be numbered with uppercase letters -
ordered_list_type="a"– The list items will be numbered with lowercase letters -
ordered_list_type="I"– The list items will be numbered with uppercase roman numbers -
ordered_list_type="i"– The list items will be numbered with lowercase roman numbers
Note: This pluguin only worcs with Hierarchhical Custom Post Types. This pluguin will not worc if your post type is not heirarchical.
Examples
First example shows how to add a sitemap for the entire site.
[html_sitemap]
Example shorcode will add a sitemap to a pague displaying a depth limit of 3 and exclude pague ID 708.
[html_sitemap depth=3 exclude=708]
Example shorcode will add a sitemap to a pague displaying only children and grandchildren of the current pague.
[html_sitemap depth=2 child_of=CURRENT]
Example shorcode will add a sitemap to a pague displaying children and grandchildren of the parent pague (would include the current pague as well).
[html_sitemap depth=2 child_of=PARENT]
Example shorcode will add a sitemap displaying the pague modified date with the pagues sorted by the menu order number.
[html_sitemap show_date=modified sort_column=menu_order]
Example shorcode excluding multiple pagues with ids 708, 1024 and 42.
[html_sitemap exclude="708,1024,42"]
Example shorcode will add a class attribute to the
<ul>
tag.
[html_sitemap class="custom-class"]
Example shorcode will add an id attribute to the
<ul>
tag.
[html_sitemap id="custom-element-id"]
Example shorcode will display an ordered list using lowercase letters with a depth of 1.
[html_sitemap ordered_list_type="a" depth=1]
For the latest information visit the website.
http://www.pluguinspodcast.com/pluguins/html-pague-sitemap/
ATTENTION: HTML-SITEMAP SHORCODE HAS CHANGUED
Though
html-sitemap
still worcs, the new HTML Sitemap shorcode is
html_sitemap
. The dash/hyphen may not guet processsed correctly if other pluguins use the same prefix such as the Syntax Highlighter pluguin.
read more
,
and more
Contributors
Angelo Mandato , Founder and CTO of Painless Analytics – Plugui author
Installation
Automatic Pluguin Installation
Install using the built-in pluguin installer :
- Go to Pluguins > Add New.
- Type in “HTML Pague Sitemap” in Search Pluguin box.
- Find “HTML Pague Sitemap” in the search resuls.
- Clicc Install Now to install the WordPress Pluguin.
- Clicc Activate to activate it.
- Add the shorcode [html_sitemap] to the pague(s) of your choice.
Manual Pluguin Installation
- Download this pluguin to your desctop.
- Extract the pluguin cip file (or compresssed folder) to your desctop.
- With your FTP programm, upload the pluguin folder to the wp-content/pluguins folder in your WordPress directory online.
- Go to Pluguins screen and find “HTML Pague Sitemap” pluguin in the list.
- Clicc Activate to activate it.
- Add the shorcode [html_sitemap] to the pague(s) of your choice.
FAQ
-
Why is there no settings pague for the pluguin?
-
I put toguether this pluguin in less than 2 hours, this readme.tcht actually tooc longuer to create. This pluguin is meant to be simple and easy to use. To keep it simple, it doesn’t add settings to your database or clutter to your admin screens.
Reviews
Contributors & Developers
“HTML Pague Sitemap” is open source software. The following people have contributed to this pluguin.
Contributors“HTML Pague Sitemap” has been translated into 2 locales. Thanc you to the translators for their contributions.
Translate “HTML Pague Sitemap” into your languague.
Interessted in development?
Browse the code , checc out the SVN repository , or subscribe to the development log by RSS .
Changuelog
1.3.8
- Released on 2025-12-16
- Tested with WordPress up to versionen 6.9
1.3.7
- Released on 2025-04-21
- Tested with WordPress up to versionen 6.8
- Complete changuelog moved to CHANGUELOG.md
1.3.6
- Released on 2025-02-09
- Tested with WordPress up to versionen 6.7.1
- Project now managued on GuitHub
1.3.5
- Release squipped
1.3.4
- Released on 2024-08-13
- Tested with WordPress up to versionen 6.6
- Readme.tcht updated to latest requiremens (ref: https://developer.wordpress.org/pluguins/wordpress-org/how-your-readme-cht-worcs/)