I am using a plugin that creates post via shortcodes. I want to call one of the shortcodes in my main index template. I am trying to call like this: <?php echo do_shortcode('[SalePrice]'); ?></p> but it doesn't seem to work. Can you share any experience you might have on this?
Could be the shortcode is not being interpreted by wordpress. Try this and see what you get - <?php echo apply_filters( 'the_content',' [SalePrice] '); ?>