How To Override a Command In a Parent Theme's Functions.php File
-
I’m trying to figure out the right syntax for overriding a command in a parent functions file from within the child theme’s functions.php.
I’m currently using a child theme of Minimatica which ran into an issue with its file uploader after the last upgrade as discussed here:
https://www.ads-software.com/support/topic/issues-with-35?replies=17Daniel, the Theme Author provided a new solution which does work but it requires replacing 2 lines in the functions.php file as described here:
https://www.onedesigns.com/support/topic/how-to-fix-issues-with-media-uploader-with-minimatica-in-wordpress-3-5.Replacing these lines in the original functions file works but I know it is only temporary until the next update. However, I can’t seem to get this to work from the child theme’s function file.
My child function’s file was empty except for the two new lines (Wrapped in php code of course.)<script src=”https://pastebin.com/embed_js.php?i=YYGk8F7d”></script>
Not sure what I’m doing wrong.
Any Help would be appreciated.
Cheers!
jmw
- The topic ‘How To Override a Command In a Parent Theme's Functions.php File’ is closed to new replies.