Viewing 6 replies - 1 through 6 (of 6 total)
  • You won’t generally have to mess with functions.php to achieve this.

    To show the whole content, use the_content() instead of the_excerpt() (Codex Article) in all the template files that list posts. Templates differ in where they put the loop for posts and I don’t have time just now to look at your theme, but you should be able to follow the trail by looking at the WordPress Template Hierarchy. You should probably start by looking for a home.php file and if that doesn’t exist, check out the index.php file.

    You’ll probably find the code for the button in the same file(s), so you’ll be able to get rid of it if you still need to once you’ve changed to the_content().

    You may be well advised to use a Child Theme to make changes like these, since they are the only recommended way of modifying themes.

    HTH

    PAE

    Thread Starter Jetheat

    (@jetheat)

    Thanks,

    I did change the excerpt to content and that did show the whole post but without any sentence or paragraph structure. It was all just jumbled together.

    Any ideas?

    JH

    Not really. That’s what the_excerpt() does. You just aren’t so conscious of it when its a short excerpt. Usually (i.e. in all the other cases I’ve come across, the_content() doesn’t behave like that.

    So I don’t know what’s going on here, unless it’s something your theme does.

    Sorry I can’t be of more help. If I get time tomorrow, I might be able to look at the theme code.

    Cheers

    PAE

    Thread Starter Jetheat

    (@jetheat)

    I don’t suppose you’ve had a chance to go through it?

    JH

    Not yet I’m afraid

    Took a quick look.

    The index.php file contains the loop and has this code:

    <?php wpe_excerpt('wpe_excerptlength_index', ''); ?>
    
    <a class="rmore" href="<?php the_permalink() ?>">Continue</a>

    Assuming that it is index.php that’s being called, it would be that call that wanted changing. The function wpe_excerpt() calls get_the_excerpt().

    Is it that call that you changed to the_content()? Or should I be looking in a different template file?

    Sorry I haven’t the time to spend a lot of time on this.

    Cheers

    PAE

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Removing the Read More Link’ is closed to new replies.