Why isn't latest post displayed in full on home page?

  • Unknown's avatar

    After several years of posting on this blog, my most recent post displays as a teaser with thumbnail on the home page. I did nothing to configure this and would prefer the entire post to be displayed as normal.
    Has there been some dashboard tweak I’m not aware of?
    Thanks for any help.
    – ml

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Thinking it might have something to do with the “featured image”, I removed that selection. It didn’t make any difference. And now I cannot reset the featured image again.

  • Unknown's avatar

    Hi,

    Perhaps it was because there was a “more tag” (see http://en.support.wordpress.com/splitting-content/more-tag/) that splits your content?

    By default your home page should show a post’s complete text, as is the case with your older posts there.

  • Unknown's avatar

    Thanks for your suggestion @hfzhmn – there’s no “more” tag included in my post. (I am familiar with these and have used them on other blogs.)
    Puzzled.

  • Unknown's avatar

    There is most definitely a More tag in your code.

    <p>A selection of favourite word-weavings on the theme that underpins this blog, beginning and closing with beloved Rumi. I drank that wine of which the soul is its vessel. Its ecstasy has stolen my intellect away. A light came and … <a class="more-link" href="http://thisunlitlight.com/2014/03/14/this-luscious-luminosity/">Continue reading <span class="meta-nav">→</span></a></p>

    Edit the post and look to the right-hand side to Post Formats. See if it is in a different post format than the others. Make it a Standard post format, and remove the More tag if any shows up (it might show up in the code, or it might be invisible and built into the post format). Then update the post.

  • Unknown's avatar

    Hi,

    Actually, yeah, I checked Forever theme’s source code (https://wpcom-themes.svn.automattic.com/forever/content.php for those interested), and it does seem to automatically put excerpt instead of full text, *if* there’s a featured image in a post.

    Pretty weird if you ask me, but that’s there in the code. So that’s why.

  • Unknown's avatar

    Here’s the offending code, just for the sake of completeness:

    <div class="entry-content">
    		<?php if ( '' != get_the_post_thumbnail() ) { ?>
    			<figure class="entry-thumb">
    				<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( forever_get_post_thumbnail_size() ); ?></a>
    			</figure><!-- .gallery-thumb -->
    			<?php the_excerpt(); ?>
    		<?php } else { ?>
    			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'forever' ) ); ?>
    		<?php } // if ( '' != get_the_post_thumbnail() ) ?>
    		<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'forever' ), 'after' => '</div>' ) ); ?>
    	</div><!-- .entry-content -->

    See the_excerpt() right there after the thumbnail code? That’s the cause.

  • Unknown's avatar

    Thank you @raincoaster and @hfzrhmn.
    This is very strange, because there is no “more” code showing in the text window of my ‘edit post’ page . Nada. The phantom code isn’t accessible to my view. (I always work in text view.)
    The post is “standard” format.
    I have removed the “featured image” selection, but the post still shows up as an excerpt on the home page.
    Will delete the image and reload it without selecting “featured image” and see if that makes a difference.
    Curious!

  • Unknown's avatar

    Reloaded the image – success. Home page looks how I want it, and I’ve learned something about the Forever theme.

    I love the WP forum. You guys are so patient and helpful. Thanks!

  • The topic ‘Why isn't latest post displayed in full on home page?’ is closed to new replies.