Tags
Main Navigation
{exp:structure:nav_main}
The nav_main tag outputs all of your top level pages into an <ul>. The tag will automatically add class="here" to the current page’s <li> and class="last" to the last <li>. It will also automatically add id="nav" to the list. Automatically excludes entries marked with the "closed" status.
Add Span
add_span="yes"
Adds a span tag around the navigation element.
Add Unique ID
add_unique_id="yes"
CSS Class
css_class="nav-main"
Customize the ul class attribute
CSS ID
css_id="navigation", defaults to “nav”
Customize the ul id attribute
Current Class / Here State
current_class="active", defaults to “here”
Change the markup associated with the current page element
Exclude Status (Depracted, use the status parameter)
exclude_status="hidden|no_main_nav"
The parameter "exclude_status=" can be used to hide any single or multiple user defined statuses using the pipe character.
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.
Include Entries
include="12|98"
The parameter "include=" can be used to add any single or multiple user defined entry numbers using the pipe character.
Include Status (Depracted, use the status parameter)
include_status="Special"
The parameter "include_status=" can be used to add any single or multiple user defined statuses using the pipe character.
Include ul
include_ul="no", defaults to wrapping
Remove the wrapping ul if desired
Separator
separator="-", defaults to EE Global Weblog Setting
Change the default separator used in classes and IDs from something different than the your EE preference setting.
Status
status="Radical|Whatever|not Bogus", defaults to Open
Add or restrict pages by status, using normal EE syntax.
