-
AuthorPosts
-
February 10, 2015 at 9:20 am #203214
Hi,
I´m trying to add a custom sidebar to forum main page, topics page and each single topic page, but i don´t see the option in sidebar settings.
What am i doing wrong?
February 10, 2015 at 1:45 pm #203409Hi there,
Nah it’s okay. 🙂
You could follow this step on how to add a sidebar.
1. Check your pages if its layout allows you to create a sidebar. whether sidebar-left,content-right or sidebar-right, content-left.
2. If your pages allows you to show sidebars, add sidebars in your Appearance>Sidebars
3. After creating sidebars, manage your sidebars to what pages will it be shown.
4. You can go to Appearance>Widgets for you to customize your sidebar.
hope it helps. Enjoy!
February 11, 2015 at 4:40 pm #204384I knew this, but:
#2 I create a sidebar called “forum”
#3 Here is the problem, in the post/page list there`s no forum page (http://frenchiemania.com/foros)
Buddypress pages appear in this list (ex. http://frenchiemania.com/actividad/), but the bbpress no.
February 12, 2015 at 11:30 am #205096Hi there,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / PasswordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Once we got your information, we’ll do our best to help you.
Thank you so much!
February 13, 2015 at 2:38 am #205723This reply has been marked as private.February 13, 2015 at 10:39 pm #206346Hi there,
Unfortunately, sidebar for bbpress is not yet supported because forum pages are not existing pages (except for single topic and pages) and there is no way to assigned sidebar to non-existing page. I checked the coding just to confirm that.
But, you can always use another alternative. Add this code at your child theme’s functions.php
add_filter('ups_sidebar', 'force_bbpress_sidebar', 20); function force_bbpress_sidebar ( $sidebar ) { return x_is_bbpress() ? 'REPLACE_THIS_WITH_SIDEBAR_ID' : $sidebar; }
Then just replace the dummy string with ID of the sidebar you created at Admin > Appearance > Sidebars.
Hope this helps.
February 15, 2015 at 1:47 pm #207101It worked perfectly. Thank you very much.
Will you add this change in new updates?
February 16, 2015 at 4:13 am #207460We certainly appreciate the feedback! This is something we can add to our list of feature requests. This way it can be taken into consideration for future development. All of these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive. Thanks!
June 23, 2015 at 5:32 am #310304I would love to have this functionality as well!!
June 23, 2015 at 6:39 am #310368Noted.
Have a nice day!
July 15, 2015 at 5:58 pm #331520Hello,
I use the solution you provided above to add the side bar to the forum,Thank you for that! Is there any way to put it on the left. instead of right?Thank you!
July 15, 2015 at 9:48 pm #331658Hello There,
You’re welcome.
The position of the sidebar will depend on the Global Layout you have set via Appearance > Customize > Layout and Design > Content Layout or on the template page.
If that doesn’t work, would you mind providing us with login credentials so we can take a closer look to your settings? To do this, you can make a post with the following info:– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Hope this helps.
July 15, 2015 at 10:13 pm #331681Favorited. Good post
July 16, 2015 at 12:20 am #331755Hi,
Glad to know it helped.
Have a nice day!
July 21, 2015 at 2:50 pm #336200I have a question. Let’s say I want a different sidebar for each group’s forum since each group is a different topic and I would like to put recent posts, etc in the sidebar for that certain forum.
For example, let’s say I wanted a sidebar that had the recent posts activity in it for the “League of Legends” forums and I want that sidebar to only show up on League of Legends forums found in the League of Legends group.
add_filter('ups_sidebar', 'force_bbpress_sidebar', 20); function force_bbpress_sidebar ( $sidebar ) { return x_is_bbpress() ? 'REPLACE_THIS_WITH_SIDEBAR_ID' : $sidebar; }
Is it possible to replace x_is_bbpress() with like the link to that certain page or something along those lines?
-
AuthorPosts