Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Back to basics. txp:article list by category
and if the above code doesn’t work you could also try
<txp:variable name="key-archive" value='<txp:article_custom section="weddings" keywords="archive" break="," limit="999"><txp:article_id /></txp:article_custom>' />
<txp:article>
<txp:if_article_id id='<txp:variable name="key-archive" />' >
<txp:hide>for any articles having the keyword 'archive' show nothing</txp:hide>
<txp:else />
your tags
</txp:if_article_id>
</txp:article>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Back to basics. txp:article list by category
Thanks Yiannis, I had already made some changes (added a new archive and used htaccess for URL redirect).
I may revoke that and try your method, much prefer things to be automatic!
Thank you :)
Offline