DocumentationOnline documentation for Ajax Load More
Tag Archives
The code below will display an archive of posts by tag slug.
1 2 3 4 5 6 7 8 9 10 11 12 |
<?php // tag.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(); ?> |