Skip to:
Content
Pages
Categories
Search
Top
Bottom

change forum sidebar


  • rsix08
    Participant

    @rsix08

    how can I change the sidebar for the forum page?
    bbPress WP Tweaks « WordPress Plugins did not work for me.

    I was able to remove the blog sidebar and even make the forum full width but what I’d really like to do is add a custom sidebar.

Viewing 5 replies - 26 through 30 (of 30 total)

  • Robin W
    Moderator

    @robin-w

    @martinperreault – hey thanks for that – it’s good to know that advice works, and always nice to be appreciated 🙂


    mhairilongmuir
    Participant

    @mhairilongmuir

    I am having the same problem – I have followed the instructions in the codex, and added WP Tweaks, but my custom sidebar for the forum page is not showing. When I go in and edit bbpress.php manually via the editor, the changes show in the sidebar. But when I try to do it via the widgetized area, the bbpress sidebar doesn’t show.

    I also tried Robin W’s fix – moving the widgets out of the area and switching off the plugin etc, but that also didn’t work.

    I am using a child theme of Canvas, and have also implemented the ‘Fix for BBPress and Canvas (5.2 and higher)’ Fix for BBPress and Canvas (5.2 and higher) –


    Robin W
    Moderator

    @robin-w

    the try widget logic

    Download “widget logic”

    https://wordpress.org/plugins/widget-logic/

    This plugin lets you specify conditions for when widget items are displayed.

    You would then put all the widgets for both the blog page and the forum page in one sidebar

    Against each of these you then specify whether you want it to appear on the forum page, on any page with a sidebar that is not the forum (eg your blog), or on both forum and other sidebar pages.

    you do this by putting the following code in the widget logic box that you will see appears against each widget

    For a forum sidebar you put : is_bbpress() ie is this page a forum page
    For any other sidebar you put : !is_bbpress() ie is this page NOT a forum page
    For any item to appear on both, simply leave the logic blank.

    Give that a try and come back and let us know how it works


    mhairilongmuir
    Participant

    @mhairilongmuir

    Thanks so much, that’s it working perfectly now 🙂


    Robin W
    Moderator

    @robin-w

    great – glad you’re fixed !

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