• Some of my posts are being cut short and I’d love to know how to fix that from happening. The reader has to click on the post title to read in its entirety. I’ve been adding something like “click here to read full post” but it’s ugly and I think people are skimming over it and leaving.

    Can anyone please help me?

    https://www.thislifeloves.com

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    You have to edit the index.php file of your theme and find this code:

    the_excerpt()

    Replace with:

    the_content()

    Thanks,

    Shane G.

    Thread Starter kristeen

    (@kristeen)

    Hmm – I just tried that and it didn’t change anything.

    Did I change it correctly?

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <!-- start content -->
    <div id="content">
    <?php if (have_posts()) : ?>
    
    <?php while (have_posts()) : the_post(); ?>
    
    <div class="post" id="post-<?php the_ID(); ?>">
    <h2 class="title">" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>
    <p class="byline"><small><?php the_time('F jS, Y') ?> by <?php the_author() ?> <?php edit_post_link('Edit', ' | ', ''); ?></small></p>
    <div class="entry">
    <?php the_content(); ?>
    <!--disable
    <p class="links">" class="more">Read More</p>
    disble-->
    <p><?php the_tags(); ?></p>
    </div>
    </div>
    
    <?php endwhile; ?>
    
    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('? Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries ?') ?></div>
    </div>

    You’ll need to go edit each and every post and remove the <!--more--> tag that you have presumably inserted into every post.

    Thread Starter kristeen

    (@kristeen)

    I’ve gone through all my posts and don’t see <!–more–> in any of the posts. I manually added “click here to view entire post” because I’d lose some of my daily readers. Even if that’s removed, it’s still cutting the post short.

    Here’s the code from one cut short — am I missing something?

    I had the privilege of attending a presentation of <a href="https://www.carolinaherrera.com/content.htm" target="_blank"><span style="text-decoration: underline;">Carolina Herrera's</span></a> Spring 2010 Bridal Collection at Unveiled.  The gowns' names definitely piqued my interest -- most were named after classical painters.
    <p style="text-align: center;">:::<em> Click <a href="https://blog.kristeenlabrotevents.com/2010/03/carolina-herrera-spring-2010-bridal-collection/" target="_blank"><span style="text-decoration: underline;">here</span></a> to view this post with my favorites from the collection </em>:::</p>
    
    <blockquote>"An homage to artists who have featured fashion prominently in their work.  Knife strokes evident in the creation of Van Gogh's sunflowers are tactfully re-created in taffeta ruffles, Monet's water lilies hand painted onto English tulle, and Mattisse's paper cutouts are made into duchess satin leaves embroidered onto a tulle column.  Each silhouette is a tribute to a master painter who left behind an indelible influence on fashion."</blockquote>
    <p style="text-align: center;">{ Boucher }</p>
    <p style="text-align: center;"><a href="https://blog.kristeenlabrotevents.com/wp-content/uploads/2010/03/boucher.jpg"><img class="size-full wp-image-440  aligncenter" title="boucher" src="https://blog.kristeenlabrotevents.com/wp-content/uploads/2010/03/boucher.jpg" alt="" width="292" height="363" /></a></p>
    <p style="text-align: center;"></p>
    <p style="text-align: center;">{ Monet }</p>
    <p style="text-align: center;"><a href="https://blog.kristeenlabrotevents.com/wp-content/uploads/2010/03/monet.jpg"><img class="size-full wp-image-441  aligncenter" title="monet" src="https://blog.kristeenlabrotevents.com/wp-content/uploads/2010/03/monet.jpg" alt="" width="275" height="549" /></a></p>
    <p style="text-align: center;"></p>
    <p style="text-align: center;">{ Matisse }</p>
    <p style="text-align: center;"><a href="https://blog.kristeenlabrotevents.com/wp-content/uploads/2010/03/Matisse.jpg"><img class="aligncenter size-full wp-image-442" title="Matisse" src="https://blog.kristeenlabrotevents.com/wp-content/uploads/2010/03/Matisse.jpg" alt="" width="275" height="410" /></a></p>
    <p style="text-align: center;"></p>
    <p style="text-align: center;">{ Boticelli }</p>
    <p style="text-align: center;"><a href="https://blog.kristeenlabrotevents.com/wp-content/uploads/2010/03/botticelli.jpg"><img class="aligncenter size-full wp-image-443" title="botticelli" src="https://blog.kristeenlabrotevents.com/wp-content/uploads/2010/03/botticelli.jpg" alt="" width="275" height="409" /></a></p>

    The only other thing I can think of is that your theme is using a function to limit the_content(). If you changed:

    <!--disable
    <p class="links">" class="more">Read More</p>
    disble-->

    to:

    <p class="links">" class="more">Read More</p>

    at least you wouldn’t keep having to add those “read more” links manually.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why are some posts cut short?’ is closed to new replies.