Title: Remove functions from child theme
Last modified: August 22, 2016

---

# Remove functions from child theme

 *  [raggie](https://wordpress.org/support/users/raggie/)
 * (@raggie)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/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)

 *  [Matt Knowles](https://wordpress.org/support/users/aestheticdesign/)
 * (@aestheticdesign)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/remove-functions-from-child-theme/#post-5445490)
 * Instead of changing the function, try changing the theme’s footer.php template
   file. In your child theme’s footer.php, you can remove the call to the function.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/remove-functions-from-child-theme/#post-5445501)
 * what theme are you using?
 *  Thread Starter [raggie](https://wordpress.org/support/users/raggie/)
 * (@raggie)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/remove-functions-from-child-theme/#post-5445521)
 * Thanks aestheticdesign, that worked for the footer part. Still having problem
   doing pretty much the same thing for the featured areas in my theme, in the header.
   php i found the following code:
 * `<?php thinkup_input_homepagesection(); ?>`
 * I tried to change it to e.g. _thinkup\_input\_homepagesection1_ and also change
   it in the other php file where the code is:
 * `function thinkup_input_homepagesection() {`
 * But I get “Fatal error: Call to undefined function thinkup_input_homepagesection1()”
   so obviously this is not the right way to do it?
 * alchymyth, I am using the minamaze theme.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/remove-functions-from-child-theme/#post-5445540)
 * as any solutions to your question will be very theme specific, please try posting
   your question in the theme’s forum at [https://wordpress.org/support/theme/minamaze/](https://wordpress.org/support/theme/minamaze/)
   to possibly attract the theme’s author’s attention.
 *  Thread Starter [raggie](https://wordpress.org/support/users/raggie/)
 * (@raggie)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/remove-functions-from-child-theme/#post-5445546)
 * alright! Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Remove functions from child theme’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [raggie](https://wordpress.org/support/users/raggie/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/remove-functions-from-child-theme/#post-5445546)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
