Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #523
    Dawid
    Guest

    Hi,
    I am using a custom wordpress theme and my cookie notice won’t display.
    What is technically required for the notice to pop-up?

    #539
    Bartosz
    Keymaster

    Can you provide a link to your site?

    #3829
    Charlene TOGNOLI
    Participant
    This reply has been marked as private.
    #3831
    Bartosz
    Keymaster

    It was tough one, but here you have the reason:

    English version – working:
    <script type='text/javascript' src='https://support.priceminister.com/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script>

    French version – not working:
    <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js?ver=02082013_1230'></script>

    #3832
    Charlene TOGNOLI
    Participant

    Thank you for your attention !

    It is always very ironic this kind of bugs [I am novice WP] :)

    I see my file “wp-includes” but I don’t know which file I have to modify (FI : I have my file jquery inside wp-includes).
    In fact, in both files functions.php, i have this ‘https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#8217;

    So, I have to make my include in a file of wp-content> themes > Toto > functions.php or somewhere else ?

    Thank you,

    Charlène

    #3833
    Bartosz
    Keymaster

    The problem is that you’re deregistering jQuery shipping with WordPress and include custom version manually instead. It should never be done. Just use the jQuery version shipping with your current WordPress – it should be automatically embedded into your theme.

    #3855
    Charlene TOGNOLI
    Participant

    Hello,

    Thank you very much for your help.

    I removed this element in functions.php :
    wp_deregister_script(‘jquery’);

    [I don’t know why my predecessor had put it in the site :)]

    It’s ok now !

    #4585
    Eva C
    Participant
    This reply has been marked as private.
    #4586
    Bartosz
    Keymaster

    This definitely points to a JS conflict – one of your plugins must be including JS scripts on our plugin settings page.

    #4592
    Eva C
    Participant

    Thanks for pointing me in the right direction. FYI, GT3 Page Builder plugin was the culprit.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.