Support » Plugin: WP-Members: Membership Framework » "(more…)" translation

  • Resolved cornelius6

    (@cornelius6)


    I have one more, maybe not so basic problem: how to change a text of “Read More”/”(more…)” link/button that appears after <!–more–> tag? It has probably to do something with filter wpmem_auto_excerpt but can’t find info how to do that.

    Kind regards,
    Cornel

    http://wordpress.org/extend/plugins/wp-members/

Viewing 2 replies - 1 through 2 (of 2 total)
  • cornelius6

    (@cornelius6)

    Hi. I have found the following solution. It works for my child theme:

    function custom_read_more_link() {
    return '<a href="' .get_permalink() .'" rel="nofollow">Your text here...</a>';
    }
    add_filter( 'excerpt_more', 'custom_read_more_link' );
    add_filter( 'get_the_content_more_link', 'custom_read_more_link' );
    add_filter( 'the_content_more_link', 'custom_read_more_link' );

    Plugin Author Chad Butler

    (@cbutlerjr)

    As you discovered, the “read more” link that the auto excerpt inserts is designed to work with the WP read more filters.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"(more…)" translation’ is closed to new replies.