DocumentationOnline documentation for Ajax Load More
Tag Archives
The code below will display an archive of posts by tag slug.
tag.php
<?php
get_header();
if (is_tag() ) {
$tag = get_query_var('tag');
echo '<h1>' . single_tag_title( '', false ) . '</h1>';
echo do_shortcode( '[ajax_load_more tag="' . $tag . '"]' );
}
get_footer();
PHP