Home Forums WoodMart support forum child theme

child theme

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #631281

    sportshopbg.com
    Participant

    I updated the theme from 7.6 to 8.0.6 but it wouldn’t load the child theme

    #631448

    Luke Nielsen
    Member

    Hello,

    Do you mean that the theme doesn’t work well when the child theme is activated?

    Thank you for your time.

    Kind Regards

    #631535

    sportshopbg.com
    Participant

    After the update the home page was not working and it was saying error with the child theme
    Uncaught Error: Call to undefined function woodmart_get_content_class() in /home/belioonl/public_html/wp-content/themes/woodmart-child/page.php:16
    Stack trace:
    #0 /home/belioonl/public_html/wp-includes/template-loader.php(106): include()
    #1 /home/belioonl/public_html/wp-blog-header.php(19): require_once(‘/home/belioonl/…’)
    #2 /home/belioonl/public_html/index.php(17): require(‘/home/belioonl/…’)
    #3 {main}
    thrown

    I added a check for the existence of the function in the child theme’s page.php and functions.php
    and started working the site

    Have I redacted the files correctly and is it not slowing down like that?

    #631568

    Luke Nielsen
    Member

    Hello,

    If on the parent theme, you don’t have those issues that are related to the speed then it’s something with the child theme so first, enable the parent theme and check how it works.

    Kind Regards

    #631583

    sportshopbg.com
    Participant

    The child theme is installed and working. The question is whether these codes interfere with something or slow down.

    #631860

    Luke Nielsen
    Member

    Hello,

    In order to check whether these codes interfere with something or slow down the website, you need to enable the parent theme – https://prnt.sc/3EgPppekqgaQ and check those issues when the parent theme is enabled – https://prnt.sc/Xjyhv1D2Dq9L

    Let me know the result.

    Kind Regards

Viewing 6 posts - 1 through 6 (of 6 total)