I am not getting any headway in this one problem I have a separate homepage from the normal blog page. However the site needs a blog so How do I structure a query that will display something like the default wordpress behavior

2 Answers 2


Do the following:

  1. Create a blank page with the name "Blog" or "News" or whatever you like to call it.
  2. Go to Settings -> Reading and select A static page from Front page displays section.
  3. Choose your front-page from the Front page dropdown box, and your blog page (the page you created in step 1) from Posts page dropdown box.
  4. Save your changes.

Your blog page should now display your posts when visited.


You can create a page template for the blog and just run a custom post query -

$query_args = array(
    'post_type' => 'post'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.