View Full Version : wordpress and simple gallery

02-11-2011, 06:32 PM
1) Script Title:
Simple Controls Gallery v1.3
2) Script URL (on DD):
3) Describe problem:

Ive bein trying to get this script to work on a wordpress index.php
I double checked/reloaded all scripts and js files but no luck, nothing shows up in the banner space on the page. I also checked path to images which is fine too. I would have thought this was maybe a problem with wordpress but I have gotten the same script to work fine in three other sites build around it. Are they're any known issues regarding wordpress?

site add: www.rentafriend.ie

02-11-2011, 06:56 PM
the links to jquery and to simplegallery.js do not work right now. This is from your sourcecode:

<script type="text/javascript" src="simplegallery.js">

I think you need something like this instead:

<script type="text/javascript" src="/wp-content/themes/rent_a_friend_theme/simplegallery.js">

or you could begin with the absolute path

<script type="text/javascript" src="http://www.rentafriend.ie/wordpress/wp-content/themes/rent_a_friend_theme/simplegallery.js">

that should work, and you can cut it from the beginning to get the relative path that works

The same goes for the "jquery-1.2.6.pack.js"

02-12-2011, 08:01 AM
ah, that solved it, I had thought the path would read from wherever the index.php was located but I guess not. Thanks a million for the help Azoomer, had me rightly confused.