Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-08 20:40:11

theLostShirt
Member
From: Hjo, Sweden
Registered: 2006-02-10
Posts: 36
Website

Link to next/pre article using article thumbnail

How do I:
Link to next and previous article using the articles image as link?
<txp:link_to_prev><txp:article_image></txp:link_to_prev>
Is what I tried but as you guess it will only display the image for the current article.

Offline

#2 2007-02-09 15:33:59

theLostShirt
Member
From: Hjo, Sweden
Registered: 2006-02-10
Posts: 36
Website

Re: Link to next/pre article using article thumbnail

Should I drop the case?
Is this impossible, or do you not understand my question?

Offline

#3 2007-02-09 16:07:02

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,260
Website GitHub Mastodon Twitter

Re: Link to next/pre article using article thumbnail

artcle image works in an article to article basis You could have for example, <txp:permlink><txp:article_image /></txp:permlink> but I’m not sure if it can recognise the next/previous tags


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2007-02-10 20:33:08

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Link to next/pre article using article thumbnail

I’m not sure if it can recognise the next/previous tags…

Nope, it can’t (not in the sense required here).

Plugin could do it, but I don’t know if one already exists.

Offline

#5 2007-02-10 22:58:00

theLostShirt
Member
From: Hjo, Sweden
Registered: 2006-02-10
Posts: 36
Website

Re: Link to next/pre article using article thumbnail

Thanks for the information, I will pursue another way then.

Offline

#6 2013-03-20 14:06:04

etc
Developer
Registered: 2010-11-11
Posts: 5,471
Website GitHub

Re: Link to next/pre article using article thumbnail

Mary wrote:

Plugin could do it, but I don’t know if one already exists.

Six years later, at least one such plugin exists, see the second example here. Too late, but if this can make less people (like the thread author) pass to WP…

Edit: I guess smd_horizon is another one.

Last edited by etc (2013-03-20 16:31:21)

Offline

Board footer

Powered by FluxBB