Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter anyway

    (@sfdsfwer)

    I tried something like this, but it doesn’t work:

    function filter_crp_excerpt( $excerpt, $id ) {
         return $excerpt . '<a href="' . get_permalink( $id ) . '">more</a>';
    
    }
    apply_filters( 'filter_crp_excerpt', 'crp_excerpt', 10, 2 );
    Plugin Author WebberZone

    (@webberzone)

    The last line should be:

    add_filter( 'crp_excerpt', 'filter_crp_excerpt', 10, 2 );
    Thread Starter anyway

    (@sfdsfwer)

    This works, thanks!

    Plugin Author WebberZone

    (@webberzone)

    Thanks for confirming. Do consider a review of the plugin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘More-Link at the end of the excerpt’ is closed to new replies.