Works like a charm Robin, thank you so much!
// Jens.
Thanks Robin, I really appreciate it!
// Jens.
Hmm, I’m not getting any count back, it just says Posts: 0
Awesome Robin, just what I need! Will try it out tonight!
Thanks alot!
// Jens.
Solved it! Changed it to the latest jQuery version (1.10.2) and now it works like a charm!
Ok, I have partly found the problem!
I’m relying on Google’s jQuery-packs since these load much faster. I’m having the following code in my functions.php file:
// Load jQuery
if ( !is_admin() ) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"), false);
wp_enqueue_script('jquery');
}
When removing this line, it suddenly works. The problem is that I would like to keep using Googles libraries…
Any suggestions?
// Jens.