Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

Reply To: Mansory for Custom Post Type not working

Home Forums Support Mansory for Custom Post Type not working Reply To: Mansory for Custom Post Type not working

#183256
Tom
Lead Developer
Lead Developer

Your code would be:

add_filter( 'generate_blog_masonry','generate_adjust_masonry' );
function generate_adjust_masonry( $masonry )
{
    if ( is_post_type_archive( 'quote' ) ) :
        return 'true';
    endif;

    return $masonry;
}