Support Forum
You most probably have a JavaScript conflict - your wp theme or another plugin - which needs to be fixed. This codex article explains the most common conflict we come across, what this means and what to look for:
YELLOW
SWORDFISH
|
http://www.theinspiredeye.net/.....phy-forum/
Thanks so much! I don't understand what the Pagelines folks said here:
Curious. Basically they seem to be suggesting that the conflict is caused by some script they are loading called 'bootstrap' and the code fragment they pasted there is a way to deal with it. So I suggest we give it a try...
I would.... go to the forum admin > themes > theme editor and load the spFunctions.php file into the editor.
At the end of this short file you will see what is called a closing php tag - a question mark and right angle bracket. Put the cursor a line or two above that and paste the following code in.
add_action( 'wp_enqueue_scripts', 'deregister_pl_bootstrap' ); function deregister_pl_bootstrap() { if(sp_is_forumpage()) { wp_deregister_script('pagelines-bootstrap-all'); } }
IMPORTANT: There Must be NO empty lines AFTER that closing php tag at the bottom.
Save this and see what happens when you run the forum.... If it works then we will need to do a little work. if it doesnlt then we need to look again. Be sure to empty your browser cache before you test this in the forum.
YELLOW
SWORDFISH
|
Which part didn't work? Was the Pagelines 'bootstrap' script still getting loaded anyway?
OK - loaded your forum page and yes - it IS still getting loaded. Let me check that call...
Well - the code works for me. At least - let's say that the code WILL identify the page as a forum page at that spot and will run the action hook. SO maybe the name of the script 'pagelines-bootstrap-all' is wrong. I would need to see the original theme code file to discover that.
YELLOW
SWORDFISH
|
I have absolutely no idea. While there are some basic common practices and a few ground rules amongst developers of WP themes, many just ignore them and do their own thing. Bad or irresponsible theme is probably our number 1 issue.
As it happens I am working with another theme at the moment for a personal site that includes bootstrap and intend to load SP into the site this morning so let me try that and see if I can detect both is and why bootstrap may be an issue. I will come back on this...
YELLOW
SWORDFISH
|
1 Guest(s)