Remove functions from child theme
-
Hi,
I’m having problems removing functions from a .php file from the parent theme. For example I want to remove the footer. The code in the file is
function thinkup_input_copyright() { global $thinkup_footer_copyright; printf( __( 'Developed by %1$s. Powered by %2$s.', 'lan-thinkupthemes' ) , '<a href="//www.thinkupthemes.com/" target="_blank">Think Up Themes Ltd</a>', '<a href="//www.wordpress.org/" target="_blank">Wordpress</a>'); }I have tried a lot of things but nothing has worked yet. I have the same file name and same folder structure etc..
In another file, I want to overwrite a function but I don’t know how to. I tried to copy the parent php file to my child theme and changed the things I wanted to change but then I got this error:
Fatal error: Cannot redeclare...Thank you for your help!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Remove functions from child theme’ is closed to new replies.