Skip to:
Content
Pages
Categories
Search
Top
Bottom

Blank topic pages while using TwentyTwentyTwo theme.


  • ankskv1
    Participant

    @ankskv1

    I am getting blank pages while opening topics and I am using TwentyTwentyTwo theme.
    I have used forum index short-code to show the forum on the page.

    And the forum index page is showing index at very small size can I increase that without changing theme? (Any suggestions on this)

    Website: https://coolguy.x10.mx/tcin/forum/

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

  • Robin W
    Moderator

    @robin-w

    This is all part of WordPress’s mission to make it’s software totally unusable.

    It has been reported to the bbpress authors.


    Robin W
    Moderator

    @robin-w

    I kicked this around for some time, but I cannot see how to get bbpress working with a block theme.

    I have raised a ticket on trac.

    https://bbpress.trac.wordpress.org/ticket/3458


    ankskv1
    Participant

    @ankskv1

    Thanks for that. Hope it gets fixed soon.


    Robin W
    Moderator

    @robin-w

    I may have a fix – no promises, but give me a day or two to investigate


    swarwas
    Participant

    @swarwas

    Any updates regarding this problem? Thanks!


    Robin W
    Moderator

    @robin-w

    I should start by saying I am just a bbpress user who helps out here, I am not a bbpress author.

    Twenty Twenty two is one of probably less than 6 themes that use the new ‘block theme’ way of building a theme. Indeed this is so new that the editor built to support it is still a ‘beta’ version.

    My Personal view is that block themes are a solution to a problem that no-one has, and WordPress has lost it’s way.

    But given that people including you will use this theme, I am trying to get bbpress to work with it.

    I expect to release a new version of my bbpress style pack that will make this work in the next couple of days. I have a working prototype, albeit a basic version.


    swarwas
    Participant

    @swarwas

    Hey Robin,

    thanks for your feedback.

    Well, I used the twenty twenty theme before and I wanted to add a forum to my homepage. I found bbpress and thought it would fit perfectly. Unfortunately, bbpress looked pretty “detached” from the rest of the homepage. Meaning, the style of the forum did not fit the rest of the homepage. I played around with CSS but the result was not very satisfying and took too long. That’s why I tried the new tttwo theme.

    I am not a Web developer and I can’t judge whether the block theme approach is a good idea or not. I played around with it and it was relatively easy to tweak the design templates. So, it kind of worked for me (first impression).

    Thanks for your work!


    Robin W
    Moderator

    @robin-w

    I have updated my style pack to detect and let you use 2022.

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>theme support.

    There are lots of settings in this plugin to let you improve the look of bbpress.


    Steveorevo
    Participant

    @steveorevo

    Very nice work with the style pack Robin! I do have one issue with Mega Max menu compatibility. For whatever reason, it doesn’t look like shortcodes are being processed when style pack is activated (which is how MegaMax allows menus to be embedded).

    Otherwise I’d recommend your style pack for bbPress users as this “simply works” to deliver the forum styling to Twenty Twenty Two without having to painfully apply one’s own CSS rules to make it marginally pretty.

    For those willing to go that far, I found that simply adding a basic, default template page as described on WordPress.org will do the trick. Supposedly block editor doesn’t care for/use PHP template pages anymore so it’s otherwise ignored.

    For simplicity, I just replace Twenty Twenty Two’s otherwise empty index.php with the “skinny” template index.php I created here:

    https://gist.github.com/Steveorevo/96d8015bcf353221e1cf0cd6b89bb766


    Robin W
    Moderator

    @robin-w

    @steveorevo – thanks for this


    Steveorevo
    Participant

    @steveorevo

    Even simpler; add this one line to twenty twenty two’s index.php file; this will preserve the theme’s menus, header, etc. and tell WordPress to use 2022’s template engine:

    
    include ABSPATH . WPINC . '/template-canvas.php';
    

    Or, to prevent losing changes when/if 2022 updates; use this hook in your own functions/plugin/child:

    
    add_filter( 'template_include', function( $template ) {
        if ( false !== strpos($template, 'twentytwentytwo/index.php') ) {
    		$template = ABSPATH . WPINC . '/template-canvas.php';
        }
        return $template;
    });
    

    Robin W
    Moderator

    @robin-w

    @steveorevo – thanks for posting this, I’ll substitute it for my solution on next release of my style pack plugin – it is much better and cleaner 🙂

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