Tags
Sitemap
{exp:structure:sitemap}
Returns a full tree of all Structure pages with nested <ul>s. Automatically excludes entries marked with the "closed" status.
CSS Class
css_class="sitemap_tree"
Assigns a class to the <ul>.
CSS ID
css_id="sitemap_tree", defaults to sitemap
Assigns an ID to the <ul>. You can add "none" to optionally display no ID.
Exclude Entries
exclude="26|76"
The parameter "exclude=" can be used to hide any single or multiple user defined entry numbers using the pipe character.
Exclude Status
exclude_status="closed|hidden", defaults to closed
The parameter "exclude_status=" can be used to hide any single or multiple user defined statuses using the pipe character. If a page is excluded all of it's children will be removed from being displayed as well.
Mode
mode="html|xml|text", defaults to html
Outputs all of your site pages in different formats. html = a nested <ul> list of linked pages. xml = xml SEO ready sitemap. text = URLs of all your pages.
