Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2013-01-23 11:07:16
- bashirnoori
- Member
- From: Afghanistan
- Registered: 2012-10-02
- Posts: 84
first article shows "Title,IMG, Intro" other four articles just title
Hello dear all,
You might see in news websites, in a category there will show 5 articles:
1 article with title, image + intro
and other four of them just show titles.
possible with textpattern ?
Offline
Re: first article shows "Title,IMG, Intro" other four articles just title
<txp:article_custom limit="1">
<txp:article_image />
<txp:title />
<txp:excerpt />
</txp:article_custom>
<txp:article_custom offset="1" limit="4">
<yxp:permlink><txp:title /></txp:permlink>
</txp:article_custom>
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: first article shows "Title,IMG, Intro" other four articles just title
Alternative solution:
<txp:article limit="5">
<txp:permlink><txp:title /></txp:permlink>
<txp:if_first_article>
<txp:article_image />
<txp:excerpt />
</txp:if_first_article>
</txp:article>
Offline
Re: first article shows "Title,IMG, Intro" other four articles just title
etc wrote:
Alternative solution:
Better!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline