• Resolved VPNline

    (@vpnline)


    Using free version, is there shortcode to link the authors name to their youtube channel url?

    On my feed after title text it says “by (authors name)” and the name are hyperlinked but all youtube channel names click directly to just https:// www .youtube. com and not the individual channels themselves.

    Thanks

    • This topic was modified 4 years, 10 months ago by VPNline.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor contactashish13

    (@rozroz)

    @vpnline if you are using a channel feed, you can use this code

    
    add_filter( 'feedzy_author_url', function( $author_url, $author_name, $feed_url, $item ) {
    	$author_url = $item->get_feed()->subscribe_url();
    	return $author_url;
    }, 10, 4 );
    
    Thread Starter VPNline

    (@vpnline)

    Thanks and sorry to ask but would that go in the function.php file and if it does is there anywhere particular to place it?

    Plugin Contributor contactashish13

    (@rozroz)

    @vpnline it can go anywhere in the functions.php file of your active theme; safest best is to put it right at the bottom.

    Plugin Contributor contactashish13

    (@rozroz)

    We haven’t heard from you in sometime so marking this as Resolved. If you continue to face an issue, please create a new ticket. We’d be happy to help.

    If you are satisfied with our product and support, kindly spare a moment to leave us a review. It would really help us spread the word!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘shortcode for ‘author’ link to youtube channel’ is closed to new replies.