BuddyPress Template Pack, Commercial WordPress Themes

Sahifa Theme, Themeforest

UPDATE: Sahifa for BP 1.7+ https://bpsocialnetwork.wordpress.com/2013/07/28/sahifa-theme-themeforest-2/

STEP 3 of the BuddyPress Template Pack plugin compatibility process.

Based on the HTML structure of your theme, you will only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.

If you’ve revised any of the BP template files transferred to your sahifa theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your sahifa theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

A. COPY your theme’s header.php and Save As > header-buddypress.php

Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:

<?php get_header(); ?>
<div class="content">
<article class="post-listing post">
<div class="post-inner">

Save file.

B. CREATE A BLANK sidebar-buddypress.php

Open up the blank sidebar-buddypress.php file and at the very TOP of the file, add this:

</div></article></div>
<?php get_sidebar(); ?>
<?php if ( bp_is_register_page() ) : ?>
        <script type="text/javascript">
                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();
                        });
                });
        </script>
<?php endif; ?>
<?php get_footer(); ?>

Save file.

C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/sahifa/ in the same directory where your regular header.php and sidebar.php files are

D. Copy the style modifications made in BP Twenty Ten to bottom of your theme’s stylesheet http://codex.buddypress.org/legacy/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ Adjust to taste.

About these ads
Standard

2 thoughts on “Sahifa Theme, Themeforest

  1. hi,i try to follow your guide but i get lost when i come to section ” D “.

    i do use sahifa . and all i need is to remove sidebars from buddypress pages .

    any idea how to do that ?

    thank you

    • mercime says:

      Section D deals with adjustments to styles on the BuddyPress pages and not with changing layout.

      Check the template files included in the Sahifa theme. If you find a template for a full-width page, copy all the code inside of that full-width template and paste to pastebin.com. Click submit and post the generated URI here.

Comments are closed.