Support » Plugin: DB YouTube RSS » [Plugin: DB YouTube RSS] Default Options needed for php implementation

  • Nice little plugin you have here. Noticed that you do not have any default values on the db_yt_rss_markup method within your plugin. So the actual <?php if(function_exists('db_yt_rss_markup')) { db_yt_rss_markup(); }; ?> example will output a error for each video in the rss.

    function db_yt_rss_markup( $db_yt_user = '', $db_yt_channel = '', $db_yt_maxitems = '', $db_yt_thumb_width = '' ){

    I added in a few simple empty strings to to get it working quickly.

    http://wordpress.org/extend/plugins/db-youtube-rss/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks Aaron! This really helped..

    <?php if(function_exists('db_yt_rss_markup')) { db_yt_rss_markup( $db_yt_user = '', $db_yt_channel = '', $db_yt_maxitems = '', $db_yt_thumb_width = ''); }; ?>

    Not problem Brian, Glad it helped you out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: DB YouTube RSS] Default Options needed for php implementation’ is closed to new replies.