Author Topic: Using Field Data for OpenGraph/Twitter Card  (Read 425 times)

Dan Stephenson

  • Rookie
  • *
  • Posts: 1
Using Field Data for OpenGraph/Twitter Card
« on: January 04, 2016, 02:18:10 am »
Hello,

I am adding OpenGraph/Twitter Card support to my site.  As such, I'd like to be able to grab the contents of some of the fields within Bluberry, such as the podcast file URL, cover art image, etc.

I can't seem to find a shortcode or any other way to grab these fields. Can anyone help me?

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Using Field Data for OpenGraph/Twitter Card
« Reply #1 on: January 06, 2016, 05:17:38 pm »
Check out the powerpress_get_enclosure_data() function documented on this page: http://create.blubrry.com/resources/powerpress/powerpress-and-your-theme/ IUt returns an associate array, the keys should be self explanatory but if you have questions please let me know.