• I changed my theme’s page.php
    from
    <?php the_content( ‘Read the rest of this entry…’ ) ?>;
    to:
    <?php the_content(‘Click to continue…’); ?>

    I also tried
    <?php the_content(‘Click to continue…’, ‘TRUE’, ”); ?>

    But the website still says:
    “Read the rest of this entry…”

    What else must I change???

    — J.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Not sure but is the end of the code the problem,it’s different:

    <?php the_content( ‘Read the rest of this entry…’ ) ?>;
    to:
    <?php the_content(‘Click to continue…’); ?>

    Do you use the more-tag on pages? My guess is that you want to change the index.php.

    Gangleri is right: the “more” doesn’t have any effect on Pages because there is no ‘multi-Page view’ in WordPress, so practically, no need for it.

    Hi to All,

    I am new to WP and currently just install WP 2.6 in my site.

    One thing I feel quite strange is:
    When I view tag, the more link url is not the same as the post url in the post title. In fact both of them are point to the same view.
    Isn’t it redundant and may be treated as duplicate page by search engine?

    Example:

    I click on tag to display blog list of posts:
    https://www.aikindo.com/tags/aikido/

    Let’s pick one of the result:

    If I click on post title, the url is:
    https://www.aikindo.com/jokes/dummys-guide-to-aikido-definitions/

    If I click on More link of that post, the url is:
    https://www.aikindo.com/jokes/dummys-guide-to-aikido-definitions/#more-9

    Both of the result are the same view. Don’t we get penalize by search engine because of this two different url displaying the same content?

    And how we fix it so the More link don’t display additional url?

    Thanks in advanced

    Thank you so much for this great fix …

    … it helped A LOT!

    I’m going to jump on this thread as opposed to creating a new one.

    I’m trying to add the ‘read more’ functionality to my WP 2.5 site, but when I change this:

    <?php the_content(''.__('Read More <span class="meta-nav">&raquo;</span>', 'sandbox').''); ?>

    to this:

    <?php the_excerpt(''.__('Read More <span class="meta-nav">&raquo;</span>', 'sandbox').''); ?>

    the post ends with […] instead of “Read More”. No matter what I change inside the_excerpt(), the […] never changes. I’ve tried
    the_excerpt( 'Read More' , 'TRUE' )
    but that doesn’t help either. Is it sandbox that is screwing me up? I can’t figure out where […] is coming from.

    I’m trying to set up an automatic marker instead of using the more link in the posting section for the sake of keeping it simple for content posters.

    Where can I tweak these settings? I think I’ve exhausted the WP documentation on this.

    Both of my problems have been stated in this post but none of them have been answered by anyone.*sigh*

    1. When I change the <?php the_content(); ?> in index.php
    to <?php the_content(‘ Continue reading this post!’); ?>
    it still just says ‘Read more’ and I can’t understand why it doesn’t change to ‘Continue reading this post.

    2. My links are also getting changes when I click the ‘Read more’ it adds an extension onto my urls like this : https://www.exploreasianow.com/the-more-test-post/#more-66. I dont want that extra /#more-66 on the end.

    I’d really appreciate help on these issues. They’re driving me crazy.
    Thanks!

    Try this:

    <?php the_content('Continue reading this post!','',''); ?>

    Save the file, then reload your page. Press the refresh button too, just for good measure. See if it works now.

    I ended up changing the_content to the_excerpt, but how to do I change the end of the excerpt from just being […] to something like ‘Continue reading’, linking to the full page??

    I don’t use the_excerpt(), but I found this information on the web. I don’t know if it’s dated or even accurate, though.

    Were you unable to get the_content() to work?

    asechrest,

    I looked at that website and figured it out. Thanks a ton!

    I did fix the the_content() too. I realized it was used two times in my template and I was changing the wrong one.

    man i spent hours and still haven’t found the answer to this common question’

    “I ended up changing the_content to the_excerpt, but how to do I change the end of the excerpt from just being […] to something like ‘Continue reading’, linking to the full page??”

    is there additional code i need to enter somewhere? please help

    Add this to your functions.php:

    add_filter( 'the_excerpt', 'my_excerpt_more_link' );
    
    function my_excerpt_more_link( $content ) {
    	$content = str_replace( '[...]', '<a href="' . get_permalink() . '">Read More</a>', $content );
    	return $content;
    }

    You can’t change the output of the_excerpt. That’s why so many people opt to use the_content instead. It’s far more customisable.

    You can’t change the output of the_excerpt.

    Yes, you can. You can use the_excerpt filter hook. You can write an actual excerpt in the “Excerpt” box on the Write Post screen.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Changing the “read more ” link’s text doesn’t work’ is closed to new replies.