This plugin adds shortcode that will list hierarchical site map or list of particular type of post such as page, post or custom post types with clickable links to view each listed entry.
Note, do not include greater than less than characters, only the alphanumeric characters e.g p, h1, h2, h3 etc. heading class defaults to 'rc sitemap heading CSS Class added to the heading element. child of defaults to empty.
Comma-separated list of post IDs to include. wrapper defaults to 'ul Wrapping element of the list.
Note, do not include greater than less than characters, only the alphanumeric characters e.g ul, p etc. wrapper class defaults to CSS Class added to the element of the list...
This plugin adds shortcode that will list site map or list of particular type of post such as page, post or custom post types.
It's possible to change the element via the wrapper attribute of the shortcode, however, the listed items are always wrapped in elements so you should really change the wrapper to use either to create list or set it to empty value to render no wrapping element.
The optional heading text attribute can be used to provide heading for the list using either the default h2 tag or element using the accompanying heading tag attribute ( e.g heading text=.
The plugin doesn't provide any default CSS styling but adds these default classes to the HTML output, so you can either add styles using the rc sitemap list and rc sitemap heading classes or add your own using the attributes outlined above..
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Added 'heading class attribute to shortcode to enable custom class to be added to the list heading..
Read more