• Resolved nicodweb

    (@nicodweb)


    Your plug doesn’t work here.Ihave build a very light template to test it and it still don’t work.. Any idea? (uploads folder is 775)

    <?php
    /*
    Template Name: Test dev
    */
    ?>

    <!DOCTYPE html>
    <html lang=”en”>
    <head>
    <meta charset=”utf-8″/>
    <?php wp_head(); ?>
    </head>
    <body>
    TEst adblock simple
    </body>
    <?php wp_footer(); ?>
    </html>

    https://ww.wp.xz.cn/plugins/adblock-notify-by-bweb/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    Do you have 3 files enqueuing by the plugin ?
    The CSS in the header, and 2 JS in the footer ?

    + you should have 2 divs and un inline script added in the bottom before those 2 js files.
    The 2 divs are for the modal box and the adbblock detection, and the inline JS contains the parameters for the modal box.

    Thread Starter nicodweb

    (@nicodweb)

    Hi brice.
    When I inspect source code Ihave
    :
    -jquery,
    -jquery migrate
    – 2 div (I think for modal box)
    – a script ( <![CDATA[ */var ajax_object )

    but I can’t see the css cal

    Hi again,
    So 3 things are missing.
    The CSS in the header and both JS in the footer.
    Are you in debug mode? Do you have any JS or PHP error?
    Did you turned off all you current plugins?
    Cheers

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

The topic ‘Don't Work even with basic document’ is closed to new replies.