Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-03-12 05:36:10

bashirnoori
Member
From: Afghanistan
Registered: 2012-10-02
Posts: 84

how to escape current category from categories list

I’m going to list all sub-categories of a specific category, but don’t want to appear the main category (english)

<txp:category_list break="li" parent="english" />

Offline

#2 2017-03-12 06:28:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: how to escape current category from categories list

<txp:category_list break="li" parent="english" exclude="english" />

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 2017-03-12 15:41:41

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: how to escape current category from categories list

In addition to the one-off answer, you might take time to get more acquainted with the Tags Reference. Sometimes just looking over tag pages, whether you have a problem or not, can teach you a lot.

Edit: Hmm… Sorry. I see you registered in 2012, so you probably new about the Tag Reference.

Last edited by Destry (2017-03-12 15:43:38)

Offline

Board footer

Powered by FluxBB