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
Cannot upload files with File Uploader
Avatar
erin peloquin
Member

Silver Members
sp_UserOfflineSmall Offline
Sep 19, 2018 - 11:46 am

Also, from this post, I did just check the button to lead javascript in the footer and cleared the cache. It didn't help.

Avatar
erin peloquin
Member

Silver Members
sp_UserOfflineSmall Offline
Sep 19, 2018 - 12:19 pm

Actually, I think I fixed it. It's related to Beaver Builder.

I inserted this code:

function remove_bb_bootstrap() {
wp_dequeue_script('bootstrap');
}
add_action( 'wp_enqueue_scripts','remove_bb_bootstrap',1000);

And now the buttons show properly. I don't really know what that code means, so would you please tell me if anything looks problematic in relation to simple press?

 

Thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 19, 2018 - 2:22 pm

Yes related to your theme. It's loading Bootstrap which conflicts with the WP jQuery UI... Csn work together - just have to load in right order which the theme should do properly...

Of course removing it if not needed can work too... 😉  the forum certainly won't use it... If problems arise, we can help with the order too... 

Avatar
erin peloquin
Member

Silver Members
sp_UserOfflineSmall Offline
Sep 19, 2018 - 2:24 pm

I would rather change the load order if you can help me with that. It seems less severe. Thank you!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 19, 2018 - 3:15 pm

Did you find the info on removing it here? Those same topics have details about changing the load order too (requires modifying your wp theme)... Search the forum for Bootstrap...

You will need to find on your wp theme where Bootstrap is loaded... You may have already done that..

I can update later tonight when home from work... 

Avatar
Simple Press
Admin
sp_UserOfflineSmall Offline
Sep 19, 2018 - 3:36 pm

@erinpeloquin, I just did a search on forum posts and found this one that explains how changing the load order for bootstrap is done for one theme.  The process would be similar for yours - though, as mentioned before, it would involve directly modifying the theme files.

https://simple-press.com/suppo.....t/#p132931

Not sure if this is the post that Mr. Papa had in mind but figured I'd point it out to you.

Avatar
erin peloquin
Member

Silver Members
sp_UserOfflineSmall Offline
Sep 19, 2018 - 4:34 pm

Thank you both!

I found the code to remove the bootstrap on the Beaver Builder site.

And yes, I see that code to change the load order. But I'm not sure where to put it in my theme files. I do see this in my functions.php:

add_action( 'wp_enqueue_scripts', 'FLTheme::enqueue_scripts', 999 );

Is that a clue? I'm far from an expert in php.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 21, 2018 - 3:21 pm

yes @spsupport that is on example...

and @erinpeloquin that is half right place...  you need to follow that one more depth...  its classing its own class enqueue_scripts method...  so you have to find that method/function and look in there for the code loading bootstrap...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17357
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10123
Posts: 79616