badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

vince

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: bbPress without the sidebar? #25372
    vince
    Participant

    Sorry, another update, I’ve found that using,

    get_template_part( ‘content’,’nosidebar’ );

    …instead of ripping off the contents of the template works just as well, so to edit above, we just need to replace do_action( ‘ultimate_main_container’ ); with get_template_part( ‘content’,’nosidebar’ );

    Phew,

    Vince

    PS, Great theme guys, keep up the good work

    in reply to: bbPress without the sidebar? #25371
    vince
    Participant

    Hi again,

    I think I’ve cracked it, so here what I’ve done in case it helps anyone else,

    * Create a child theme with the bbpress.php file
    * Edit that bbspress.php file and add the contents of page.php from the Ultimate theme
    * In this new bbpress.php file, find the <?php…<?> code block containing do_action( ‘ultimate_main_container’ );
    * Delete this code block and in it’s place, add the contents of the file content-nosidebar.php from the Ultimate theme

    I preferred the elegance of the short code, and if the content-nosidebar.php ever changes in the main theme, I’m sure we’ll get out of date, but it’s finally working, so it’ll do for now.

    Thanks,

    Vince.

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