Skip to:
Content
Pages
Categories
Search
Top
Bottom

Aligning Buddypress within Amplifier (non-buddypress) theme

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

  • @mercime
    Keymaster

    @mercime

    First of all, if you’ve made any revisions in any of BP template files transferred to your amplifier theme folder in your server, I recommend that you delete the 6 BP template folders and re-run Appearance > BP Compatibility so that new and clean BP template files will be transferred to your amplier theme folder.

    Scan of source code reveals that you can use the second method to make your theme compatible with BuddyPress i.e. only create header-buddypress.php and sidebar-buddypress.php files, instead of revising 16 BP template files. With this set-up however, you can only have a right sidebar as I have deleted the option in the template so that layout won’t break.

    Make a copy of your theme’s header.php and save it as header-buddypress.php
    Open up header-buddypress.php and add the following at the very bottom of the file below all other code

    `

    <div id=”post-“>`

    @mercime
    Keymaster

    @mercime

    [Part 2]

    Create a new empty file and name it sidebar-buddypress.php
    Open up empty sidebar-buddypress.php and add the following

    `

    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 file.

    Upload two new files created to amplifier theme folder in server.

    This helped a lot!
    Thanks for your great help!

    I did change:
    `

    `
    in
    `

    `

    and
    `

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Aligning Buddypress within Amplifier (non-buddypress) theme’ is closed to new replies.
Skip to toolbar