• Resolved anyway

    (@sfdsfwer)


    Hi,

    this function, for linking the excerpt text to the post, does not seem to work anymore:

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

    Has during an update of the plugin changed anything? A few weeks ago it worked just fine.

    Thanks!

    https://www.ads-software.com/plugins/contextual-related-posts/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ajay

    (@ajay)

    I haven’t pushed any update in the past few weeks. What are you seeing? Does clearing the cache help?

    Thread Starter anyway

    (@sfdsfwer)

    Thanks for your reply.

    I have a link around the headline and the image. The excerpt is there, but the link does not surround it anymore:

    <span class="crp_excerpt">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</span>

    It’s not a caching problem.

    Thread Starter anyway

    (@sfdsfwer)

    I don’t know why, but unchecking, saving and rechecking “Show post excerpt in list?” helped. The function works again.

    Plugin Author Ajay

    (@ajay)

    Thanks for confirming.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Excerpt link does not seem to work anymore’ is closed to new replies.