Ajax not working for logged in users

Probably it’s because of this: add_action( ‘wp_ajax_my_action’, ‘my_action_callback’ ); add_action( ‘wp_ajax_nopriv_my_action’, ‘my_action_callback’ ); You have to add the action for both hooks. Probably the plugin is hooked to the second hook right now. You can read more in the docs.

Looking for a related post plugin which slides-in like the one at inc.com does [closed]

The plugin I think you’re looking for is http://wordpress.org/extend/plugins/upprev-nytimes-style-next-post-jquery-animated-fly-in-button/ “Just like the NYTimes button, upPrev allows WordPress site admins to provide the same functionality for their readers. When a reader scrolls to the bottom of a single post, a button animates in the page’s bottom right corner, allowing the reader to select the next available … Read more

Updating WordPress [closed]

First Never modify the database options directly. Instead, to deactivate all of your plugins, FTP to your site and rename the /plugins directory as /plugins-1 or something along those lines. WordPress will automatically deactivate them the next time you try to load the site, then you can change the name back to /plugins. Troubleshooting There … Read more

Overriding WooCommerce CSS? [closed]

You can change the CSS loading order. Find the place where WooCommerce enqueues it’s CSS and keep in mind it’s $handle (name). Search for wp_enqueue_style. Then go to theme’s functions.php and find the place where your theme enqueues it’s CSS. Now change your theme’s wp_enqueue_style by adding WooCommerce’s $handle to $deps (dependencies) parameter of theme’s … Read more

Enqueue scripts in the footer

From http://codex.wordpress.org/Function_Reference/wp_register_script: <?php wp_register_script( $handle, $src, $deps, $ver, $in_footer ); ?> This means you need to add the $deps and $ver values to wp_register_script() in order to set $in_footer. Like this: wp_register_script( ‘justifiedGallery’, plugins_url(‘js/jquery.justifiedGallery.min.js’, __FILE__), false, // or array(), or array(‘jquery’) if this depends on jQuery ‘1.0’, // or your plugin version, or the version … Read more