Title: Shortcode not working on child theme
Last modified: August 22, 2016

---

# Shortcode not working on child theme

 *  [eckul](https://wordpress.org/support/users/eckul/)
 * (@eckul)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/)
 * Hi, I am trying to use shome shortcode in a child theme I have created. but it
   will not show up. When I change back to the default them it works so clearly 
   it’s the child theme. What have I missed? Cheers

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

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/#post-5427380)
 * Wondering if this also happens with all other plugins deactivated. Have you tried
   deactivating all but that shortcode plugin?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/#post-5427446)
 * what shortcode exactly are you trying, and what theme are you using?
 *  Thread Starter [eckul](https://wordpress.org/support/users/eckul/)
 * (@eckul)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/#post-5427484)
 * Hi guys, I am using wp social stream. I have tried deactivating all the plugins
   but it doesn’t work unless I change back to the Twenty fourteen theme. The shortcode
   I am using is [wp_social_stream] and the theme is a custom child theme I have
   created based on twenty fourteen. I’ll ask for support from the plug in maker
   also. Any ideas?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/#post-5427489)
 * are you adding or removing any filters in functions.php of the child theme?
 *  Thread Starter [eckul](https://wordpress.org/support/users/eckul/)
 * (@eckul)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/#post-5427499)
 * Hi, All I have in my child fucntions.php is below. I should mention that all 
   the css and js for the plugin is loading on the page but it just wont pull in
   the information with the shortcode. Very weird.
 *     ```
       <?php
   
       add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
       function enqueue_child_theme_styles() {
           wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
           wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style')  );
       }
   
       add_filter( 'template_include', 'var_template_include', 1000 );
       function var_template_include( $t ){
           $GLOBALS['current_theme_template'] = basename($t);
           return $t;
       }
   
       function get_current_template( $echo = false ) {
           if( !isset( $GLOBALS['current_theme_template'] ) )
               return false;
           if( $echo )
               echo $GLOBALS['current_theme_template'];
           else
               return $GLOBALS['current_theme_template'];
       }
       ```
   
 *  Thread Starter [eckul](https://wordpress.org/support/users/eckul/)
 * (@eckul)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/#post-5427516)
 * Acutally, just had a though, this may just be becuase of a Jquery conflict, I’ll
   check it out and get back to you. Cheers
 *  Thread Starter [eckul](https://wordpress.org/support/users/eckul/)
 * (@eckul)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/#post-5427517)
 * There is a jquery problem, but that is only because the function can’t be found.
   Damn, back to the drawing board for me.

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

The topic ‘Shortcode not working on child theme’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [eckul](https://wordpress.org/support/users/eckul/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/shortcode-not-working-on-child-theme/#post-5427517)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
