Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

Reply To: Quote Page

Home Forums Support Quote Page Reply To: Quote Page

Home Forums Support Quote Page Reply To: Quote Page

#108674
Tom
Lead Developer
Lead Developer

Hi Roxana,

This would take a great deal of custom coding I’m afraid – much more than I can offer here.

You can enable masonry on a specific category with code like this:

add_filter('generate_blog_masonry','generate_blog_enable_category_masonry');
function generate_blog_enable_category_masonry()
{
        // If we're on a category, enable masonry
	if ( is_category('quotes') )
		return 'true';
	
        // Otherwise, disable it
	return 'false';
}

Then you can hide the title and read more link:

.category-quotes .masonry-post .entry-header,
.category-quotes .masonry-post .read-more {
      display: none;
}

The rest would definitely need custom coding I’m afraid.

Hopefully the above is a good start 🙂