Skip to:

Tweaking the layout – what is my structure?

  • Monkally


    Hello everybody,

    So I am currently trying to make my wordpress theme compatible with Buddypress, and the “tweaking the layout” section is causing some troubles. I can’t seem to figure out how to fix the alignment. It says in the tutorials, that I should change the HTML structure selected BuddyPress template files to match the structure of your WP theme’s page.php or index.php file.

    I am having trouble with finding the structure – it does not look quite right on my site. Can somebody help my figure out my HTML structure in the following, and how I should insert these in my buddypress files?

    Template Name: Page with sidebar

    <?php get_header(); ?>

    <div class = "outerpagewrap">
    <div class="pagewrap">
    <div class="pagecontent">
    <div class="pagecontentContent">
    <h1><?php the_title();?></h1>
    <p><?php the_breadcrumb(); ?></p>
    <div class="homeIcon">"></div>


    <div id="mainwrap">

    <div id="main" class="clearfix">

    <div class="pad"></div>

    <div class="content pagesidebar">
    <div class="postcontent">
    <div class="posttext">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="usercontent"><?php the_content('<p class="serif">Read the rest of this page »</p>'); ?></div>

    <?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>

    <?php endwhile; endif; ?>
    <h3 class="titleborderh"><?php echo stripText($data['translation_share_page']) ?></h3>
    <div class="titleborder"></div>
    <div class="socialsingle"><?php socialLinkCat(get_permalink(),get_the_title(),false) ?></div>
    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    I am using the bp-compatible plugin.

Viewing 1 replies (of 1 total)
  • You don’t mention what theme your using and information like that is important.

    But in the meantime why are you trying to use BP in the older bp-default manner, i.e with template pack and folders copied over, is there a particular reason or did you try simply running your theme and letting BP use it’s new theme compatibility mechanism to find it didn’t work with this theme? If no to the last question try removing those folders copied over, deactivate template pack and see how theme compatibility handles things with your theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Tweaking the layout – what is my structure?’ is closed to new replies.
Skip to toolbar