Support » Theme: Twenty Fourteen » Posts not appearing on the homepage

  • Resolved jasaunders


    I am using the Twenty Fourteen theme. I just setup the blog and any posts I create do not appear in the main content section of the homepage, it gives the message “Nothing Found. Ready to publish your first post?”
    I have two test posts there and if I feature them, they show up on the homepage in the featured section, but not in the main section below. They also show up in recent posts.

    It is not a caching issue, as I completely cleared my cache and also used a different browser I’d never used before.

    I have no plug-ins currently active (and I tried deleting the inactive ones).

    If I make the posts sticky, they still do not appear on the homepage.

    If I switch to a different theme, then the posts do appear on the homepage.

    It seems in index.php, have_posts() is returning false. Here’s the area in my index.php file, there is nothing with query_posts (as I have seen in other support topics).

    <div id="primary" class="content-area">
    		<div id="content" class="site-content" role="main">
    			 if ( have_posts() ) :
    				// Start the Loop.
    				while ( have_posts() ) : the_post();
    					 * Include the post format-specific template for the content. If you want to
    					 * use this in a child theme, then include a file called called content-___.php
    					 * (where ___ is the post format) and that will be used instead.
    					get_template_part( 'content', get_post_format() );
    				// Previous/next post navigation.
    			else :
    				// If no content, include the "No posts found" template.
    				get_template_part( 'content', 'none' );
    		</div><!-- #content -->

Viewing 1 replies (of 1 total)
  • Featured posts don’t show up in the main content area in this theme. They show up only in one place or the other. Not very clear in the theme documentation.

Viewing 1 replies (of 1 total)
  • The topic ‘Posts not appearing on the homepage’ is closed to new replies.