How are you calling the shortcode in your template files?
Just as a FYI, the way to do this is using this sort of code:
echo do_shortcode ('[shortcode_in_here]');
That should be enough for the shortcode to be displayed in a template file.
1.<?php do_shortcode(‘[shortcode]’)?>
2.<?php echo do_shortcode(‘[shortcode]’)?>
i tried both of them but not working
I am using this plug in
http://www.extendyourweb.com/wordpress/jquery-horizontal-scroller/
So… What is showing? What errors are you seeing? What is it doing that it’s not meant to, or what isn’t it doing that it is meant to?
As a tip, saying “doesn’t work” gives us absolutely nothing to go by. You really need to add more details so we can at least get some idea of what is actually happening.
when I trying this code <?php echo do_shortcode('[scroller 1 /]')?> the output is [scroller 1 /]
You don’t need to have the slash at the end. You can use
[scroller 1]
if the sortcode works that way.
But if it’s not owrking there’s two choices. Either the plugin is installed but isn’t activated (which I don’t think is the case as you said that it works other places), or there’s a problem with the plugin, and if that’s the case you should ask the author about that.