WordPress.org

Support

Support » Themes and Templates » “Read the end of the article”

“Read the end of the article”

  • Hello everybody exuse me for my bad english beacuse I’m french, and I find help only here.

    In fact I will love to modify the text “read the end” by a text by me. What template I must be modify ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • In your index.php you will find something like this:

    <div class="postentry">
    <?php the_content(__('<strong>Continue reading</strong>'). " ‘" . the_title('', '', false) . "’ &raquo;"); ?>
    </div>

    You can replace “continue reading” by “continuez de lire” or whatever you like.

    I’ve this :

    “<?php the_content(‘<span class=”readmore”>’.__(‘Read the rest of this entry »’,TEMPLATE_DOMAIN).'</span>’); ?>”

    But even if I replace by “Afficher la totalité de l’article” I’ve the same result without my text.

    Hm…
    This page says the same as what I suggested. You could check if the same snippet of code is also in other files, such as the single.php.

    Btw (I mean “by the way”) do you refresh the site after viewing if the changes worked? I usually have to make a switch to default theme and my custom theme and refresh before I see the changes that I make.

    Ok I “stop” because I’ve try everything and the result is the same.
    For “by the way” I had understand before, but it was a jock by the way is a music 😉

    I just tried it and it works, but… only in combination with the “more” tag it seems. I can try if it works in combination with a excerpt plugin, but I have none in my test surroundings.

    Ok it’s strange but with me I’ve none change

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“Read the end of the article”’ is closed to new replies.