Reply To: Read More Label in Search Result Page

Home Forums Support Read More Label in Search Result Page Reply To: Read More Label in Search Result Page

Home Forums Support Read More Label in Search Result Page Reply To: Read More Label in Search Result Page

#212254
Tom
Lead Developer
Lead Developer

That will enable masonry everywhere on the site as you’re just returning true no matter what.

You could try something like:

add_filter( 'generate_blog_masonry','generate_custom_masonry' );
function generate_custom_masonry()
{
    if ( is_tag() || is_search() || is_home() || is_archive() )
        return 'true';

    return 'false';
}