badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

changes in child theme don't show up anymore

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50526
    jurriaana
    Participant

    Since some updates the changes I make in the child theme don’t show up anymore except for changes in the stylesheet.
    This was working perfect and I had for example an customised content-extension.php file

    So I created a child theme, the correct way according to the WP-codex. I create the path to content-extensions.php en copy the original content-extensions.php to the child theme directory in inc/structure/ then I made the changes to content-extensions.php. A few updates ago this was working just fine but now it’s not showing these changes anymore.

    Has something changed? I don’t want to make changes to the original theme because then I cannot update so easily.

    #50531

    hi jurriaana,

    Making the child theme directory in inc/structure/ will not overwrite the parent theme. First of all you have to create a two files styles.css and functions.php file. First of all you have to unhook the functions and customize the code according to your necessary.
    We have written many times how to unhook functions. You can search on forum too.
    For more reference visit below link
    Link

    Thank you

    #50533
    jurriaana
    Participant

    Thank you for your reply.
    as I said I created according to the wp-codex thus I have created the style.css en functions.php.
    This should just work and is a standard way of working with child themes.

    The unhooking process confuses me. Why do I have to paste a full php page including html in my functions.php to be able to change things.

    #50543

    Hi jurriaana,

    We have designed our theme using action hook. So making the same structure will not overwrite the parent theme. Its our Coding Standard. The above link was just an example to help you. Adding that code to child theme will not make your site slow because anyway either from parent or from child theme your code must be loaded.
    Thank you

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.