• Resolved marymaru

    (@marymaru)


    Hi. I’m having issues with the Continue Reading link displaying consistently throughout a site. I’m using the Insert More Tag when creating each blog entry.

    On the index.php page the Continue Reading link appears exactly where I expect it to…which is at the end of the summary text of each blog post. However, when I click on one of the Archives widget links to see a summary of posts for a given month, not all of the blog posts shows the Continue Reading link. This is bizarre, because the very same posts that show the Continue Reading link on the index.php page are missing the link in Archives view. Any tips on how to resolve this? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • And what happens if you use the parent theme?

    Thread Starter marymaru

    (@marymaru)

    Assuming I de-activated my child theme correctly…I just changed the directory name of my child theme files by putting a dot in front of the name and all styling is gone now. But the same pesky issue remains. I’m not sure which WP file to look in to even begin trying to troubleshoot this. I looked at loop.php thinking that would be the logical place. But I’m very noob when it comes to reading php so it could be staring me in the face and I wouldn’t know it. Any suggestions?

    It would have been easier to just activate the Twenty Ten theme via Appearance -> Themes.

    Thread Starter marymaru

    (@marymaru)

    Of course…don’t know what I was thinking. So I just did that and still the same issue.

    Twenty Ten uses ‘the_excerpt()’ in archives; controlled in these sections (occurs twice) in loop.php:

    <?php if ( is_archive() || is_search() ) : // Display excerpts for archives and search. ?>
    			<div class="entry-summary">
    				<?php the_excerpt(); ?>
    			</div><!-- .entry-summary -->
    		<?php else : ?>
    			<div class="entry-content">
    				<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    			</div><!-- .entry-content -->
    		<?php endif; ?>

    remove exactly
    is_archive() ||
    (from a copy of loop.php in your child theme) and you should be fine.

    Thread Starter marymaru

    (@marymaru)

    Genius. Thank you, that worked!

    My “more” tags were displaying correctly on archive pages as well as home, UNTIL I decided I wanted to place them after a shorter amount of text. NOW they don’t display. If I move the “more” tag farther down, twenty ten ignores my placement, but does show more text and makes the “continue reading” offer.

    I have tried alchymyth’s fix (above) but it doesn’t fix this.

    Oh, dear, I changed it in the part of the loop that governs Asides. Now I have changed it later on and, indeed, it is functioning as desired. Thanks alchymyth!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Insert More tag in TwentyTen child theme inconsistent’ is closed to new replies.