Archived topic
Blog masonry and bbpress
4 replies · Started by Philip on April 25, 2015
Hello, i have buy recently add-ons and when i enable blog masonry after this my Forums got like a widget small size in some way it affect bbpress.
Is there some workaround? If not i would like to use wp-tiles plugin for archive display posts as tiles when i add manually to the archive.php file this the_category_wp_tiles in place of get_template_part they are displayed but repeats a couple of times same posts.
Where should i add the_category_wp_tiles so they display proper? because it worked with my previous theme.
Thanks for great theme and add-ons nice job!
Hi there,
I'm not exactly sure what you mean - can you link me to your forums page with masonry enabled so I can see the issue?
Thanks!
Here link the forums are private anyway this link can be viewed by anyone https://www.itesla.solutions/forums/
Weird, nice bug find.
Add this function to fix this until I can release an update with the fix in it:
add_filter('generate_blog_masonry','generate_disable_bbpress_masonry');
function generate_disable_bbpress_masonry()
{
if ( function_exists( 'is_bbpress' ) ) :
// If we're on bbPress, disable masonry
if ( is_bbpress() )
return 'false';
endif;
// Otherwise, enable it
return 'true';
}
How to add PHP: http://generatepress.com/knowledgebase/adding-php-functions/
It works, thank you!