Support Forum
Well at least this time they have switched to doing it half properly!
This time you need the themes functions.php file.
Right at the bottom find the function:
function roll_your_own_js() { if(!is_admin()){ wp_deregister_script('jquery'); // now we've taken out the default version - we'll load our own wp_register_script('jquery', get_template_directory_uri() . '/assets/js/jquery.min.js', 'jquery'); // now add it to the queue wp_enqueue_script('jquery'); } } add_action('init', 'roll_your_own_js');
He even says it right there in the code - 'now we've taken out the default version - we'll load our own'! As if it ios something to be proud of!!
Remove the wp_deregister_script() line and the wp_register_script() and just leave the wp_enqueue_script() call in place.
YELLOW
SWORDFISH
|
Thank you . That resolved the conflict and I am able to use the Simple press plugins. But did I have to make only the change mentioned in the post above? I also made the other changes which you mentioned in the steps in your earlier post because now on the forums page, above the forums, the "select forum" button doesn't appear in the form of a dropdown rather the names of all the recent topics in all the forums appear. Have a look
The script loading looks good but there are a couple of problems withj the html being generate which might be playing a part and which are a must to fix up.
Firstly, your site has no DOCTYPE header of any kind. In fact if you look at the source code being generated you will see that the very first line is a 'div' with an id of 'ninja_annc_1749_wrapper'. This should not be in the header section at all really and is even before the head tag. So something is amiss with your theme header file.
The second issue is something to do with facebook - 'likebox' perhaps? It is created a malformed iFrame and I think it might be this stopping other things from working.
I wasn't seeing either of these issues when I loaded the theme locally of course because they are both being generated by plugins. The forum components seem to be working fine without them.
YELLOW
SWORDFISH
|
Okay, since I am unable to figure out what is causing the problem, I thought that one solution could be that I could just remove that option for the users to see the dropdowns for the new/recently added topics and select forums. Because once they get removed all that data which is appearing at the top of the forum will also disappear. How do I remove those fields ? Do I need to edit sphead.php ? And what exactly should I comment out ? And any other file which I should modify ?
Voila! Resolved the problem myself . Just commented out the info in spHead.php which was displayed all the details at the top of the forum and finally I can take a break after been continuously working on the forums for the last 2 days. Thank you very much Yellow Swordfish for all the help and support! You're an awesome person!