[Plugin: wordTube] Random Video in Widget (1 post)

  1. Mr Papa
    Posted 7 years ago #

    Would be great to get an option for random video in the widget so I dont have to keep changing the widget code itself every upgrade.

    Its only one line of code:

    $mediaid = $wpdb->get_var("SELECT vid FROM wp_wordtube ORDER BY RAND() LIMIT 1");

    well, obviously more for the UI to give a random checkbox on the widget itself...

    Thanks for consideration...

Topic Closed

This topic has been closed to new replies.

About this Topic