post_content); echo '

' . $post->post_title . '

' . $content; } exit(0); } else { // return posts as-is return $a; } } } } if (class_exists('BetancourtAjaxContent')) { $betancourt_ajax_content_plugin = new BetancourtAjaxContent(); } // action and filters if (isset($betancourt_ajax_content_plugin)) { // actions add_action( 'the_posts', array( &$betancourt_ajax_content_plugin, 'detect' ), 0 ); // filters }