WordPress.org

Ready to get started?Download WordPress

Forums

Differences between WP_Query, get_posts, and Query_posts (4 posts)

  1. AngelEyes
    Member
    Posted 2 years ago #

    Ive been making wordpress themes for close to a year now and truthfully I dont really know the differences between all these different methods for querying posts. I know that Query_posts alters the main loop and is recommended against but I dont really know what the advantages and disadvantages are to wp_query or get_posts.

    Could someone clear this up for me?

  2. AngelEyes
    Member
    Posted 2 years ago #

    nobody knows?

  3. Justin Sainton
    Member
    Posted 2 years ago #

  4. AngelEyes
    Member
    Posted 2 years ago #

    this is great. thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic