WordPress.org

Ready to get started?Download WordPress

Forums

Get recent post from a category (2 posts)

  1. kabatak
    Member
    Posted 6 years ago #

    Hello, does anybody what kind of SQL statment do I need so that I can show the latest post from a given category?

    Thanks!

  2. Kafkaesqui

    Posted 6 years ago #

    See:

    http://codex.wordpress.org/Template_Tags/get_posts

    (Check the info on the 'category' parameter.)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.