Last active
September 9, 2017 01:00
-
-
Save dcooney/ae4caec3f9061dd47627 to your computer and use it in GitHub Desktop.
Query by Category Ajax Load More
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$cat = get_query_var('cat'); | |
$category = get_category ($cat); | |
echo do_shortcode('[ajax_load_more seo="true" category="'.$category->slug.'"]'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment