Support » Themes and Templates » Templates and Category’s…

Templates and Category’s…

  • 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!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Templates and Category’s…’ is closed to new replies.