Black Friday Sale! Get up to $40 off GP Premium!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

#183469
Tom
Lead Developer
Lead Developer

That’s not the custom post type archive.

Your code would be:

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

    return $masonry;
}