I have a custom templates and I used custom shortcodes to displayed it in the page. But the shortcode is not working, its displayed as plain text only. I already deactivate and reactive the plugin but still have same issue.
I have a custom templates and I used custom shortcodes to displayed it in the page. But the shortcode is not working, its displayed as plain text only. I already deactivate and reactive the plugin but still have same issue.
I'm using this [info_box_calculator] but it display as plain text or sometimes it gives me a blank page
How to fix this?
function info_box_calculator(){
ob_start();
get_template_part('page-calcu-info-box');
return ob_get_clean();
}
add_shortcode('info_box_calculator', 'info_box_calculator');
get_template_part('page-calcu-info-box');