Issue
The Wordpress codex says that:
query_posts()
is only one way amongst many to query the database and generate a list of posts. Before deciding to use query_posts(), be sure to understand the drawbacks.
but it does not list what those alternatives to query_posts()
are. Should I be using something else?
Solution
Take a look at this page. It lists a few alternatives to query_posts
. WP_Query()
may be what you're looking for.
Answered By - rocky Answer Checked By - David Marino (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.