Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1125967
    Ian_Bonner
    Participant

    I have tried to add Google Analytics to my website but unfortunately I have now been locked out!

    ————————————————–
    The error message I am getting is:

    Parse error: syntax error, unexpected ‘<‘ in /www/sites/baa/60b/www.bcreativebranding.co.uk/web/wp-content/themes/x-child/functions.php on line 17

    ————————————————–

    Would it be possible for someone to have a look at it for me please?

    I will provide the code underneath with my login details.

    X-Theme, Cornerstone and WordPress are fully updated and I am using Integrity stack.

    Thank you in advance.

    #1125978
    Ian_Bonner
    Participant
    This reply has been marked as private.
    #1126049
    Rahul
    Moderator

    Hey There,

    Thanks for writing in!

    It seems an Internal script problem which can be fixed by following this thread. https://community.theme.co/forums/topic/google-analytics-cant-verify-problem/

    Let us know how it goes!

    #1126056
    Ian_Bonner
    Participant

    Thank you for your reply. The problem is that I can’t login to change the code. Now when I attempt to login to the dashboard I get the error message I posted in the first comment.

    Thanks in advance.

    #1126147
    Ian_Bonner
    Participant
    This reply has been marked as private.
    #1126610
    Rad
    Moderator

    Hi there,

    You added it directly to your child theme’s functions.php. Analytics is HTML code and not a PHP code. I went ahead and fixed it.

    Cheers!

    #1126885
    Ian_Bonner
    Participant

    Thanks once again for your excellent support. 😊

    #1126964
    Lely
    Moderator

    You’re welcome!

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1125967 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>