How to use shortcode in theme template files?
In any case, if you need to add listing within theme template files, add this line of code to your theme template: 

if(function_exists("volocator_func")) 
echo volocator_func(); 
} ) 

Or 

Use this single line of code <?php echo do_shortcode( '[VO-LOCATOR]' ); ?>
57 of 116 people found this helpful.   




Powered by LiveZilla Live Chat Software