Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Angelo Mandato

    (@amandato)

    Hello J,

    I don’t understand the question. Can you give me an example how you would use the shortcode? Thanks!

    Thread Starter sailorjerryza

    (@sailorjerryza)

    Hi,

    Sorry should have put in an example.

    HAve a page that lists all the podcast posts. It calls the title of the podcast as heading but I want to ad the iTunes Author field to text as well with a shortcode. The post-authors differ from the iTunes Authors so I can’t use the post author (which would be easier).

    j

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @sailorjerryza,

    Assuming you have your own loop in PHP code, you can use the following function to get episode information as an associative array. This is how I recommend using the powerpress_get_enclosure_data function in case PowerPress were to ever be disabled…

    if( function_exists('') ) {
      $EpisdoeData = powerpress_get_enclosure_data( get_the_ID(), 'podcast');
    
      echo $EpisodeData['author'];
    }

    Learn more here: https://create.blubrry.com/resources/powerpress/powerpress-and-your-theme/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘itunes author shortcode’ is closed to new replies.