Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
I cant get images to upload
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 18, 2013 - 10:33 am

need to talk to colleagues here:

Steve: Was it the JS file that needed moving or the CSS file? I can't remember. and what will be need? This guys theme functions file?

Marc: I can't really recommend any particular themes. Most are OK. So called 'premium' themes often seem the worse. Any theme that tries to be too clever can often be badly constructed. Obviously the WP themes are good and I know Steve here is very fond of Genesis and its themes.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 18, 2013 - 11:48 am

so yeah, just need to make sure that bootstrap.js is loaded BEFORE the wp jquery ui js is loaded other wise bootstrap stomps on the jquey ui...

so find where the bootstrap.js is loaded (hopefully its registered/enqueued)...and jquery ui...  you will likely need to deregister jquery ui and then reregister it with a dependency on bootstrap.js to make sure bootstrap is loaded first...

worth adding that wp is considering adding in bootstrap in 3.7 or 3.8 which would fix the mess caused by themes using something that stomps on a wp included js library.  They can get away with it on many sites because jquery ui is used by wp in the admin only so generally no conflict...  but feature rich plugins that use jquery ui on front end like simple press will have problems...

Avatar
Marc Wright
Member
Free Members
sp_UserOfflineSmall Offline
Sep 19, 2013 - 6:10 am

Thanks guys, how do i repair this? Just remember i dont know much about coding.embarassed

Avatar
Marc Wright
Member
Free Members
sp_UserOfflineSmall Offline
Sep 19, 2013 - 6:27 am

Hi again,

 

Also i have loaded different themes.. and it still does the same

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 19, 2013 - 7:02 am

So do ALL of these themes you are trying use the Bootstrap library? We have come across a small few but not that many. This is an important question. Are you by any chance trying multiple themes form the same source? And for the record - if you use the WordPress default theme does that enable the uploader to work as it should?

As to a fix... well this is where it can get tricky. The first thing is to find out where in the code it is being loaded. When we have that - and hoping that it uses the proper and correct WordPress API (functions) to load components - then we can usually suggest a fix. But we can't see your theme source code and there is no way of knowing from the generated source.

Most commonly we would expect scripts to be loaded in the themes functions.php file and if done properly it would use  statement like wp_enqueue_script() with bootstrap.js or maybe bootstrap.min.js or some such construct as the parameter.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Marc Wright
Member
Free Members
sp_UserOfflineSmall Offline
Sep 19, 2013 - 8:02 am

I dont know if they all use bootstrap, as i said i dont know much about coding. But with all the themes i get the same issue

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 19, 2013 - 8:10 am

But I have described how to find out whether they are using Bootstrap or not...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 19, 2013 - 9:59 am

you said all themes... we have asked about the default wp theme (pick one twentyeleven, twentytwelve or twentythirteen)...  but no clear answer..  is that included in all - ie still happens?  if so, can you leave that up and let us know so we can investigate further as it removes the bootstrap problem we have seen previously on your site...

Avatar
Marc Wright
Member
Free Members
sp_UserOfflineSmall Offline
Sep 19, 2013 - 1:51 pm

Hi Guys,

 

It did the same with twentytwelve and twentythirteen, I was when i loaded the "Book shop" theme it caused the problem.

I just deleted my install and started from scratch. Thanks for the help anyways.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 19, 2013 - 8:20 pm

let us know how it goes...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17367
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626