Archived topic
Search results
3 replies · Started by John on August 20, 2016
Viewing posts 1–4 of 4
Hi Tom,
The search results i get back in masonry layout. Is it possible to get them in listed layout (exerpts)?
Kind regards
John
Hi John,
The items pulled in via the load more button need to replicate the items currently on the page.
Hi Tom,
I don't understand this, can you explain?
When i do a search on the website, then the results are in masonry layout, but i would like them to have listed.
Kind regards
John
You can try something like this:
add_filter( 'generate_blog_masonry','generate_custom_masonry' );
function generate_custom_masonry()
{
if ( is_search() )
return 'false';
return $masonry;
}
This archived topic is closed to new replies.