HOME › WordPress Support › James wp theme › How to remove the Theme Dutch video that autoplays upon login to dashboard?

This topic contains 6 replies, has 5 voices, and was last updated by  Sasha 1 year, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #8042

    cmdesign13
    Participant

    For some reason, there is a Theme Dutch promo video that autoplays upon login to dashboard. I paid for the premium James theme and find this to be an incredibly annoying feature (I’ve never seen this w/ any other themes, paid or free). I do not need to be blasted with a promo video & music every time I log in to the dashboard of my site. Any info on how to remove it permanently would be greatly appreciated.

    Also, why am I not allowed to access the real support forums? This free support forum is very bare.

    • This topic was modified 1 year, 3 months ago by  cmdesign13.
    #8045

    Helen (staff)
    Key Master

    Hi Christina,

    I’ve already answered your message via our contact form. Regarding the video, i’ll discuss this with our staff members. Thanks a lot for your message.

    Best wishes,
    Helen

    #8081

    cmdesign13
    Participant

    Thanks Helen. It looks like the code for the video will have to be removed, as simply un-checking the box for Theme Dutch (within the screen options for Dashboard, Theme Dutch is the module that houses the loud video) only hides the video but it still plays the loud music EVERY time I go to the dashboard.

    #8604

    stefan trifonov
    Participant

    this is a horrible idea, and worse implementation. to get rid of it, go in the theme folder and open the functions.php file, and delete the following block (may differ depending on your theme, but it should be commented so you can find it easily):

    /* Add dashboard widget */
    function td_dashboard_widget() {
    echo '
    Your browser does not support iframes.
    ';
    }

    function add_td_dashboard_widgets() {
    wp_add_dashboard_widget('td_dashboard_widget', 'Theme Dutch', 'td_dashboard_widget');
    global $wp_meta_boxes;
    $normal_dashboard = $wp_meta_boxes['dashboard']['normal']['core'];
    $td_widget = array('td_dashboard_widget' => $normal_dashboard['td_dashboard_widget']);
    unset($normal_dashboard['td_dashboard_widget']);
    $sorted_dashboard = array_merge($td_widget, $normal_dashboard);
    $wp_meta_boxes['dashboard']['normal']['core'] = $sorted_dashboard;
    }
    add_action('wp_dashboard_setup', 'add_td_dashboard_widgets' );
    ?>

    #8748

    Sasha
    Participant

    Hi,
    what peace of code needs to be removed in new version of theme … its big difference from this one.

    #8908

    Keith Crusher
    Participant

    Remove this bit of code from Theme Function (functions.php)

    <iframe src=”http://www.theme-dutch.com/advertise&#8221; width=”100%” height=”100%” style=”margin: 0px; padding:0px;”>

    and the trailing </iframe>

    You can replace the ‘your browser doesn’t support iframes’ text if you like.

    #8942

    Sasha
    Participant

    Thank you Keith

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Close
WANNA KNOW WHAT'S COOKING?
Stay tunend, we'll keep you posted!

Twitter

Facebook

Google+