Timeline for How do I get blog posts to appear within CMS?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 21, 2012 at 13:24 | vote | accept | Head of Catering | ||
Nov 19, 2012 at 4:43 | comment | added | Head of Catering | @Milo, something is definitely amiss, which is what caused the behavior I was trying to untangle in my question. I think whoever modified the theme for our site botched something, but I haven't figured out what yet. | |
Nov 19, 2012 at 3:47 | comment | added | Milo |
If you select the blog page as the page for posts under settings, you shouldn't have to then call query_posts to display the blog posts, you should just be able to run the loop on the default query and it will output the number of posts configured in your reading settings. If adding the call to query_posts is necessary, something is amiss elsewhere in your theme. It's important to note that the use of query_posts in the template overwrites the default query, so what you're doing here is running two queries for each page load, which is a waste of resources.
|
|
Nov 19, 2012 at 2:26 | history | answered | Head of Catering | CC BY-SA 3.0 |