Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
customising link_to_prev
I need to add my own class to the anchor tag that is generated by <txp:link_to_prev>. I see that <txp:prev_title /> gives me the title of the previous article, but how do I get the address of it, to manufacture my own anchor?
robin
Offline
Re: customising link_to_prev
OK, well I hacked myself a solution starting with the jk_neighbour plugin provided here. While I was at it I fixed the bug that had the sortby argument defaulting to “title”. For compatibility it should be “posted”.
robin
Offline
Pages: 1