Author Topic: PHP function to add PowerPress player into areas like excerpts  (Read 773 times)

rhormazar

  • Newbie
  • Posts: 3
I recently ran into an issue where a custom theme didn't display PowerPress audio player in excerpts. I found in PowerPress' documentation (http://create.blubrry.com/resources/powerpress/powerpress-and-your-theme/) a function call to add it,  but it kept breaking my website. This is the original code:

<?php if( function_exists('the_powerpress_content') { ?>
<?php the_powerpress_content(); ?>
<?php } ?>

The problem is (wait for it...) it is missing a closing parenthesis. Please update your documentation.

<?php if( function_exists('the_powerpress_content')) { ?>
<?php the_powerpress_content(); ?>
<?php } ?>

All in all, great plugin, great support. Keep it up!

mgdell

  • Blubrry Customer Support Coordinator
  • Administrator
  • Hero Member
  • *****
  • Posts: 3318
Re: PHP function to add PowerPress player into areas like excerpts
« Reply #1 on: August 12, 2014, 09:26:47 am »
Thank you for letting us know! 

-Mike