• Resolved jmracek

    (@jmracek)


    Dear All,
    I try some actions to change the “READ MORE” text to different one (translate), for exammple here:
    editing functions.php
    https://wplearninglab.com/wordpress-read-more/
    editing content.php

    without no chages. … ??

    Please could you give me tips, how to change the text “READ MORE” on main page under the article ?

    Picture

    Thank you very much, Jan

    • This topic was modified 7 years, 3 months ago by jmracek.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jmracek

    (@jmracek)

    Hi Maybee changed,

    1) disable CACHE plugins :).
    2) use this code in function.php

    // Replaces the excerpt "Read More" text by a link
    function modify_read_more_link() {
        return '<a class="more-link" href="' . get_permalink() . '">CHANGE HERE</a>';
    }
    add_filter( 'the_content_more_link', 'modify_read_more_link' );

    3) edit magazine file: inc/template-tags.php , find function_exists( ‘poseidon_more_link’ ) and replace the text.

    Jan

    • This reply was modified 7 years, 3 months ago by jmracek.
    Theme Author ThemeZee

    (@themezee)

    Hi there,

    We have an extensive tutorial how to translate our themes on https://themezee.com/docs/theme-translation/

    I recommend to use the Loco Translate WordPress plugin.

    Best,
    Thomas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“READ MORE” text under post’ is closed to new replies.