Skip to:
Content
Pages
Categories
Search
Top
Bottom

Template in Block Themes?


  • chenryahts
    Participant

    @chenryahts

    BBpress keeps loading the empty index.php in the TwentyTwentyTwo Child theme I’m working on, which loads a WSOD.

    I can’t get any of the template filters to use one of the html files, so temporarily have it working with the index.php file as:

    wp_head();
    block_header_area();
    block_template_part( 'page-inner' );
    wp_footer();
    block_footer_area();

    And… its almost all working? But, this can’t be the right way to get it to use the new default page template in the block theme.

    Thoughts? Ideas? How can I get it to use the new theme templates?

    Thanks!

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

  • Robin W
    Moderator

    @robin-w

    add this plugin

    bbp style pack

    then go to

    dashboard>settings>bbp style pack and the tab will let you fix this issue


    chenryahts
    Participant

    @chenryahts

    @robin-w

    Thank you, I’ll try it!


    chenryahts
    Participant

    @chenryahts

    @robin-w

    I tried the settings under ‘Forum Templates’ but I’m getting the same WSOD. bbpress just isn’t loading anything other than the blank index.php in the block theme.

    Is there another setting I’m missing? Is anyone using bbpress with a block theme yet?

    Thank you again for your suggestion!


    Robin W
    Moderator

    @robin-w

    no it’s my bad coding !!

    I hadn’t spotted that you were using a child theme.

    I add some code to pick up on this, and be back in the next day


    Robin W
    Moderator

    @robin-w

    ok, I’ve released version 5.0.6 of my style pack plugin.

    Once you have updated to this version you will find

    dashboard>settings>bbp style pack>theme support where you can enable theme support for your 2022 child theme

    please confirm that this works


    chenryahts
    Participant

    @chenryahts

    @robin-w

    I’m still getting the WSOD when I try to go to the forums archive or to any top level forums. We’re also using Buddypress, and the Group Forums are working using the templates that Buddypress is loading.

    So I’m not sure what’s gone wrong.

    I don’t see the child theme listed, only Twentytwentytwo, does that matter?

    Thank you,


    Robin W
    Moderator

    @robin-w

    I took it from

    BBpress keeps loading the empty index.php in the TwentyTwentyTwo Child theme

    that you were using a child theme.

    what thene are you using?


    chenryahts
    Participant

    @chenryahts

    Yep, using a child theme. But, the child theme isn’t listed, only twentytwentytwo itself, and selecting it didn’t change anything.

    So, maybe I misunderstood your directions, but this did not solve the issue. I still get a blank white page.

    I’m happy to test something else or troubleshoot it.


    Robin W
    Moderator

    @robin-w

    if you have upgraded, then you should see this as text in the theme support tab

    You are using the theme Twenty Twenty-Two or a Twenty Twenty-Two child theme – enable this section to get bbpress to display correctly

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