Support Forum
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.
YELLOW
SWORDFISH
|
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...
Visit Cruise Talk Central and Mr Papa's World
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.
YELLOW
SWORDFISH
|
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...
Visit Cruise Talk Central and Mr Papa's World