Support » Themes and Templates » Templates and Category’s…
9 years, 6 months ago
Iv read quite a bit of the docs on here, and tried many things, however still not getting anywhere.
So here goes
Is there a way to have a page display posts from a certain category only.
$myposts = get_posts('numberposts=5&offset=1&category=12');
foreach($myposts as $post) :
So for example, posts categorised in to #12 would appear only.
Thanks in advanced 🙂 Please help!
Category Templates may point you to an ‘easier’ solution.