Home › Forums › Support › Mansory for Custom Post Type not working › Reply To: Mansory for Custom Post Type not working
March 31, 2016 at 9:19 am
#183188
Dear Tom
I have tried this code before starting this thread.
I again tried but no luck.
I also tried other codes like..
add_filter( ‘generate_blog_masonry’,’generate_adjust_masonry’ );
function generate_adjust_masonry( $masonry )
{
if ( ‘quote’ == get_post_type() ) :
return ‘true’;
endif;
return $masonry;
}
This code is creating masory for archive pages but single posts are also showing in small mansory grids.
Pls help me.