• Resolved fober

    (@fober)


    I have this RSS feed setup long ago by someone long gone from my church. It seems it uses itunes meta tags more than the standard tags for <author> , I use this shortcode.

    [feedzy-rss feeds=”https://faithec.org/podcasts/dircaster.php&#8221; max=”50″ feed_title=”no” refresh=”1_hours” meta=”author”]

    But if I try to change meta=”itunes:author”, it will not pick this up, which is where the actual artist or author value is at. Why is this?

    Is there a place to pick up tags that are in the RSS feed?

    I am on version 3.3.17 of Feedzy lite.
    WP v 5.3.2

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor contactashish13

    (@rozroz)

    @fober you can add the below code snippet in your theme’s functions.php to get the itunes:author

    
    add_filter( 'feedzy_author_name', function( $author_name, $feed_url, $item ) {
    	if ( $feed_url === 'https://faithec.org/podcasts/dircaster.php' ) {
    		$author_tag = $item->get_item_tags( SIMPLEPIE_NAMESPACE_ITUNES, 'author' );
    		$author_name = $author_tag[0]['data'];
    	}
    	return $author_name;
    }, 10, 3);
    
    Thread Starter fober

    (@fober)

    Hi I tried a few things based on your code snippet and it didn’t work for me.

    Thank you though.

    Plugin Contributor contactashish13

    (@rozroz)

    @fober we tested with your exact shortcode and it worked for us. You only needed to paste it to make it work. Can you please mention what you tried and what did not work?

    Thread Starter fober

    (@fober)

    I pasted it into function.php in my theme which is OceanWP, tested the page that I wrote with elementor, and nothing changed, I made sure I purged all the cache and nothing changed.

    I tried to change the “author” to “itunes:author” in your code snippet that also did not work.

    I put it into my functions.php which has over 1200 lines of code in it. so maybe that is the problem….?

    Thread Starter fober

    (@fober)

    I fixed it by properly installing the snippet, thank you!

    Thread Starter fober

    (@fober)

    resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘meta tags support’ is closed to new replies.