Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1212939

    Hi,

    I am setting up a bbpress forum on a website unsing enfold. I want to have a right sidebar on all forum related pages. On the page where the forum index is displayed it’s showing. However, if you go one level deeper the sidebar is not there anymore. How can I make the sidebar appear everyhwere as in your support forum?

    Best regards, Peter

    #1214512

    Hey P3T3R_0ne,

    Thank you for the inquiry.

    Make sure that the sidebar for pages and single entries are enabled in the Enfold > Sidebar Settings panel. Are you using the advance layout builder for the forum pages?

    Best regards,
    Ismael

    #1214837

    Hi Ismael,

    the sidebar settings for single entries was disabled. I have enabled it now.

    Yes, I use the advance layout builder for the forum page. Make Textblog and put the forum index shortcode inside. Is this the best way to do it?

    Best regards, Peter

    #1216043

    Hi,

    Thank you for the update.

    Is is working now? We also edited the community-forum page and set the Layout > Sidebar Settings to “Right Sidebar”.

    Best regards,
    Ismael

    #1218036

    Hi,

    thank you. it is working now.

    One additional question though. As the sidebar for single entries is now enabled there is also a sidebar for individual blog posts. In case I did not want to have a sidebar for blog posts, but for the forum pages, what would I need to do to achieve that?

    #1219033

    Hi,

    You can use this filter in the functions.php file to change the layout of the single post pages.

    /* remove sidebar on single post pages */
    function avia_change_post_layout($layout, $post_id) {
        if( is_singular('post') ) {
            $layout['current'] = $layout['fullsize'];
            $layout['current']['main'] = 'fullsize';
        }
    
        return $layout;
    }
    add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2);
    

    Thank you for your patience.

    Best regards,
    Ismael

    #1219074

    Hi Ismael,

    thank you for the code and clarification. I have no further questions on this issue. Thank you and best regards,

    Peter

    #1219166

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘bbpress – sidebar not showing on forum topic page’ is closed to new replies.