How to disable 3.3 Tooltips?

You could also remove the pointer script and style from their respective arrays just after they have been registered using this method. // Remove javascript add_action( ‘wp_default_scripts’ , ‘remove_pointer_script’ ); function remove_pointer_script( $wp_scripts ) { $wp_scripts->remove(‘wp-pointer’); } // Remove stylesheet add_action( ‘wp_default_styles’ , ‘remove_pointer_style’ ); function remove_pointer_style( $wp_styles ) { $wp_styles->remove(‘wp-pointer’); } The remove method … Read more

What does “Do not deregister the jquery script in the administration area” mean?

Based on the error… add_action( ‘wp_enqueue_scripts’, function(){ if (is_admin()) return; // don’t dequeue on the backend wp_deregister_script( ‘jquery’ ); wp_register_script( ‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js’, array(), null, false ); wp_enqueue_script( ‘jquery’); }); Honestly, unless you have tremendous traffic over a broad geographic area, I’d say that CDNs are grossly over-rated. I’ve watched the hangup on sites I’ve managed … Read more

Deregister WordPress jquery on specific page

Hook to wp_enqueue_scripts. It will do the trick. Modified code is- if (!function_exists(‘modify_jquery’)) { function modify_jquery() { if (is_page(array(‘page 1’, ‘page 2’))) { wp_dequeue_script(‘jquery’); wp_deregister_script(‘jquery’); wp_register_script(‘jquery-custom’, ‘//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js’, false, ‘1.11.3’, ‘true’); wp_enqueue_script(‘jquery-custom’); } } } // add_action(‘init’, ‘modify_jquery’); add_action(‘wp_enqueue_scripts’, ‘modify_jquery’); Hope this is gonna help.

Enqueue script only for IE

WordPress has a $is_IE global variable: global $is_IE; if($is_IE) enqueue_script(…); Personally I prefer the IE conditional comments. Other browsers ignore them anyway, so there’s no reason to use PHP for browser detection. You might also want to consider using 8 bit alpha PNG images instead of 24 bit PNGs, which don’t need any javascript fix … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)