Home › Forums › Support › Sidebar/Content For WooCommerce & bbPress This topic has 7 replies, 2 voices, and was last updated 6 years, 4 months ago by Tom. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts November 11, 2016 at 5:44 pm #243660 Mary Pearson I have my pages set to Sidebar/Content but my bbPress Forum pages and my WooCommerce product pages show as Content/Sidebar. How do I make them Sidebar/Content? Thank you. November 11, 2016 at 8:09 pm #243673 TomLead Developer Lead Developer You would need to use the sidebar PHP filter: https://generatepress.com/knowledgebase/choosing-sidebar-layouts/#sidebar-filter There’s a WooCommerce example there. For bbPress, you would do: is_bbpress() Hope this helps π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development November 11, 2016 at 8:10 pm #243674 Mary Pearson Many thanks Tom! Much appreciated! November 11, 2016 at 8:11 pm #243677 TomLead Developer Lead Developer You’re welcome π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development November 11, 2016 at 8:49 pm #243685 Mary Pearson Works perfectly but when I try to go to another page I get Fatal error: Call to undefined function is_woocommerce() in /themes/generatepress_child/functions.php on line 17 Now the funny thing is that the same thing for bbpress works perfectly and no error. November 11, 2016 at 11:49 pm #243701 TomLead Developer Lead Developer That error will only happen if WooCommerce isn’t activated. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development November 12, 2016 at 7:36 am #243780 Mary Pearson Thanks Tom. I’m using it on Multisite and only had it activated on the Store site. I’ve now Network Activated Woo and all works perfectly now. Thank you again! November 12, 2016 at 11:50 am #243830 TomLead Developer Lead Developer You’re welcome π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In