Child Theme Customisation

This support request was posted in BBQ by anuparyal

Request ID #5337 Resolved
  • Hi Juan,

    It’s been a little while – hope you are well.

    I am starting to customize themes to serve my needs with WooCommerce, so wanted to ask you about child themes for BBQ.

    I have created a child Theme. If I want to make changes to footer.php, would I create file called footer.php in the child theme as well? If so, how would I import everything and suppose I wanted to change the below, how would i write this into the child theme please?

    I want to change the text ‘Client Testimonials’ above, but how do I incorporate that into a child theme?

    Thank you.

    Best,
    Anup

    Hi Anup,

    Thanks for writing and hoping that you are doing well. I am doing well, thanks 🙂

    With regards to using child themes, nice move. It is the way to go when customizing themes. You can read more about all the tech specs here: http://codex.wordpress.org/Child_Themes

    If you want to make changes to footer.php, then you can replicate that same file on the child theme folder, and make the changes over there. Then, the parent theme is loaded, and if there are some mods on the child theme they’ll have priority over the parent theme.

    Best,
    Juan.

    Thank you Juan – this works!

    However, if and when you make changes to footer.php and create an update for the theme, my child theme will always have the old footer.php. Therefore, is this the most effective way of doing this?

    All I want to be able to do is reference certain php lines from the original footer.php so wondered if there is a way to do that, rather than copy the whole file. Example: style.css as an @import which inherits the code.

    Thank you.

    Anup

    Hi Anup,

    Well, that will happen all the time. Updates are meant to bring good things to the table. The marvellous thing about having the customization into the child theme is that you won’t be overwritten with the new version. So, if you want to get the new version of the file, you simple remove the one on the child theme.

    Fortunately we, as theme authors, take the backwards compatibility into account when releasing updates. And it is quite likely that the general structure will remain the same.

    What is that you want to change over the footer?

    Best,
    Juan.

    Thanks for the explanation Juan. I have already changed it – It was the Client Testimonial text.

    Best,
    Anup

    Hi Anup,

    Great, have a nice weekend.

    Best,
    Juan.

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

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server