Home › Forums › WoodMart support forum › Completely disabling Woodmart lazy load
Completely disabling Woodmart lazy load
- This topic has 18 replies, 2 voices, and was last updated 3 years, 8 months ago by Artem Temos.
-
AuthorPosts
-
March 3, 2021 at 4:51 pm #270744
wildguitarsParticipantHello,
My website is currently undergoing a comprehensive optimization in the hands of an expert. He has implemented an external lazy load feature, which is clashing with the Woodmart lazy load feature.Over the past few years I have manually turned on the lazy load on many product pages and content pages (“lazy_loading=”yes”), and this is clashing with the external lazy load feature. Since this is enabled on hundreds of pages and I don’t remember which pages they are, the optimization expert has asked me to consult with you regarding turning the “yes” into “no” on all of the website’s pages at once. It will be impossible for me to do this manually.
Thanks in advance for your time.
March 4, 2021 at 7:05 am #270843
Artem TemosKeymasterHello,
Try to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_lazy_loading_init( $force_init = false ) {}
Kind Regards
March 4, 2021 at 10:21 am #270910
wildguitarsParticipantThank you for the prompt reply, Artem. I will have my web guy implement this code and let you know if I require any further assistance.
Best regards,
TomMarch 7, 2021 at 7:23 am #271550
wildguitarsParticipantHi Artem, please see the attached screenshot that the developer sent me; there seems to be an error.
Attachments:
You must be logged in to view attached files.March 7, 2021 at 9:40 am #271565
Artem TemosKeymasterHello,
It seems like you are trying to put it to the wrong file. You need to place it in the
functions.php
file in your child theme.Kind Regards
March 8, 2021 at 4:23 pm #271904
wildguitarsParticipantHi Artem,
My web guy has confirmed that he put the code in the functions.php file in the child theme. The problem seems to be with the code itself. Can you please re-confirm this?March 9, 2021 at 7:00 am #272009
Artem TemosKeymasterHello,
Could you please provide us your FTP access so we can check what is wrong?
Kind Regards
March 12, 2021 at 9:26 am #272953
wildguitarsParticipantDid you see the details that I provided?
March 12, 2021 at 9:28 am #272955
Artem TemosKeymasterHello,
Sorry, but we haven’t got any details from you yet. Please, send us your FTP access via the Private Content field.
Kind Regards
March 12, 2021 at 9:49 am #272974
wildguitarsParticipantPerhaps the message wasn’t sent because I didn’t include anything in the non-private content box? Anyway, FTP details below.
March 12, 2021 at 10:21 am #272987
Artem TemosKeymasterWe are not able to connect to your server with this FTP access https://gyazo.com/df6eafcf6fa1b59b3ca5c8d76dc6637b
Share your admin access as well.March 12, 2021 at 11:02 am #273019
wildguitarsParticipantFor me the FTP is connecting without any issues, please see the attached screenshot.
I have created an admin user for you, the details are in the private content.March 12, 2021 at 12:44 pm #273073
Artem TemosKeymasterThis WordPress login doesn’t give us administrator access. Also, send us a screenshot of where have you placed the code now.
March 12, 2021 at 4:52 pm #273139
wildguitarsParticipantApologies, I accidentally created the user on the live site and not the dev2 site. Updated details in the private content below.
March 15, 2021 at 7:36 am #273504
Artem TemosKeymasterHello,
We have added the code to the child theme. Could you please check how it works now?
Kind Regards
March 15, 2021 at 2:12 pm #273619
wildguitarsParticipantIt looks like it worked, thank you. Is adding the line to functions.php the only thing that you did?
March 15, 2021 at 2:28 pm #273621
Artem TemosKeymasterYes, we didn’t do anything else.
March 15, 2021 at 2:30 pm #273622
wildguitarsParticipantThanks for confirming this, Artem, and for your assistance in resolving this. You may close this ticket if necessary.
March 15, 2021 at 3:04 pm #273627
Artem TemosKeymasterGreat, we are glad to help you. Feel free to contact us if you have any questions.
-
AuthorPosts
Tagged: lazy load
- You must be logged in to create new topics. Login / Register