Home › Forums › WoodMart support forum › function.php file does not work in CHILD theme
function.php file does not work in CHILD theme
- This topic has 7 replies, 2 voices, and was last updated 6 years, 5 months ago by
Artem Temos.
-
AuthorPosts
-
June 19, 2019 at 4:12 am #129157

lavitasarimParticipantHello there.
I updated the theme.
I threw the “function.php” file from the main theme into the CHILD theme. And then the pictures won’t open.
What is the reason of this? I haven’t made any changes to “function.php”.Can you help me? Thanks.
Attachments:
You must be logged in to view attached files.June 19, 2019 at 6:15 am #129165
Artem TemosKeymasterHi,
You don’t need to copy this file from the parent theme. Child theme should have its own functions.php and you can get it from the downloaded package from ThemeForest.
Regards
June 19, 2019 at 6:23 am #129170
lavitasarimParticipantHello there.
But ThemeForest doesn’t have the function.php file for the CHILD theme!
Until now, I was making changes to the function.php file that I copied from the main theme.
Is there a change?
Thanks.
June 19, 2019 at 10:24 am #129171
Artem TemosKeymasterIt has. Could you please send us a screenshot from the child theme folder downloaded from ThemeForest?
June 19, 2019 at 11:17 am #129219
lavitasarimParticipantHello there.
When I downloaded ALL files from ThemeForest, I was able to get the CHILD theme.
However, to change the sidebar H tags, I took the corresponding place from the theme-setup.php file and pasted it into the function.php file.
But it didn’t work. Site not opened.
I’m enclosing the new version of function.php. What’s wrong?
Thanks.
Attachments:
You must be logged in to view attached files.June 19, 2019 at 12:00 pm #129227
Artem TemosKeymasterWe are not able to check it in such a way. If the site doesn’t work, then there is some PHP error appears. Try to check your PHP error logs.
June 19, 2019 at 1:56 pm #129278
lavitasarimParticipantHello there.
Previously, we changed H tags as in the link below.
It’s not working right now. What is the problem?
Could you help?
Thanks.
June 20, 2019 at 12:04 am #129288
Artem TemosKeymasterAs we said, we can’t know why the code is not working now. You must check the PHP error logs to understand the problem.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register
