WordPress.org

Forums

Change the Read More button text (6 posts)

  1. oliviaontheriviera
    Member
    Posted 10 months ago #

    Hi,
    I have managed to put my entire website http://oliviapasquali.com/ in French. Except for the "Read more" buttons. Does anybody know where and how I can edit that text?
    Many thanks!

  2. Yomo710
    Member
    Posted 10 months ago #

    It's your slider read more button.
    <a class="slider-read-more-button" href="http://oliviapasquali.com/creation-de-contenu/" title="CRÉATION DE CONTENU">Read more</a>

    What theme are you using?

  3. oliviaontheriviera
    Member
    Posted 10 months ago #

    I am using the Spacious theme. The issue is also further down, not only in the slider. Where could I change this text and replace with the French equivalent?
    Thanks

  4. Yomo710
    Member
    Posted 10 months ago #

    "You can go to theme folder->inc folder->header-functions.php. Look for the spacious_featured_image_slider function and inside it look for the 'Read more' text. You can change there.
    Note: Any changes done directly to the theme will be lost when updating the theme so make a child to make the customization so that you won't lose the changes when you update the theme."

  5. oliviaontheriviera
    Member
    Posted 10 months ago #

    Yep have a child theme already. Will have a look now.

  6. oliviaontheriviera
    Member
    Posted 10 months ago #

    ok so I just replaced "read more" with "plus" in my child header function php file in the following line of code `</div>
    <?php } ?>
    <div class="clearfix"></div>
    <a class="slider-read-more-button" href="<?php echo esc_url( $spacious_slider_link ); ?>" title="<?php echo esc_attr( $spacious_slider_title ); ?>"><?php _e( 'Plus', 'spacious' ); ?></a>
    </div>`
    but the button still appears as read more and not plus...
    Any ideas?
    Thanks.

Reply

You must log in to post.

About this Topic