KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
There seem to be three main ways to output content from Wordpress using its built-in functions, with WP_Query being the recommended one: WP_Query query_posts get_posts What are the differences between them? (I understand that WP_Query is the class, and the other two are methods). What is the cleanest way to have multiple loops on the same page, without any of them interfering with each other? I'm looking for examples of how you program your WP loops; e.g. output 2 separate post lists by category, with attachments, meta data etc. This is the best reference I found so far: Define Your Own WordPress Loop Using WP_Query
Tags (comma-separated)
Save Edits
Cancel