• Hello,

    I am using whiteboard framework with a custom child theme. I have a page called “Blog”. I have tried specifying this as the page for posts to display but it is grabbing the homepage template even though in the “blog” page I have selected the blog template, not the homepage template.

    Due to someone else’s comment on a similar problem, I tried doing the following: put the posts to display on page as -select- instead of blog. This did pull the correct blog template BUT no posts display. The “Written by…” info shows up and pulls in the admin but no actual posts.

    Here’s a link: https://www.marshallball.com/_WordPress/blog/

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your blog page will use the index.php template automatically and ignore any custom template you may have applied to it.

    I’m not sure I understand what your trying to do.

    I normally, create a new page called blog under pages, and then in my settings > Reading I select the blog page to display my posts.

    The posts will then be displayed on the “blog page” but the blog page isn’t a page. It uses the index.php to display the latest blog posts.

    You don’t need to create a custom template for your blog.

    Thread Starter kyradk

    (@kyradk)

    To explain a little more clearly, I have a homepage template and a default template. When I specify default template on the “blog” page under pages (I realize that this is not really a page) and set the posts (under ‘reading’) to display on the page called blog it pulls in that homepage template for some reason. The posts DO appear but pulling in the homepage template which I definitely do not want.

    If I instead make no selection for blog posts under “reading” and add a template called ‘page_blog.php’ which is essentially the same as the page template but with a few minor changes the page called blog pulls in that blog template which I select under the page called blog (in the right hand drop down) BUT It then stops pulling in the actual posts but does still keep the “Written by admin” “Posted on” “No comments” etc. info. (This is the way it is now if you check out the link).

    Does that make sense?

    I’m stuck with either a blog section of the site that uses the homepage template OR that uses the correct template but pulls in no posts. Ahh! I’ve tried everything I can think of. Any other ideas??

    Also, if it’s pulling in from index.php and ignoring any custom template why is it applying that homepage template to it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Whiteboard child theme – blog posts not displaying posts’ is closed to new replies.