=== HTML Page Sitemap === Contributors: amandato, pluginspodcast Donate link: http://www.pluginspodcast.com/contact/ Tags: sitemap, page, pages, shortcode, cms, static, short code, map, pagemap, site, html, html sitemap, nav, navigation Requires at least: 2.7.0 Tested up to: 4.3 Stable tag: 1.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Adds an HTML (Not XML) sitemap of your pages (not posts) by entering the shortcode [html_sitemap], perfect for those who use WordPress as a CMS. == Description == This simple plugin adds an HTML (Not XML) sitemap of your pages (not posts) by entering the shortcode [html_sitemap] in the page content. This simple plugin is configured with the `[html_sitemap]` shortcode. This plugin can display a sitemap with specific depths, from a specific parent page and include/exclude specific children. Shortcode attributes include `sort_column`, `sort_order`, `exclude`, `include`, `depth`, `child_of`, `meta_key`, `meta_value`, `authors`, `number`, `offset`, `post_type`, `post_status`, `class` and `id`. You can essentially configure everything the [`wp_list_pages`](https://codex.wordpress.org/Function_Reference/wp_list_pages) function accepts. The `child_of` attribute value can be a numeric page ID (integer), or use the custom value CURRENT or PARENT. The value "CURRENT" will use the current page's ID. The value "PARENT" will uses the curent page's parent ID. This plugin is perfect for those who use WordPress as a CMS. Note: This plugin only works with Hierarchical Custom Post Types. This plugin will not work if your post type is not heirarchical. = Examples = First example shows how to add a sitemap for the entire site. `[html_sitemap]` Example shortcode will add a sitemap to a page displaying a depth limit of 3 and exclude page ID 708. `[html_sitemap depth=3 exclude=708]` Example shortcode will add a sitemap to a page displaying only children and grandchildren of the current page. `[html_sitemap depth=2 child_of=CURRENT]` Example shortcode will add a sitemap to a page displaying children and grandchildren of the parent page (would include the curent page as well). `[html_sitemap depth=2 child_of=PARENT]` Example shortcode will add a sitemap displaying the page modified date with the pages sorted by the menu order number. `[html_sitemap show_date=modified sort_column=menu_order]` Example shortcode excluding multiple pages with ids 708, 1024 and 42. `[html_sitemap class="your-custom-class"]` Example shortcode will add a class attribute to the `