Viewing 1 replies (of 1 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @webdesignks,

    The plugin does not have that option as of now since this is a new requirement. I’ll add this option in the next version.

    For now add below PHP code to your website’s function.php file or using a custom plugin – https://www.aakashweb.com/articles/create-site-specific-wordpress-plugin-custom-code/

    function my_srr_modifier( $html, $feed_url, $feed_item ){
        $url = $feed_item->get_link();
        $html[ 'description' ] = '<a href="' . esc_attr( $url ) . '" target="_blank">' . $html[ 'description' ] . '</a>';
        return $html;
    }
    
    add_filter( 'srr_mod_item_html', 'my_srr_modifier', 10, 3 );

    Thanks,

    Aakash

Viewing 1 replies (of 1 total)
  • The topic ‘How to make description clickable’ is closed to new replies.