Title: Shortcodes and Child Theme
Last modified: August 22, 2016

---

# Shortcodes and Child Theme

 *  Resolved [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/shortcodes-and-child-theme/)
 * Simple request– can you wrap your shortcode functions with “if !function_exists”
   so that certain ones can be customized without having to replace the whole file?
 * Thanks and love the theme.
 * edit: actually, looks like the sortcode file isn’t actally replaceable in the
   standard way either?

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

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/shortcodes-and-child-theme/#post-5598070)
 * Hi syntax. I haven’t actually replaced any of the theme shortcodes but I don’t
   think you have to replace the entire file. [Here’s a post](https://wordpress.org/support/topic/override-themes-shortcodesphp)
   that gives an example of replacing a shortcode in the child theme. Hope that 
   helps.
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/shortcodes-and-child-theme/#post-5598073)
 * cool, thanks

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

The topic ‘Shortcodes and Child Theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Matt](https://wordpress.org/support/users/syntax53/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/shortcodes-and-child-theme/#post-5598073)
 * Status: resolved