• Resolved robpannell

    (@robpannell)


    Hi, I’m building my first wordpress theme from scratch and have a confusing problem. I’ve searched the web for the solution but can’t find.

    My implementation of the wordpress loop is returning pages as the blog instead of the posts. It looks exactly as it should, except the content.

    I’m building it on my own private dev server, so I can’t give you a url to visit, but here is my loop code in case I’ve done something in there:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    edit: interestingly, if I click ‘next page’, it then shows posts. Only the default home page shows incorrectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • In the Settings > Reading do you have the home page set to show a static page or “Your latest posts”? Just a guess since I can’t see your code.

    Thread Starter robpannell

    (@robpannell)

    Yep – set to static page = home, posts shown on = home.

    Which is odd as I did not configuring, just installed it and left it.

    Thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Loop returns pages – not posts’ is closed to new replies.