Home Forums WoodMart support forum child theme

child theme

Viewing 5 posts - 1 through 5 (of 5 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
    Keymaster

    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
    Keymaster

    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.

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