Created
December 5, 2012 19:18
-
-
Save whaleen/4218655 to your computer and use it in GitHub Desktop.
Textpattern Navigation List in a Well
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3>Navigation List</h3> | |
<p>Built to support textpattern sections and categories.</p> | |
<div class="well" style="padding: 8px 0;"> | |
<ul class="nav nav-list"> | |
<li class="nav-header">Sections</li> | |
<li<txp:if_section name='default'> class="active"</txp:if_section>><a href="<txp:site_url />">Home</a></li> | |
<txp:section_list wraptag="" break=""> | |
<li<txp:if_section name='<txp:section />'> class="active"</txp:if_section>> | |
<txp:section title="1" link="1" /></li> | |
</txp:section_list> | |
<li class="nav-header">Categories</li> | |
<txp:category_list wraptag="" break=""> | |
<li<txp:if_category name='<txp:category />'> class="active"</txp:if_category>> | |
<txp:category title="1" link="1" /> | |
</li> | |
</txp:category_list> | |
</ul> | |
</div><!-- .well --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment