Support » Plugin: WordPress Backup to Dropbox » Please make the CSS file load only for this plugin page

  • CSS Conflict!
    Your plugin iserts a css style file on everypage in the dashboard.
    <link rel='stylesheet' id='wpb2d-style-css' href='http://wpimpress.com/wp-content/plugins/wordpress-backup-to-dropbox/wp-backup-to-dropbox.css?ver=3.8-beta-1' type='text/css' media='all' />

    Please make it to load only for your plugin page

    You can use this code:
    global $hook_suffix;

    if ( $hook_suffix == ‘plugins_page_NAME HERE’ ) {
    wp_enqueue_script( ‘CSS FILE NAME HERE’ );
    }

    http://wordpress.org/plugins/wordpress-backup-to-dropbox/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Please make the CSS file load only for this plugin page’ is closed to new replies.