Ajax loop in sidebar to load post titles/categories
What is the script for you posted here? I hope it is not the script that will be called by the ajax request, isn’t it?? Normally a php script for an ajax request looks like this: <?php $output = array(); $posts = new WP_Query( array( ‘showposts’ => 20 ) ); foreach ( $posts as $post … Read more