• Resolved griffinskatzcy

    (@griffinskatzcy)


    Hi. I see there is a function to add a Read More link after the Summary:

    function bweb_feedzy_readmore( $content, $link, $feedURL ) {
        $content = str_replace( '[&hellip;]', '<a href="' . $link . '" target="_blank">' . __('Read more', 'yourTextDomain') . ' &rarr;</a>', $content );
        return $content;
    }
    add_filter( 'feedzy_summary_output', 'bweb_feedzy_readmore', 9, 3 );

    In our case, we’d like to replace the Summary with the Read More link. How can we do this?

Viewing 1 replies (of 1 total)
  • Plugin Support Vytis

    (@bvytis)

    Hi @griffinskatzcy,

    If you want to remove summary and only keep the read more, something like this should work:

    function bweb_feedzy_readmore( $content, $link, $feedURL ) {
        $content = '<a href="' . $link . '" target="_blank">' . __('Read more', 'yourTextDomain') . ' &rarr;</a>';
        return $content;
    }
    add_filter( 'feedzy_summary_output', 'bweb_feedzy_readmore', 9, 3 );

    I hope it helps 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Replace Summary with Read More Link’ is closed to new replies.