Home › Forums › WoodMart support forum › Script in the header breakes the site
Script in the header breakes the site
- This topic has 8 replies, 2 voices, and was last updated 3 minutes ago by Artem Temos.
-
AuthorPosts
-
November 21, 2024 at 10:09 am #614085
senka.rankovicParticipantHello,
I have some scripts for tracking and consent mode in the header. They were working fine but since the update site doesn’t work with them. Also I’ve tried to send them to you, but it wouldn’t allow it. I’m sending you print screen and the file for you to see the scripts.
Thank youAttachments:
You must be logged in to view attached files.November 21, 2024 at 10:15 am #614089
senka.rankovicParticipantI will try with pdf
Attachments:
You must be logged in to view attached files.November 21, 2024 at 11:35 am #614162
Artem TemosKeymasterHello,
Thank you so much for contacting our support center.
To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.
Regards
November 21, 2024 at 1:13 pm #614249
senka.rankovicParticipantIt seems to have issues with Woodmart theme, I’ve tested with Storefront and there is no issues. But have in mind that most of the functionalities come from Woodmart, like menus and layouts. When I test with woodmart the images, cart and sticky menu doesn’t load.
November 21, 2024 at 1:25 pm #614258
Artem TemosKeymasterIn this case, you need to check why Wordfence plugin blocks this particular request. If you can’t find the reason in the plugin’s logs, contact the plugin’s developers for instructions.
November 21, 2024 at 1:42 pm #614266
senka.rankovicParticipantI’m not sure I understand.
When I copy these scripts to woodmart theme header directly, without plugin, it’ the same problem.
And your plugin blocked the scripts when I tryed to send them to you. I’m not sure what is the problem, because scripts worked before without issues.November 21, 2024 at 4:17 pm #614326
Artem TemosKeymasterOh, sorry. I thought that you sent a screenshot from your website.
Could you please clarify how can we test if the scripts work or not on your website? We need your admin access and the ability to switch between themes to see how our theme influences this issue.
November 21, 2024 at 4:45 pm #614350
senka.rankovicParticipantOk,
Because it is a live webshop you need to use plugins for testing
I use plugin Health Check & Troubleshooting for testing and WP Headers And Footers for the screepts.
At the moment WP Headers And Footers is turned off because site doesn’t work otherwise, you can turn it on before testing.
I’m sending you details for admin accsessNovember 21, 2024 at 4:54 pm #614360
Artem TemosKeymasterOK, but we also need instructions from you on how to verify if the code works or not.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register