WordPress.org

Ready to get started?Download WordPress

Forums

"Read the end of the article" (7 posts)

  1. axelom
    Member
    Posted 6 years ago #

    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 ?

  2. Roy
    Member
    Posted 6 years ago #

    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.

  3. axelom
    Member
    Posted 6 years ago #

    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.

  4. Roy
    Member
    Posted 6 years ago #

    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.

  5. axelom
    Member
    Posted 6 years ago #

    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 ;)

  6. Roy
    Member
    Posted 6 years ago #

    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.

  7. axelom
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.