Jump to content
Sign in to follow this  
donnanova

not sure where to put code

Recommended Posts

donnanova    0
donnanova

I have a content box under my nav-bar where I want to put a slider. When i put the short code in the content box it just displays the short code for the world to see. In the instructions it states: "Inserting a Slider into a theme Template file Use <?php echo do_shortcode("[sugar_slider id=#]"); ?> to display a slider anywhere in your template files." I have no idea where to put the above coding :( I would appreciate assistance. my site Link

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi, You would need to add this to your ContentBox: [code][sugar_slider id=#][/code] and not [code][/code] If that is what you were doing.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
donnanova    0
donnanova
Hi Danny, No, I have been using the short code [code] [sugar_slider id=#][/code] and all it does is display the short code on my homepage. I have used many different sliders and they simply are not working. One slider showed the slider box and slider controls, but without the pictures I added to the slider.

Share this post


Link to post
Share on other sites
Rob    547
Rob
The instructions you cite are for a template, not for addition to the body of a post or page. You'd have to ask the plugin author, which isn't us, unfortunately.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×