Skip to:
Content
Pages
Categories
Search
Top
Bottom

Layout problem/question with Buddypress Theme Pack

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Everything is explained on step three of the setup process.

    Avatar of catholicservant
    Craig Berry
    Participant

    @catholicservant

    Yes… I agree :)

    I’m just wondering if someone might be willing to spell out the layout change that would fix the apparent problem. I’m a PHP newbie…sorry.

    Avatar of catholicservant
    Craig Berry
    Participant

    @catholicservant

    If anyone is willing to help…here’s my page.php…again I’m not sure what I need to re-arrange in the BP template files…if someone described what needs changing in one of them, I can figure out the rest…THX

    <?php get_header(); ?>

    <div class="post">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">

    <h1><?php the_title(); ?></h1>

    <small> <?php edit_post_link( __('Edit'), ' | ', ''); ?></small>

    <?php the_content('<p>Read the rest of this entry »</p>'); ?>

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

    </div>

    <?php endwhile; else: ?>

    <p>Sorry, no posts matched your criteria.</p>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Avatar of Andrea Rennick
    Andrea Rennick
    Participant

    @andrea_r

    It’s not php, it’s HTML. :) Your theme page up there has a “post” div aroudn the content area. make the BP template files match that. (Hint: look for the “content” div.)

    Avatar of catholicservant
    Craig Berry
    Participant

    @catholicservant

    Hi Andrea…thanks for the tips and helping a newbie.. Yep, I see everything you’re describing…

    But wow…wish I knew what I’m trying to accomplish exactly.

    Am I supposed to just re-arrange the HTML elements? Match the div classes?

    The other thing I don’t get is, both my page.php and BP template files seem to be calling/loading the sidebar element…if so, is only one of them supposed to?

    I’ve never really hacked any WordPress layout before (new from Joomla)

    I’m really interested in learning this aspect of WordPress though if anyone is interested in helping out. :)

    Avatar of catholicservant
    Craig Berry
    Participant

    @catholicservant

    Howdy folks…think I’m going to punt on this one…bit over my head and not enough time to research it.

    Thx anyways

    Avatar of Andrea Rennick
    Andrea Rennick
    Participant

    @andrea_r

    Match the div classes. :) The BP ones need to match your theme.

    Avatar of catholicservant
    Craig Berry
    Participant

    @catholicservant

    OK! That helps. Thanks Andrea. I’ll give it another shot.

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

You must be logged in to reply to this topic.