Jump to content

These Forums Are Now Read-Only

For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Adding Code To Functions.php #genesiswp

  • Please log in to reply
1 reply to this topic

#1 HBGreg



  • Members
  • Pip
  • 1 posts

Posted 03 January 2014 - 02:02 AM



I'm pasting the following code into my functions.php file to integrate the plugin into my child theme.  However it is not working.  Any suggestions?

//* Add featured videos widget before footer
add_action( 'genesis_before_footer', 'eom_feat_videos');
function eom_feat_videos() {
    echo TubePressPro::getHtmlForShortcode('thumbHeight="180" thumbWidth="300" resultsPerPage="3" description="false"');

Thank you,




#2 brandon


    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 06 January 2014 - 09:52 PM

Hi HBGreg,


In order to use TubePress in a PHP page, you must be using TubePress Pro.


Once you have updated to TubePress Pro, the code you are using will work properly.



Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!