SHARE
TWEET

Untitled

a guest Oct 10th, 2013 33 Never
  1. <?php
  2. if ( ! function_exists( 'nevia_child_setup' ) ) :
  3. function nevia_child_setup() {
  4.  
  5.     require( get_stylesheet_directory() . '/inc/shortcodes.php' );
  6.        
  7. }
  8. endif;
  9. add_action( 'after_setup_theme', 'nevia_child_setup' );
  10.  
  11. function shortcode_cleaner() {
  12.     remove_shortcode( 'recent_blog_carousel' );
  13.     add_shortcode( 'recent_blog_carousel', 'pp_recent_blog_carousel_child' );
  14. }
  15. add_action( 'init', 'shortcode_cleaner' );
  16.  
  17. ?>
RAW Paste Data
Top