Files in framework folder - by americanpatriot

This topic has 4 replies, 2 voices, and was last updated 10 years, 2 months ago ago by Eva Kemp

  • Avatar: americanpatriot
    americanpatriot
    Participant
    October 14, 2014 at 02:49

    Why on earth did you guys place standard files in the framework directory that cannot be edited and placed in a child theme? For example, I’d like to change the text in the mini-cart to say something other than “No products in the cart.” but rather than finding the code to change in royal/woocommerce/cart/mini-cart.php you guys have placed it in royal/framework/woo.php. I can change the text from there but when the theme is updated there’s a chance it will be overwritten and I’ll have to go back and change it again.

    From my understanding only templates files can be overridden in a child theme and the files located in the framework folder are not template files.

    Is there a way I can place it in my child theme so the changes won’t be lost in an update?

    If you need login information it’s in the private content.

    AP

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 14, 2014 at 12:24

    Hello,

    Please read this article http://codex.wordpress.org/Child_Themes > “Referencing / Including Files in Your Child Theme” paragraph. There you’ll find how to add files from subfolders.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: americanpatriot
    americanpatriot
    Participant
    October 14, 2014 at 15:02

    Hmmmm…..I’m not a php programmer and reading and understanding what that paragraph said was like reading a foreign language for me but I’ll try and figure it out.

    Thanks!

    AP

    Avatar: Eva
    Eva Kemp
    Support staff
    October 15, 2014 at 08:14

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Files in framework folder’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.