I have a main category called "news" and a few sub-categories called "events" and "press".
What I want to do on the "news" category index page is aggregate the last 5 entries for each sub-category.
eg.
Code: Select all
<h1>News category</h1>
<p>Some description about the category</p>
<h2>Last 5 events</h2>
-Event 1 title
--Event 1 teaser
-Event 2 title
--Event 2 teaser
-Event 3 title
--Event 3 teaser
-Event 4 title
--Event 4 teaser
-Event 5 title
--Event 5 teaser
-Event 1 title
--Event 1 teaser
<h2>Last 5 press releases</h2>
-Press 1 title
--Press 1 teaser
-Press 2 title
--Press 2 teaser
-Press 3 title
--Press 3 teaser
-Press 4 title
--Press 4 teaser
-Press 5 title
--Press 5 teaser
The only problem is I have installed the "Start Page Category" plugin and the "Properties / Templates of categories" plugin, which doesn't exactly gel with the code yellowled uses for his Mimbo port.
The "news" category I have is not the Start Page category.
Is there some way I can achieve what I want while keeping the "Start Page Category" and "Properties / Templates of categories" plugins enabled?
Thanks for reading!