Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
"id" attribute for "if_individual_article"
Hello,
if_section
has name
attribute to target a section
if_category
has name
attribute to target a category
if_author
has name
attribute to target a author
and
if_individual_article
didn’t attribute to target a article.
Why not an id
attribute ?
Offline
Re: "id" attribute for "if_individual_article"
There’s “ if_article_id
. But I agree the current system is inconsistent. I think this is probably for historical reasons — IIRC, if_individual_article
and if_article_list
predate the other conditional tags you list.
Code is topiary
Offline
Re: "id" attribute for "if_individual_article"
Curious – is it in the plans to correct these types of consistencies as we move to Txp5?
Offline
Re: "id" attribute for "if_individual_article"
Vote +1. Well, I wasn’t aware of this inconsistency but sacripant has a point. Congratulations :)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline