• Resolved mcdeth

    (@mcdeth)


    Hi. I use boxzilla on few websites and just came across this for the first time. It enters code in block belonging to theme. Theme is BeTheme by Muffin group (one of top themes on envato). I don’t use any caching plugin, testing on localhost. Disabling cookies in theme gives same effect except for cookies div.

    <!-- mfn_hook_bottom -->
    <div id="mfn-gdpr" data-aligment="right" data-direction="vertical"><div class="mfn-gdpr-content">We use cookies.</div><button class="mfn-gdpr-button" data-cookieDays="365" data-animation="fade" >Accept</button></div>
    <div style="display: none;"><div id="boxzilla-box-97830-content"><p>testing testing testing testing testing testing </p>
    <p>testing testing testing testing testing testing testing testing </p>
    <p>testing testing testing testing testing testing testing testing </p>
    <p>testing testing testing testing testing testing testing testing </p>
    <p>testing testing testing testing testing testing testing testing </p>
    <p>testing testing testing testing testing testing testing testing </p>
    <p>&nbsp;</p>
    </div></div>
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PZ

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @mcdeth,

    Thanks for reaching out to us.

    Can you please setup your website and share a link that we can test?

    Thread Starter mcdeth

    (@mcdeth)

    Hi, thanks for quick reply. I’m sorry but I can’t. It’s online store and I’m doing changes on localhost with disabled plugins, I can’t set empty store even because theme has a key and I don’t want risk it makes problems on original website.

    However, I disabled theme and it works fine, so problem it’s injecting code into wrong hook. Can I inject it somewhere else and unset current with a snippet? Or is there a shortcode I can use? Found only shortcode for a link.

    Thanks

    Plugin Contributor Lap

    (@lapzor)

    Boxzilla hooks into wp_footer hook. Maybe the theme wraps the wp_footer with their mfn-gdpr div?

    I’d ask the theme support to look into this as well because hooking into wp_footer is a common thing to do for many plugins.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Box entered in wrong div’ is closed to new replies.