↧
Answer by Bainternet for How can I fetch loop of post titles via AJAX?
you can wrap your function and hook it to ajax call like this: //if you want only logged in users to access this function use this hook add_action('wp_ajax_more_links', 'my_AJAX_more_links_function');...
View ArticleHow can I fetch loop of post titles via AJAX?
I have a list of the most recent post titles in sidebar.php. Here is an example of how that code looks: <?php $args = array('posts_per_page' => 20); ?> <?php $sidebar = new...
View Article