• I’m having trouble with the ‘see more’ link in search results. It shows for some posts and not others. Example: http://easylowcarbdietplan.com/?s=diet

    I’m using a child theme of twenty twelve. In search.php it seems to have the same code as for the index page, i.e. `<?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( ‘content’, get_post_format() ); ?>
    <?php endwhile; ?>`

    So I thought it should show the more tag (which says ‘Continue Reading’) as it does on category results e.g. http://easylowcarbdietplan.com/category/articles/
    but I guess something is overriding that?

    I don’t care whether it says ‘continue reading’ or ‘see more’ but I’d like one or the other at the end of every extract, not just some extracts.

    I tried deactivating all plugins, that made no difference.

    Any ideas? Thanks, Rosemary

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you have the issue when you use the Twenty Twelve theme? Just want to be clear that the issue lies with your child theme.

    Thread Starter galaxyk

    (@galaxyk)

    Yes I still have the issue if I switch to Twenty Twelve. Then, for those posts that say ‘see more’ in my theme in the search results, there is […] (not clickable), and for those posts that have nothing in my theme, there is nothing in Twenty Twelve too.

    Thread Starter galaxyk

    (@galaxyk)

    So, in case anyone has the same problem, I think I finally figured this out. The “See more” or […] link is missing in search results when either:

    (a) I set an excerpt for the post, which I did on some older posts because it was needed for my previous theme for the site; or

    (b) the More tag is set earlier in the post than the point where the search results cut off.

    When I delete the excerpt and/or move the More tag for posts that didn’t have the See More link, it’s now showing. It’s a little annoying though because sometimes I want the More tag set early (e.g. because there’s only a small amount of text before an image or video that I don’t want to have showing in the extract on the home page).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘'See more' not always showing in search results’ is closed to new replies.