Skip to content

Displaying blog posts on a static page

I 3 WordPress most of the time

I <3 WordPress most of the time

(WordPress tech stuff)

Hooooooly shit all I wanted to do was make a splash page for a blog. More or less.

Making the front page a static page is very easy to do (Settings > Reading).

Making a page with all the blog posts (that used to be on the front page)…… is also pretty simple: you just have to cut & paste some code into a new (page template) blog.php file (which goes in your theme folder). Then you create a page in WordPress that uses the new template.

Copy the code here: Making your blog appear in a non-root folder

Grrr. I would have never searched for the title of that help article. It took hours to find it. I was looking for “Making a static link for blog posts” or “Displaying blog posts on a static page” or “Switching front page to static page” or “Querying for all blog posts” etc etc (I was trying to make a new page template that made a new WP_Query and displayed all the blog posts).

One Comment

  1. blowuprobot wrote:

    why don’t i remember wtf i’m talking about here?

    Friday, November 20, 2009 at 11:24 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*