Talk about your favorite plugins and ask others for advice about finding or using Wordpress plugins
A Slider (jquery)
October 29, 2011 at 4:05 pm #1299
It looks like the plugin automatically adds the script to the header, but you do need to add the php to your theme in the files where you want the slider to appear. Depending on your theme, and where you want it to appear, that might also be in header.php (for every page on your site), index,php (for the front page/archive pages/etc, depending on how you structure your code). Alternatively, the plugin supports placing sliders in posts using a short code, so you could put a slider in a “sticky post” rather than edit the php of your theme.October 29, 2011 at 8:42 pm #2241
That’s great. Thanks Andrew. I’ll give it a try.October 30, 2011 at 5:11 pm #2243
What browser are you using? The images rotate (dissolve) every few seconds for me.October 30, 2011 at 5:20 pm #2244
typically, I use chrome.
what page are you looking at because i just removed the one I sent a moment ago.October 30, 2011 at 9:21 pm #2245
I dumped SmoothSlider, got tired of it.
I’m trying WOWSlider now and I plopped the php ‘< ?php wowslider(1); ?>‘ into my ‘page_blog.php’ template. The page ‘Blog1’ uses this template and is located at ‘http://jamacob.com/?page_id=124’.
In the WP Dashboard, though, there’s a preview of the slider in WOWSlider Settings and the JS slider arrows exist and the toggle has a nice effect when hovering over the black radio buttons in the top right corner of the image.
Any ideas why, I think it’s the JS, isn’t loading on this particular template (‘page_blog.php’)? Do I need to enqueue the script locally to the template ‘page_blog.php’? That doesn’t seem like it would make sense.
What would you think is going on?October 31, 2011 at 1:25 pm #2246
Swapped out to the Twenty Ten theme and the slider works fine.
Any things you would suggest looking at to see why a jQuery Slider wouldn’t work in my particular theme (it’s a custom one)?October 31, 2011 at 6:00 pm #2247
I just took a look at http://jamacob.com/?page_id=124 and the home page. I am seeing a “slider” in your banner on both pages, but with no controls (arrows etc). Is this what you are talking about?
I also see that your web site is loading style sheets for smooth_slider and wow-slider. Are both plugins loaded?
As far as why the slider is not working in your theme, I suspect a conflict with either a plugin or the theme itself.
I have seen sliders not work with WordPress if they needed an earlier version of jquery than WordPress is running (3.2.1 is running jquery 1.6.1), however, if the slider works with twentyten, that rules that out.
I would expect to find the conflict with another plugin. Can you disable all other plugins (leave buddypress enabled) and see what happens? If the problem still occurs we’d need to look at a conflict with either buddypress or your theme.October 31, 2011 at 10:09 pm #2248
I appreciate the thoughts.
I have abandoned Wowslider and SmoothSlider and have applied the slider that’s already built in to the theme. It’s not exactly what I wanted and is a pain to configure, very finicky.
Seems that the js of the slider built into my theme is interfering with any other sliders I have installed into the theme. Any insight into how to implement another JS/Jquery device (like a slider) when there’s a conflict like that?
You must be logged in to reply to this topic.