[Resolved] Blog masonry and bbpress

Home Forums Support [Resolved] Blog masonry and bbpress

Home Forums Support Blog masonry and bbpress

  • This topic has 4 replies, 2 voices, and was last updated 9 years ago by Philip.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #102225
    Philip

    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!

    #102301
    Tom
    Lead Developer
    Lead Developer

    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!

    #102305
    Philip

    Here link the forums are private anyway this link can be viewed by anyone https://www.itesla.solutions/forums/

    #102313
    Tom
    Lead Developer
    Lead Developer

    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/

    #102329
    Philip

    It works, thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.