Jump to content
f8admin

Simple: Press conflict

Recommended Posts

Simon

Sorry we cant read that post, its not public.

Share this post


Link to post
Share on other sites
f8admin

Shoot, forgot

 

Yes the flat look and no buttons is exactly what Bootstrap does. Basically it stomps all over the jQuery UI. This is a problem as jQuery and the jQuery UI are the de facto recommended and supported libraries to use with WordPress but BootStrap is starting to crop up here and there.

Well I can see no reason why it should still load with that code in place and it certainly stops it from loading on my tests. The only difference I can see is that I put the code in the WP Theme functions.php NOT the in the SP theme but that really shouldn't make any difference.

Can anyone see anything I may have missed?

 

Here's the code he gave me to paste into their forum plugin:

 

add_action('wp_enqueue_scripts', 'deregister_pl_bootstrap', 100);
function deregister_pl_bootstrap() {
    if(sp_is_forumpage()) {
        wp_dequeue_script('pagelines-bootstrap-all');
    }
}

 

 

----- The issue is, I can't upload because Pagelines does not allow it

Share this post


Link to post
Share on other sites
Simon

No you put that code into the theme OR child theme functions.php NOT a forum file.

 

And what do you mean pagelines does not allow upload?

Share this post


Link to post
Share on other sites
f8admin

It works. Thank you.

Put the original code in the functions.php of the THEME

not in the php of the forum like they said.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×