• Resolved ai4k Web Design

    (@soylaostia)


    Im trying to add a code to avoid the error of passive listener in pagespeed.

    1. how can I add a code in the functions.php
    2. Or how to add the code after the jQuery
    3. and how to avoid the syntax errors from wpcode?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @soylaostia,

    WPCode helps you add snippets using the admin interface and it does not edit any files on your server like functions.php. Adding a new PHP snippet set to “Run Everywhere” will act similar to adding code to functions.php.

    If you are getting syntax errors the first thing to check is if you have the correct Code Type selected in the top right and if that is correct you will have to fix the syntax errors by adjusting the code.

    If you select the auto-insert location Site Wide Footer you can assume the code was added after jQuery.

Viewing 1 replies (of 1 total)
  • The topic ‘passive listener pagespeed’ is closed to new replies.