Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Mix articles from 2 different sections?
Is there a way (or maybe a plugin?) that allows articles from more than one section to be shown?
I’m thinking of something like this:
<txp:article_custom section="blog, noodlings" limit="6" />
This isn’t occurring on the ‘front page’ so I can’t use my section preferences to mix the specific sections.
Cheers,
Jon VC#9
Offline
Re: Mix articles from 2 different sections?
Jon,
I think it will only work if you use a form and <code><txp:article_custom/></code> more than once.
Something like this:
<code>
<txp:article_custom form=“lofi” section=“blog” limit=“3” />
<txp:article_custom form=“lofi” section=“noodlings” limit=“3” />
</code>
Offline
Re: Mix articles from 2 different sections?
Yeah, so no way of ‘intermingling’ the posts?
Cheers,
Jon VC#9
Offline
Re: Mix articles from 2 different sections?
I don’t think intermingling works out of the box (correct me if I’m wrong forum admins)
However there are many options available with the article_custom so maybe you could manually mingle them a bit i.e. use the tag like 6 times with different selection criteria (date, etc). But maybe I get carried away here…
Offline
Re: Mix articles from 2 different sections?
Hi jonhicks
I think it’s no possible with built-in tags, but you can try with chh_article_custom
From the tag attribute reference of the plug-in
section=“section1,section2”
Restricts the article listing to a comma-separated list of section names. The special wildcard “?” will be replaced with the currently browsed section name, if any.
Hope that helps you.
Offline
Re: Mix articles from 2 different sections?
Thats exactly what I need – thanks manigui!
Cheers,
Jon VC#9
Offline
Pages: 1