Title: Conflicts with plugin styles
Last modified: January 23, 2017

---

# Conflicts with plugin styles

 *  Resolved [Adam](https://wordpress.org/support/users/adamcole83/)
 * (@adamcole83)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/conflicts-with-plugin-styles/)
 * This plugin has been causing issues with other plugins in the Admin console.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [fortpandemonium](https://wordpress.org/support/users/fortpandemonium/)
 * (@fortpandemonium)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/conflicts-with-plugin-styles/#post-8689385)
 * Can you please give me more specific information? What are the issues and the
   error messages? When do they appear? Try deactivating all plugins and activating
   them one by one to see which one exactly is causing the conflict.
 *  Plugin Author [fortpandemonium](https://wordpress.org/support/users/fortpandemonium/)
 * (@fortpandemonium)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/conflicts-with-plugin-styles/#post-8690299)
 * If I understand correctly, the conflict happens only on the dashboard pages? 
   Can you please paste the following code in your theme functions.php file and 
   see if the issues persist?
 *     ```
       add_action( 'admin_enqueue_scripts', 'plugin_dequeue_scripts' );
       function plugin_dequeue_scripts() {
   
       	$plugin_id = get_current_screen()->id;
   
       	if ( ( $plugin_id != 'settings_page_fp_foundation_assistant_settings' ) && ( $plugin_id != 'post' ) && ( $plugin_id != 'page' ) ) {
       		wp_dequeue_style('fp_foundation_assistant-admin');
       		wp_dequeue_style('fp_foundation_assistant-admin-rtl');
       	}
   
       	if ( $plugin_id != 'settings_page_fp_foundation_assistant_settings' )  {
       		wp_dequeue_script('fp_foundation_assistant-foundation-6');
       	}
       }
       ```
   
 * The code removes the plugin’s styles and scripts from all pages except the plugin’s
   options and the new post/page.
 * I am currently testing the next plugin release, so I will include the fix in 
   it if everything works fine.
    -  This reply was modified 9 years, 3 months ago by [fortpandemonium](https://wordpress.org/support/users/fortpandemonium/).
 *  Thread Starter [Adam](https://wordpress.org/support/users/adamcole83/)
 * (@adamcole83)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/conflicts-with-plugin-styles/#post-8692958)
 * Correct, it’s only in the dashboard that the issues exist but that seems to have
   done it! You may want to add that to your code to only enqueue scripts on your
   screen.
 * I’m not using the plugin’s F6 since I have it build into my theme.
 * Thank you!
 *  Plugin Author [fortpandemonium](https://wordpress.org/support/users/fortpandemonium/)
 * (@fortpandemonium)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/conflicts-with-plugin-styles/#post-8695138)
 * Thank you for reporting the issue, the fix will be added in the next release.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Conflicts with plugin styles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fp-foundation-assistant_354776.svg)
 * [FP Foundation Assistant](https://wordpress.org/plugins/fp-foundation-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fp-foundation-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fp-foundation-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/fp-foundation-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fp-foundation-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fp-foundation-assistant/reviews/)

## Tags

 * [conflicts](https://wordpress.org/support/topic-tag/conflicts/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * 4 replies
 * 2 participants
 * Last reply from: [fortpandemonium](https://wordpress.org/support/users/fortpandemonium/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/conflicts-with-plugin-styles/#post-8695138)
 * Status: resolved