Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-02-13 21:23:11

630126
New Member
From: Czech republic
Registered: 2014-01-21
Posts: 6

How to apply the tag "article_image" to the "recent articles"

Hi all,

question:

How to display an image with tag <txp:recent_articles />, or <txp:related_articles /> ?

Thanks :)

Offline

#2 2014-02-13 21:33:21

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How to apply the tag "article_image" to the "recent articles"

You can use <txp:related_articles /> as a container tag as well, so you could do this:

<txp:related_articles>
   <txp:article_image />
</txp:related_articles>

<txp:recent_articles /> can easily be replaced by <txp:article_custom />.

Offline

#3 2014-02-20 19:36:22

630126
New Member
From: Czech republic
Registered: 2014-01-21
Posts: 6

Re: How to apply the tag "article_image" to the "recent articles"

Ok, so simple, thanks :-)

Offline

Board footer

Powered by FluxBB