Instruction:
What is raw_content?
If you use the KC to build your content on custom post-type, you must get the raw content to process. It's shortcodes format such as [kc_row id="12345"][kc_column][/kc_column][/kc_row]
global $post; if (function_exists('kc_do_shortcode')) { $raw_content = kc_raw_content( $post->ID ); echo kc_do_shortcode( $raw_content ); } else { // Use default method if KC is deactived echo do_shortcode ($post->post_content); }