Home › Forums › Support › Read More Label in Search Result Page › Reply To: Read More Label in Search Result Page
July 23, 2016 at 9:29 am
#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';
}