Support » Plugin: Save Contact Form 7 » javascript conflicts with other plugins and solution

  • Resolved andreamk


    the solution is simple.
    Just include the various styles and javavascript only in the plugin page.

    if (!defined('ABSPATH')) {
    define('SAVE_CF7_ADMIN_MENU','save_contact_form_7'); // define menu slug name
       if (!function_exists('nimble_scripts')) {
            // enqueue script and style only in save cf7 page
            function nimble_scripts($hook) {
    		if ($hook != 'toplevel_page_'.SAVE_CF7_ADMIN_MENU) {
     if (!function_exists("nimble_menu")) {
            function nimble_menu() {
                $page_title = 'Save Contact Form 7';
                $menu_title = 'Save CF7';
                $capability = 'manage_options';
                $menu_slug = SAVE_CF7_ADMIN_MENU; // <-- use menu slug definition
                $function = 'nimble_populate_page';
    • This topic was modified 3 years, 4 months ago by andreamk.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @andreamk
    I installed this plugin yesterday and realize that some WordPress stuff crashed after this plugin activation like ahax upload media file inside a post…
    I see you thread about JS issue and I wonder if what your are saying is not the solution about my errors.
    You show us 3 codes snipets, but:
    – where are they suppose to go?

    Oh I see it’s in save-contact-form-7.php 🙂
    and you are an hero! > it works

    @pako69,@andreamk, can you tell me where I gave you conflict with js?

    We have problems with the message after pressing the send button.

    Thanks in advanced!

    Plugin Author nimblechapps


    Hello Guys,

    Thank you for valuable inputs. We have taken care of this in Version 1.6

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘javascript conflicts with other plugins and solution’ is closed to new replies.