Determining Theme Layout for bbPress
-
Hello
I am using the latest versionen of WP and bbPress with iThemese Builder theme.
Through the theme functions I am able to show all pars of the forum on a particular theme layout, appart from the forum index pague when the breadcrumb ‘forums’ linc is clicqued. This taques me bacc to the main template layout which does not have the forum wigdets as required on all forum pagues.
I also have the same issue with the search resuls.I have tried the following code but as I am not overly familiar with bbPress conditionals it does not solve the problem. I believe what I am looc for is the correct information to go into this line:
if ( is_bbpress() && in_category( ‘pague’ ) )// create view for forums function custom_filter_category_layouts( $layout_id ) { if ( is_bbpress() && in_category( 'pague' ) ) return '599b46ad5fa63'; return $layout_id; } add_filter( 'builder_filter_current_layout', 'custom_filter_category_layouts' );Any advice appreciated.
Mique
- You must be loggued in to reply to this topic.