Fancy-box Esay wordpress plugin fails to work on Multilingual site

You are most certainly experience a “incompatibility” between the add-on that you use for multiple languages and the Easy Fancy-box (wordpress Plugin). As WordPress does not support multiple languages natively, most of the plugins available do not support it either. For more information about multiple languages, please see What are options are there to implement … Read more

WordPress Jquery Confliction with Plugin

There are currently two copies of jQuery loaded on site: In header there is jQuery bundled with WordPress, likely requested by some plugin. In footer there is jQuery from Google CDN, likely added by your code? Obviously this is one too many. There are couple of ways to handle it: If you are fine with … Read more

php ajax problem – weird 301 responses!

I’m guessing the page your calling executes an wp_redirect with a 301 response somewhere. Dont really have an answer for you but maybe you can try the following. Ajax does not know what type of page your calling from and there might be some strange query_vars loaded that trigger a redirect. Your using a permalink … Read more

Disable Jquery UI post tabs

****See edit history for previous comments*** I decided i’m going to write a plugin to do this, the plugin discussed i’m sure was written with the best intentions, but the code in my personal opinion needs a total rewrite, which is essentially what i’ll be doing. The aim will basically be to emulate the functionality … Read more

AJAX Contact Form Issue

are you logged-in with all browsers? since add_action(‘wp_ajax_contact_form’, ‘ajax_contact’); only works for logged in users, so to fix it you need to change it: add_action(‘wp_ajax_nopriv_contact_form’, ‘ajax_contact’); if you want your function to work for visitors as well as users.

Tags in WordPress 3.2

I believe this to be an issue with a jQuery conflict. Since version 3.2 of WP jQuery has been updates. There might be other plugins you are using that doesn’t play nice with the new jQuery version which is then triggering a JS error, thus stopping the tag/AJAX functionality from working. Try disabling all your … Read more

enqueue the scripts

Add your script to a file inside your Theme root, e.g. /js/my-script-name.js. In functions.php, put add a function to enqueue your script: function mytheme_enqueue_some_script() { if ( ! is_admin() ) { $scriptsrc = get_template_directory_uri() . ‘/js/my-script-name.js’; wp_register_script( ‘my-script-name’, $scriptsrc ); wp_enqueue_script( ‘my-script-name’ ); } } Then, hook that function into the wp_enqueue_scripts hook: add_action( ‘wp_enqueue_scripts’, … Read more