• Resolved vikou1008

    (@vikou1008)


    Hi,

    I’ve been trying to change the text of the “read more” link on specific posts using this:

    <!–more Your custom text –>

    But it doesn’t work.

    Any idea how I could achieve this?

    Thank you very much for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    @vikou1008 Looks like you’re using a longer dash instead of two short dashes – try this:

    <!--more Your custom text -->

    Let me know how it goes.

    Thread Starter vikou1008

    (@vikou1008)

    Hi Kathryn,

    I figure what the issue is.

    <!–more Keep on reading!–> doesn’t work because I’ve added this to my theme functions:

    add_filter( ‘the_content_more_link’, ‘modify_read_more_link’ );
    function modify_read_more_link() {
    return ‘READ’;
    }

    Thank you so much for your help.

    Have a great day,
    v.

    Moderator Kathryn Presner

    (@zoonini)

    Glad you solved it!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the “read more” link text on specific posts’ is closed to new replies.