Home › Forums › WoodMart support forum › When i try to add custom code in my Child Theme funciton.php it’s not working
When i try to add custom code in my Child Theme funciton.php it’s not working
- This topic has 16 replies, 2 voices, and was last updated 11 months, 2 weeks ago by Luke Nielsen.
-
AuthorPosts
-
December 27, 2023 at 9:47 am #524793
[email protected]ParticipantHello i want to add some custom code to them via using child theme but it’s now working can you check it quick plase
December 27, 2023 at 10:21 am #524796
[email protected]Participantalso my website is very slow when i buy it. it was fast loading and good goolge page speed now it’s very low can you tell me what is the issue
December 27, 2023 at 12:43 pm #524871
Luke NielsenKeymasterHello,
1. Please send me access to the admin dashboard so I can check it.
2. Our theme is optimized for speed and should not significantly slow down your website. However, it’s possible that your website’s performance is affected by the content you have added. For instance, the use of too many plugins, large unoptimized images, or other resources can slow down your website.
We recommend that you remove any unnecessary plugins and install a JS & CSS optimization plugin such as WP Rocket. Our guide on how to optimize your website using our themes can be found here: https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/.
If you have any further questions, please don’t hesitate to reach out.
Kind Regards
December 27, 2023 at 1:15 pm #524885
[email protected]Participantplease help me that i am sharing the detials
December 28, 2023 at 10:35 am #525100
Luke NielsenKeymasterHello,
1. The functions.php file from the child theme is working well so most likely the issue is in the custom code itself.
2. Please confirm the permission for plugins deactivation, and switch to the parent/default theme. As soon as we complete the testing of this plugin we will enable it all back, You would better make the full backup of your site.
Kind Regards
December 28, 2023 at 10:39 am #525103
[email protected]ParticipantYes you can work on it i just want my website as smooth and fast loading
many ThanksDecember 28, 2023 at 1:30 pm #525166
Luke NielsenKeymasterHello,
Seems that your server is not stable because on the default theme, we can see that the site loads more than 5s and it’s not normal for the default theme. On the default theme, the page should load around 1s.
Kind Regards
December 28, 2023 at 1:52 pm #525178
[email protected]Participantbut they are saying. server is good can you tell me what i can say them
December 28, 2023 at 3:53 pm #525210
[email protected]ParticipantYou can see with default theme website speed is very good there is issue with theme can you check it please
Attachments:
You must be logged in to view attached files.December 28, 2023 at 6:07 pm #525258
Luke NielsenKeymasterHello,
It is not right to compare pages between our theme and the default WordPress theme since the second one doesn’t have any elements like a mega menu, product carousels and other. In fact, you just compare one page full of content with an empty page.
You need to do each step from our article to optimize the theme and thus have a high score in Insights: https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/.
Kind Regards
December 28, 2023 at 8:18 pm #525311
[email protected]ParticipantAfter i have followed your steps my website gone very slow again 🙁
can you please check it proper where is the issue i don’t have any extra plugins etc
please help me sirDecember 29, 2023 at 7:10 am #525392
[email protected]Participantagain new issue comes when i did disable mobile items in theme but still showing both in mobile desktop and mobile both are using in mobile
can you please check it what is the issue
Like below images i have disable in mobile but still showing . same like in proudct page also i have two titles 1 is for mobile view and 1 for desktop in desktop works fine but mobile showing both title
can you please check it quickAttachments:
You must be logged in to view attached files.December 31, 2023 at 12:22 pm #525767
[email protected]ParticipantHelllo can you tell me what is update for that
January 1, 2024 at 1:42 am #525821
Luke NielsenKeymasterHello,
Sorry for the delay.
1. Try to disable these options: https://prnt.sc/EKurCm6-ZOKl , save it in the Elementor and then enable them back and resave as well. Then recheck the issue.
2. Please clarify, is it slow in loading or bad results in the “Insights” tools?
Thank you for your time.
Kind Regards
January 1, 2024 at 7:28 am #525831
[email protected]Participant2. Please clarify, is it slow in loading or bad results in the “Insights” tools?
Yes in everywhere but with when i buy it with lot of content it was nice speed
can you please check itJanuary 2, 2024 at 10:32 am #525967
[email protected]ParticipantHi any update regarding my issue
January 2, 2024 at 11:28 am #525988
Luke NielsenKeymasterHello,
1. https://prnt.sc/zBGw-4IB5AkF – navigate to Theme Settings -> Performance -> Font & Icons -> define the “swap” value for the “font-display” field: https://prnt.sc/lQt_CsBM3R4R
2. https://prnt.sc/Y0nt57EXiHl8 – The number of DOM elements are generated in the process of content building. All WPBakery/Elementor page builder elements are DOM elements. If you want to reduce DOM elements you will have to reduce the content: widgets, products, menu items, and others.
3. Use the WP Rocket plugin to combine and minify CSS / JS
https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/#Step_4
4. Disable the “Gutenberg” styles: https://prnt.sc/sCfj-j6FI384 in Theme Settings -> Performance -> CSS.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register