Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Editing posts and Editor TinyMCE Rich Text
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 1, 2013 - 4:48 am

Whoa no... That is WP core code. You should be looking just in your WP theme files.

andy-signature.png
YELLOW
SWORDFISH
Avatar
T M Shaw
Member
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2013 - 8:08 am

Good grief ! ...

Ok I have seven instances of wp_enqueue_scipt in my Themes Header.php..

00013: wp_enqueue_script('jquery');
00014: wp_enqueue_script('cufon', get_stylesheet_directory_uri() . '/js/cufon.js');
00015: wp_enqueue_script('Rockwell', get_stylesheet_directory_uri() . '/js/steelfish_400.font.js');
00016: wp_enqueue_script('Effects', get_stylesheet_directory_uri() .'/js/effects.js');
00017: wp_enqueue_script('sprinkle', get_stylesheet_directory_uri() .'/js/sprinkle.js');
00018: wp_enqueue_script('jquery-ui-personalized-1.5.2.packed', get_stylesheet_directory_uri() .'/js/jquery-ui-personalized-1.5.2.packed.js');
00049: if ( is_singular() ) wp_enqueue_script( 'comment-reply' );

But nothing for register of derigister in my theme files ?

Is there somewhere i can send you a copy of the Header.php 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 5, 2013 - 8:18 am

This one is probably the problem one:

00018: wp_enqueue_script('jquery-ui-personalized-1.5.2.packed', get_stylesheet_directory_uri() .'/js/jquery-ui-personalized-1.5.2.packed.js');

But it makes me nervous when a theme author renames a standard library something like 'personalised' as you have no idea what crap they may have added to it. And that is a concern.

Anyway - you can only try. Comment it out (in case we need it again!) and replace it with:

wp_enqueue_script('jquery-ui-core');

and we will see what happens!

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
T M Shaw
Member
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2013 - 3:31 am

query.jpgImage Enlarger

Hiello chaps,  no joy I am afraid with the above .. thought you had it there ! ..

So reactivated Tiny plugin and as I am replying to you here, edit box has the options at the top, save the change, green tick and saved post, but no change to original.

Also the post ticker on the home page ceased to scroll and had ghosted text after the change was applied.

Ho Hum. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 8, 2013 - 12:07 pm

thats why wp devs strongly, strongly urge theme and plugin authors to not replace wp shipped libraries with their own...  just causes problems...

you may need to enqueue more than just ui core...  maybe widget and others... what was in the custom jquery ui file?

also, to get around the theme screw up, you will need to change how that occurs...  something like:

if (sp_is_forumpage()) {
    # load wp jquery ui stuff
} else {
    # load the theme crap version
}

that will get you front page back working...

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: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625