Secific script won't work in child functions.php

This topic has 5 replies, 2 voices, and was last updated 7 years, 10 months ago ago by Jack Richardson

  • Avatar: Roberts
    Roberts
    Participant
    January 12, 2017 at 11:21

    Hello! I am using legenda-child themes funcions.php file to remove some details from Woocommerce on-hold emails.
    Thing is, everything works when is added to Legenda’s functions.php but the same script does not work if inserted in child themes functions.php file. What could be wrong there?

    Script I am using – https://gist.github.com/vanbo/6adcc700c13fa8a746d8#file-remove-bank-details-from-order-email-php

    4 Answers
    Avatar: Roberts
    Roberts
    Participant
    January 12, 2017 at 12:43

    Is it possible that some of sites child theme elements (templates) don’t work after WordPress 4.7.1 update?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 13, 2017 at 15:28

    Hello,

    Could you please check if the same issue happens with default WordPress theme?

    Thank you.
    Best regards,
    Jack Richardson.

    Avatar: Roberts
    Roberts
    Participant
    January 13, 2017 at 15:51

    I think I found what’s wrong. Still learning things. My apoligies

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 16, 2017 at 13:42

    Hello,

    Glad to hear that.

    Best regards,
    Jack Richardson.

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

The issue related to '‘Secific script won't work in child functions.php’' has been successfully resolved, and the topic is now closed for further responses

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