• Resolved tx28z

    (@tx28z)


    Hello,
    Just want to tell you there’s a plugin conflict with promoter, I don’t know if it’s on your side or theirs but the promoter SVG icon in the admin bar get fullscreen (see link below) and the WordPress admin bar get truncated. It’s only a problem on the mailpoet page.

    View post on imgur.com

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @tx28z,

    This could happen because we do that to prevent other plugins from loading their scripts/styles on our pages to avoid conflicts.

    Whitelisting the plugin should work. There are two different hooks to use.

    For styles, use:

    add_filter('mailpoet_conflict_resolver_whitelist_style', function ($whitelistedStyles) {
    $whitelistedStyles[] = 'plugin-text-domain'; // plugin name to whitelist
    return $whitelistedStyles;
    });

    For scripts, use:

    add_filter('mailpoet_conflict_resolver_whitelist_script', function ($whitelistedScripts) {
    $whitelistedScripts[] = 'plugin-text-domain'; // plugin name to whitelist
    return $whitelistedScripts;
    });

    Let us know if it works for you.

    • This reply was modified 3 years, 7 months ago by Wysija.
    Thread Starter tx28z

    (@tx28z)

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘plugin conflict with ‘the events calendar’ promoter’ is closed to new replies.