Wordpress Slider Issue

  • Thread starter garyscottadamson
  • Start date
G

garyscottadamson

k So I’m trying to install a jquery slider. I tested it on my server on a static page which you can see here http://rocoru.com/test.html and it works perfectly.

In my wordpress installation, I referenced the 3 nescessary jquery files in the footer. The exact same ones that the above file references. (I even verified that they are correctly referenced by copying the urls from the source code and loading the files - this worked fine)

The issue is when I put the HTML for the slider, into my wordpress page. As I’ve done here... http://rocoru.com/?page_id=566. Absolutley nothing shows up.

I assume it is loading some of the Jquery files though because it isn’t displaying the content - even though it’s loading it (If you look at view source all the content is there)

So I was wondering why the slider isn’t working. There should be no technical difference between the static page and the wordpress page... But the wordpress page refuses to work.

Any ideas?
 

fisicx

Moderator
Sep 12, 2006
46,757
8
15,412
Aldershot
www.aerin.co.uk
No images for me.

Sliders are notoriously difficult to implement on wordpress. I don't know why but sometimes they work and sometimes they don't. It's probably a conflict with something else in your themes. Turn off all the other plugins, remove all the widgets and things and then see if it works.

Try running your slider as a plugin rather than putting the code in your theme files. That often highlights all sorts of errors.

As an aside. sliders look pretty but test have shown them to be really ineffective. Static images convert. Sliders don't.
 
Upvote 0
G

garyscottadamson

The images aren’t meant to work... But various colors should change along with text at the moment... And thanks, I’ll try the idea with a plugin.

And that’s an interesting thought. Might do some A/B testing on the theory!
 
Upvote 0
F

Faevilangel

Edit, in the footer, remove the jquery.js as WP has Jquery installed by default, and this is causing the conflict.

It's not working because the image paths are wrong, it should be:

Code:
<img src="<?php bloginfo('template_directory'); ?>/folder/image.png" alt="" />
 
Last edited by a moderator:
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,757
8
15,412
Aldershot
www.aerin.co.uk
If you look at your site in opera in accessibility mode nothing shows up. Which indicates that your jquery isn't working properly - it's blocking everything.

Remove the jquery and see if the text displays.
 
Upvote 0

seemly

Free Member
Oct 4, 2012
11
3
Hampshire, UK
Not sure if it will fix the issue, but it seems to me that you are referencing a directory that doesn't exist, or a typo to the plugin script?:

HTML:
your-site/wp-content/themes/v3/js/p/lugins.js
should read:
HTML:
your-site/wp-content/themes/v3/js/plugins.js
no??

(the forum wouldn't let me post the full URL as I am a noob... :rolleyes:)
 
Last edited:
Upvote 0

Latest Articles

Join UK Business Forums for free business advice