Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
sidebar latest posts freezes at 1 if single
here’s my sidebar, and i want to have a list of latest articles. if i’m on my single page it just shows the article i’m on, but if i go to the list of articles everything is fine (limit 5)
<div class=‘newspost’>
<h2>Latest Posts</h2>
</div>
<txp:article form=“LatestNews” limit=“5” />
<div class=‘newspost’>
<h2>Categories</h2>
</div>
<txp:category_list this_section=“1” />
</div>
Offline
Re: sidebar latest posts freezes at 1 if single
Hi.
Try using txp:article_custom:
Example
<txp:article_custom form="LatestNews" limit="5" section='<txp:section />' />
Offline
Re: sidebar latest posts freezes at 1 if single
maniqui wrote:
Hi.
Try using txp:article_custom:
Example
<txp:article_custom form="LatestNews" limit="5" section='<txp:section />' />
that seems to work, thank you. i dont know if i’ll ever understand the difference between article and custom lol
Offline