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 “www.example.com.” instead of “www.example/wordpress.com”
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 (www.example.com/blog) 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.
- The topic ‘Integrating the Loop into a Template’ is closed to new replies.