Textpattern Forum

You are not logged in. Register | Login | Help

#1 2012-06-13 13:48:38

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 393

txp:older and txp:newer

I’m trying to get the following code to work:

<txp:if_category name="senior-school-sports">
<txp:article_custom limit="30" category='<txp:title />' form="sports_articles" />
<txp:newer>Newer</txp:newer> | <txp:older>Older</txp:older>
</txp:category>

Unfortunately links to older and newer articles are not being displayed. I noticed that txp:older and txp:newer won’t work with Article Custom. Does anyone have any suggestions for a work around?

Offline

#2 2012-06-13 15:39:37

etc
Plugin Author
Registered: 2010-11-11
Posts: 1,151
Website

Re: txp:older and txp:newer

AFAIK, <txp:newer /> and <txp:older /> currently only work with <txp:article />. If you have to use <txp:article_custom />, this post and this tip may help (with few modifications).

Offline

#3 2012-06-18 07:25:33

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 393

Re: txp:older and txp:newer

Thank you very much for your help. I’ve been so busy I haven’t had chance to give the links a good look over yet but there is a lot of good information contained within them.

Offline

Board footer

Powered by FluxBB