• I am getting blank pages while opening topics on bbpress plugin and I am using Twenty Twenty-Two theme. It works on other themes.
    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)

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am having the same problem.

    Likewise, anyone find any resolutions?

    I found a simple fix; since twenty twenty two doesn’t use PHP template pages anymore, I simply replaced Twenty Twenty Two’s otherwise empty index.php with the “skinny” template index.php I created here:

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

    It’s based on the basic, default, template page as described on WordPress’ Getting Started -> Your First Theme.

    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;
    });
    • This reply was modified 2 years, 6 months ago by Steveorevo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blank topic pages on bbpress while using Twenty Twenty-Two theme.’ is closed to new replies.