Snippets

Crumina Team Edit king composer shortcodes view from child theme

Created by Alexandr Kostyrka
1
2
3
4
5
6
7
8
9
if ( class_exists( 'KingComposer' ) ) {
    add_action('init', 'crum_child_kc_templates_init', 99 );
}
function crum_child_kc_templates_init(){
	global $kc;
	$kc->set_template_path( get_template_directory().'/kingcomposer/' );
	$kc->set_template_path( get_stylesheet_directory().'/kingcomposer/' );
	// You can set multiple paths, the latest path will be the highest priority
}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.