Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How can I tell if txp:older AND txp:newer would be empty?
I want to add a heading of “More Articles” before my txp:older and txp:newer links but I don’t want it to show up if neither link will be displayed. I couldn’t find a txp:no_newer_or_older_links_are_going_to_be_listed tag!
Offline
Re: How can I tell if txp:older AND txp:newer would be empty?
That’s because there isn’t one. I’m not sure you can do exatly what you want yet. You could put the text between one or both tags but…
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2005-12-01 02:56:21
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: How can I tell if txp:older AND txp:newer would be empty?
He wants if_older and if_newer tags. You could check to see if someone has made a plugin to do this. Check the resources site (link at the top of the page) for one. If you can’t find one, come back to this thread and let me know. I’ll make one. :)
Offline