Created
June 30, 2021 15:29
-
-
Save imfromio/c4e4f1c3ffbbbb5eb38879844bb63521 to your computer and use it in GitHub Desktop.
Ajax Load More Settings
This file contains hidden or 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
[ajax_load_more post_type="goric_products" posts_per_page="15" images_loaded="true" lazy_images="true" transition="masonry" masonry_selector=".grid-item" masonry_animation="slide-up"] | |
<div class="alm-item<?php if (!has_post_thumbnail()) { ?> no-img<?php } ?> grid-item"> | |
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> | |
<?php if ( has_post_thumbnail() ) { the_post_thumbnail('large', array( 'width' => 300, 'height' => 200 )); }?> | |
<h4><?php the_title(); ?></h4> | |
</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment