Sahifa Theme, Themeforest

Tags

,

Theme Compatibility

(Previously template-packed theme https://bpsocialnetwork.wordpress.com/2012/09/29/sahifa-theme-themeforest/ almost a year ago)

1. http://codex.buddypress.org/bp-17-upgrading-template-packed-themes/
2.A. http://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/
2.B. http://codex.buddypress.org/developer/theme-development/template-hierarchy/

To resolve templating issue, following uses one file (2.A. above) to render the HTML structure and content of the BuddyPress component pages.

Create a new file, buddypress.php, and add the following to the file.

    <?php get_header(); ?>
            <div class="content">
                    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>              
                            <article class="post-listing post">
                                    <div class="post-inner">
                                            <h1 class="name post-title entry-title" itemprop="name"><?php the_title(); ?></h1>
                                            <div class="entry">
                                                    <?php the_content(); ?>
                                            </div><!-- .entry /-->
                                    </div><!-- .post-inner -->
                            </article><!-- .post-listing -->
                    <?php endwhile; ?>
            </div><!-- .content -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

Save file and upload to your theme directory in server.

If you want to customize your BP component pages, use the method provided in #2.B. above.

Follow

Get every new post delivered to your Inbox.