• Hi,

    I have created a custom template page (eventually got there) with some header text.

    I want to then display posts from a specific category to display under the header text.

    Max 10 posts, with the usual date, author, heading, and I only need it to be a preview.

    Numbers at the page to view other posts in past.

    Does this make sense? I really do appreciate help – I’m not a coder you see 🙂

    Thank you

    p.s. here is the link to the page:

    http://www.play4bingo.co.uk/test-page/

    It does display my post, but when you click the link it redirects to 404.php

Viewing 1 replies (of 1 total)
  • You will want to build a custom Query using WP_Query. Then you’ll need to output the Loop to show the Posts. If you only want Post summaries, be sure to use the_excerpt() rather than the_content().

Viewing 1 replies (of 1 total)
  • The topic ‘PHP code needed to display specific category posts’ is closed to new replies.