Support » Themes and Templates » Pages with category posts

  • I have managed to add a category of post to my pages, using the Customizable Post Listings plugin

    <?php c2c_get_recent_posts(5,”%post_URL%: %post_date%
    %post_excerpt%”,’11’); ?>

    However I would like to only show some posts from a few categories on a few pages e.g.

    News page + the latest news posts in news catagory
    Downloads + latest download posts in download category

    I have added the above to page.php. If someone could help me to finish this functionality it would be great.

    Example
    I need to add if the page ID = (news ID3) then display the
    news posts

    If the page ID = (downloads ID5) then display the download posts

    else display none?

    Any suggestions will be welcome

  • The topic ‘Pages with category posts’ is closed to new replies.