Support » Themes and Templates » Integrating the Loop into a Template

  • Resolved universal1300


    I installed WordPress in a subdirectory, but opted for the “blog homepage to be different from the directory where [I] installed it,” so the main content shows up at “” instead of “www.example/”

    I then opted to have my front page display a static page, instead of the Loop. So far, so good. . .

    Now, I want to create a page ( that has the Loop and displays the most recent posts, as the front page did before I opted for the static front page.

    I’ve tried creating a template called “blog” with the Loop code integrated into it, and then made a blank page with that template and the slug “blog,” but it only shows the page title.

    If it matters, I’ve set my permalink structure to:/blog/%year/%month/%post-name.

    Does anyone know how I can put the Loop that I lost when I set a static front page into a different page?

    My thanks in advance.


Viewing 3 replies - 1 through 3 (of 3 total)
  • With the Static front page option you can tell it what to use for the Front Page as well as the Posts page. You shouldn’t need to manipulate a template to get the posts to show on the blog page.

    See Administration > Options > Reading.

    Or am I making this too easy?

    Well, I’ll be! I’m so grateful and embarrassed at the same time that I don’t know what to say other than, “Thank you!”


    Related topic: How do I make a template with the Loop on it? It’s probably really obvious but I’m new to WordPress.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integrating the Loop into a Template’ is closed to new replies.