Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress showing blank pages and duplicated fields


  • beabudai
    Participant

    @beabudai

    Hi,

    bbpress showing blank pages and multiplying fields on our websites when we are using de themes Astra, the WordPress themes Twenty Twenty-Two and Twenty Twenty-three. It works only with Twenty Twenty-one.

    I made a staging website to be able to test it: https://staging.armanl.eu/test/

    The bbpress pages with has a fields multiplying problems with Asstra theme are : https://staging.armanl.eu/test/forums/users/beabudai/

    With the other themes they show a blank page except with Twenty Twenty-one.

    I am using the latest version of WordPress and bbpress version Version 2.6.9

    All the other plugin are deactivated for testing purposes.

    Please can someone help with this problem?

    Thank you, Bea

Viewing 11 replies - 1 through 11 (of 11 total)

  • Robin W
    Moderator

    @robin-w

    This is one of the new FSE themes, so you need a fix to work with bbpress.
    install

    bbp style pack

    once activated, navigate to

    dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.

    In that tab, select

    Enable Theme Support

    and save

    The forums should then display


    beabudai
    Participant

    @beabudai

    Hi Robin, thank you for your reply. I don’t see the theme support tab. It begins with Forums Index Styling…

    Bea


    Robin W
    Moderator

    @robin-w

    with which theme?


    beabudai
    Participant

    @beabudai

    With the WP Twenty Twenty-Two and Twenty Twenty-three I see that option but if I switch to Astra then this option disappears…


    Robin W
    Moderator

    @robin-w

    ok, so does it work with Twenty Twenty-Two and Twenty Twenty-three? then we know the problem is with Astra


    beabudai
    Participant

    @beabudai

    Ah, OK, I will contact Astra then. Thanks for your help.
    Bea


    Robin W
    Moderator

    @robin-w


    Robin W
    Moderator

    @robin-w

    given that Astra have not replied, if you want me to take a paid look to see if I can see the issue, contact me and we can set a budget

    Contact me


    Robin W
    Moderator

    @robin-w

    I spent a couple of hours yesterday hunting down the issue.

    This code fixes it :

    add_filter ('astra_single_layout_one_banner_visibility', 'astra_bbpress_fix', 50) ;
    
    function astra_bbpress_fix ($value) {
    	if( class_exists( 'bbpress' ) ) {
    		if (bbp_is_single_user()) return false ;
    		if (bbp_is_search()) return false ;
    	}
    return $value ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets


    beabudai
    Participant

    @beabudai

    Hi Robin, thank you very much! You are awesome! It works!
    Bea


    Robin W
    Moderator

    @robin-w

    for others finding this thread – if you have the additional bbp-style-pack plugin – and why would you not have this 🙂

    bbp style pack

    then this fix is available at a single click – so not coding or other plugins needed.

    once activated just go to

    dashboard>settings>bbp style pack and click the theme support button

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Skip to toolbar