WordPress.org

Forums

Using "getRecentPosts" for a particular category (4 posts)

  1. steveeq1
    Member
    Posted 9 years ago #

    Is there a way to get "getRecentPosts" for a particular category? Right now, it seems to get ALL postings, despite what I put in the "blogid".

  2. Joshua Sigar
    Member
    Posted 9 years ago #

    The following tutorial may work as well
    Template Tags/get_posts

  3. Lazurus
    Member
    Posted 9 years ago #

    Create a new page.

    http://www.nosq.com/2004/10/runphp-wordpress-plugin/
    ^--- Install the runphp plugin.

    Set your page to eval the code.

    http://mtdewvirus.com/code/wordpress-plugins/
    ^--- Use the "Recent Posts" plugin.

  4. You could also just create a custom Page template that has the code inside it. A lot better IMO than running the "runphp" plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic