Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How to Not Display Articles Output by Category on the Front Page?
I am using if_category to output articles by selected category. However, I do not want the list of articles to be displayed on the front page. I want them to be in their section.
How can I have the articles displayed in their section with the page template assigned to that section.
<txp:category_list label="Categories" labeltag="h2" wraptag="ul" break="li" class="category-list" />
<txp:if_category name="black">
<txp:article_custom limit="9999" form="default" category="black" section="moulding" />
</txp:if_category>
<txp:if_category name="silver">
<txp:article_custom limit="9999" form="default" category="silver" section="moulding" />
</txp:if_category>
<txp:if_individual_article>
<txp:article_custom section="moulding" form="f_catalog_item" />
</txp:if_individual_article>
Art Rogue – Fine Art Photography
Offline
Re: How to Not Display Articles Output by Category on the Front Page?
I solved the problem by assigning a section=“moulding” to my category_list tag.
<txp:category_list label="Categories" labeltag="h2" section="moulding" wraptag="ul" break="li" class="category-list" />
Art Rogue – Fine Art Photography
Offline