• Resolved pastparticiple

    (@pastparticiple)


    When using the Rowling theme with bbpress, the /forums page shows the title Archive: Forums and then does not attempt to show any content.

    Other themes, even if they don’t support bbPress directly, still show ugly-formatted content, but somehow in Rowling it’s being blocked entirely.

    Love this theme, wondering if there’s a simple explanation or work-around for this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pastparticiple

    (@pastparticiple)

    If I make a custom page and insert the code:
    [bbp-forum-index]
    then that page displays the forum index, but clicking into any forums redirects to the bbpress default forum location and once again displays blank pages.

    As above, this only seems to happen with Rowling, I’ve tested other themes and everything works as expected.

    Theme Author Anders Norén

    (@anlino)

    Hi @pastparticiple,

    Sorry for the late reply. I installed bbPress on my development environment to take a look at your issue, and this is a strange one.

    Most of my themes (including Rowling) use a single file for displaying single posts/pages, called singular.php. All post types should fall back to singular.php when displaying a single post/page/custom post type, and if singular.php doesn’t exist, index.php (used to display archive pages in Rowling, and most of my other themes) is used instead. More info here.

    However, for some reason, bbPress skips over singular.php when displaying forums and topics, and instead goes straight to index.php. I tried modifying TwentySeventeen to use the same structure (replaced page.php and single.php with singular.php), and the same thing happens – singular.php gets skipped, and index.php is used instead. bbPress seems to not be a fan of singular.php.

    You can fix this in Rowling by creating a child theme, adding a file called page.php to it and adding the following code to it:

    <?php include( locate_template( 'singular.php' ) ); ?>

    That will make bbPress use the singular.php template to display all bbPress views.

    — Anders

    Edit: bbPress has a fix for this issue planned for version 2.6.

    • This reply was modified 4 years, 10 months ago by Anders Norén.
    Thread Starter pastparticiple

    (@pastparticiple)

    Thanks so much – exactly what I needed! Works perfectly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘bbPress Forums being blocked somehow’ is closed to new replies.