Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Two sections same page
I know that by simply choosing to display on the same page, I can have two sections show on my main page HOWEVER – I want to have the blog entries displayed first and then entries from another section displayed below that. I attempted to simply reuse the article listing tag and use the second section but that didn’t seem to work well. Thanks for help!
Offline
Re: Two sections same page
Use the article_custom tag with the section attribute set to your section:
<txp:article_custom section="your_section1,your_section2" />
Offline
Re: Two sections same page
Also add the “sort” attribute to split them the way you want so something like sort="Section asc, Posted desc"
or whatever field you want to use. See here.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Pages: 1