Display Posts within a Page using The Loop
I’m using WordPress Pages as a CMS. Pages are being used for content and Posts for “news items”.
I’ve set up a special Page template for the front page that displays some content, and underneath this I’m trying to show a summary of the news items by calling The Loop in the home page template.
However, when I call The Loop to list news Posts, it only returns the current Page. Is there some way I can get The Loop to run in a Post context? I’m new to WordPress, and it appears that what The Loop returns depends on the page context.
Is this correct? How can I override it?
- The topic ‘Display Posts within a Page using The Loop’ is closed to new replies.