WordPress.org

Ready to get started?Download WordPress

Forums

DB YouTube RSS
Default Options needed for php implementation (3 posts)

  1. aware
    Member
    Posted 2 years ago #

    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/

  2. Brian
    Member
    Posted 2 years ago #

    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 = ''); }; ?>
  3. aware
    Member
    Posted 2 years ago #

    Not problem Brian, Glad it helped you out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic