Demo1




>


‘title’,
‘order’ => ‘ASC’,
‘post_type’ => ‘templatera’,
‘post_status’ => ‘publish’,
‘posts_per_page’ => 100,
);
$jscomposer_templates = get_posts( $jscomposer_templates_args );

if(count($jscomposer_templates) > 0) {
foreach($jscomposer_templates as $jscomposer_template){
if($jscomposer_template->post_title == ‘Header 2’){
echo do_shortcode($jscomposer_template->post_content);
}
}
}
}
?>

>