Skip to:
Content
Pages
Categories
Search
Top
Bottom

Sidebar dropping in Wootheme’s Diner

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

  • @mercime
    Keymaster

    @mercime

    == but asked that I start my own thread. ==
    @katandmouse Yes, because you have different themes and I’ll be posting different codes/instructions

    Based on the HTML structure of your theme, you’d need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your Diner theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your theme folder, replace all of them for a clean slate by deleting the 6 BP folders in server – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.

    Download the 6 clean BP folders to your computer hard drive.

    A. At the top of each of those 16 template files I linked to above, replace
    `

    `

    with
    `

    <div id="main" class="frontend->bookings_page ) || is_page( $wootable->frontend->manage_page ) ): echo ‘reservation-page ‘; endif; ?>col-left”>
    <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('

    ‘); } ?>

    `

    Save files.


    @mercime
    Keymaster

    @mercime

    B. At the bottom of the same 16 files, replace:
    `

    `

    with the following (except for registration/register.php):
    `
    <?php
    if ( ! is_page( $wootable->frontend->bookings_page ) && ! is_page( $wootable->frontend->manage_page ) ) {
    get_sidebar();
    }
    ?>

    `

    with the following for registration/register.php:
    `
    <?php
    if ( ! is_page( $wootable->frontend->bookings_page ) && ! is_page( $wootable->frontend->manage_page ) ) {
    get_sidebar();
    }
    ?>

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();
    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    `

    Save files.

    C. Upload the 6 BP folders containing the 16 files you revised up to your server wp-content/themes/diner/

    D. You might also want to check out the style modifications made in BP Twenty Ten for reference especially with removing the bullets and bringing in the extended width of the BP elements. https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/

    NOTES
    1. No guarantee that the breadcrumbs will work in BP pages.
    2. In each of 16 files, you might want to change the BP Templates’ page title’s header tag from `

    ` or `

    ..

    ` to `

    ..

    ` and move it above `

    `, just watch out when you do this in the /activity/index.php page.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar dropping in Wootheme’s Diner’ is closed to new replies.
Skip to toolbar