Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2015-04-12 22:03:45
- code365
- Member
- From: California
- Registered: 2009-08-16
- Posts: 118
Category list
Hi,
I am trying to build a category list. Anyone have any suggest? Thank you for your experts.
- Conversation Sets
- Item A1
- Item A2
- Item A3
- Patio-dining-sets
- Item B1
- Item B2
- Item B3
Last edited by code365 (2015-04-12 22:07:10)
Offline
Re: Category list
The code below should work if what you are looking for are linked categories and their linked articles
<ul id="menu">
<txp:category_list break="li">
<txp:category title="1" link="1" />
<txp:article_custom category='<txp:category />' break="li" wraptag="ul" limit="999">
<txp:permlink><txp:title /></txp:permlink>
</txp:article_custom>
</txp:category_list>
</ul>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2015-04-14 03:41:57
- code365
- Member
- From: California
- Registered: 2009-08-16
- Posts: 118
Re: Category list
Colak,
Thank you, you are the best. Work perfectly.
Offline
Pages: 1