Support Forum
You can make an alternative editor the default but all the time you have tinyMCE active it will be made available to your users via their profile posting options to thay can override the default.
You know - our experience shows that paid-for themes are often the worse at riding rough-shod over all of the rules and the WordPress API. I also don't think that sorting out the problems you have should be that problematic as long as we know just what the theme authors have done to the UI file.. i.e., have they added custom code or included other components? And you know - they may well tell you this if you ask them - there is no reason why they shouldn't.
I feel you will encounter other issues - not just with SP but with other plugins if they need to use the script libraries.
YELLOW
SWORDFISH
|
Okie doke thanks for the advise, would you be able to tell me what i need to ask of the theme developers then, this jQuery stuff is a bit beyond my reach really and I shall go away and put it to them, and see what they have to say and report back.
Thanks for your assist with this, mighty impressed with the support you are providing to Simple Press users ! and it is in no small part the quality of the Forum that I have been able to bring users across from gtplanet.net to my site. :tup:
Mark
Hello again Swordfish ... Please see below for answer from Web2Feel
"jQuery ui file is used for the tabs section in the theme. It is probably out dated now. You could swap it with a new version from here - http://jqueryui.com"
any good to you ?
Cheers
M
no, just need to make it use the jquery ui that comes with wp...
so if you can find where its loaded in the theme, we can give you the code to correct the theme...
Visit Cruise Talk Central and Mr Papa's World
It really depends on how it is loaded. If it is done properly (from the wrong location but loaded properly) then the first place to look would be your theme's functions.php file. Look for a line of code that starts with wp_enqueue_script and if you find it copy and paste a small handful of lines either side.
Other than that you will need to see if that apepars anywhere else. often there are some php files in a theme outside of the main templates folder so eorth looking.
The last place it should be is as a direct 'script' statement on the theme's header.php file and that would be the last p;lace to look. usually a small amount of detective work will find it easily enough...
YELLOW
SWORDFISH
|
Ok found this ...
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></script>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php
if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
wp_head(); ?>
in header.php, wasn't in the functions.php and could not findsee it anywhere else ? ... Does this help ?
No, thats not it... look for wp_deregister_script and/or wp_register_script...
typically its in header.php or functions.php... but could be in just about any file... you should be able to search from the windows or mac directory in all the files...
Visit Cruise Talk Central and Mr Papa's World
Thanks Mr Papa ..
/**
* Remove a registered script.
*
* @since r16
* @see WP_Scripts::remove() For parameter information.
*/
function wp_deregister_script( $handle ) {
global $wp_scripts;
if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) {
if ( ! did_action( 'init' ) )
_doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ),
'
', '
', '
' ), '3.3' );
$wp_scripts = new WP_Scripts();
}
$wp_scripts->remove( $handle );
In my wp-includes dir, functions.wp-scrips.php
Thanks Mark
1 Guest(s)