• I know that making an Ajax Load More category.php template works like this:

    <?php $cat = get_query_var('cat');
    	$category = get_category ($cat);
    	echo do_shortcode('[ajax_load_more category="'.$category->slug.'" max_pages="0" images_loaded="true"]');
    	?>

    How would I do the same for the date.php template so that I display posts in post order filtered by the month and year?

    Thanks!

    https://wordpress.org/plugins/ajax-load-more/

Viewing 1 replies (of 1 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Did you check out the Date archive section under Examples in your wp-admin?
    wp-admin/admin.php?page=ajax-load-more-examples

    Let me know if this is what you need.

Viewing 1 replies (of 1 total)
  • The topic ‘Ajax Load More date.php template’ is closed to new replies.