Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modify bp template pack files for onPlay theme

  • @mmendezmi

    Member

    hey all- @mercime
    working off fresh install of both wp 3.2.1 and bp 1.2.9.
    using onPlay theme from wpzoom

    I’m trying to modify the bp template pack files to make buddypress pages to display properly. Now all the buddypress pages are diplaying in the header see http://www.rowvision.com/members/miguel/profile/
    when it should appear lower in the page like http://www.rowvision.com/manuel-benito-compito-aka-og-man/

    I’m told i’m missing a div or two, here is the code from my themes page.php file

    Thanks!

    `<?php
    global $options;
    foreach ($options as $value) {
    if (get_settings( $value ) === FALSE) { $$value = $value; } else { $$value = get_settings( $value ); }
    }
    ?>

    <a href="” rel=”bookmark” title=”Permanent Link to “>

    ‘.__(‘Pages’, ‘wpzoom’).’: ‘, ‘after’ => ‘

    ‘, ‘next_or_number’ => ‘number’)); ?>

    .

    `

Viewing 4 replies - 1 through 4 (of 4 total)
  • @mercime

    Participant

    I will presume you’ve gone through this https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/ and only need to adjust code in BP template pack files as follows:

    Open up the first file, activity/index.php and change
    `

    `

    with
    `<?php
    global $options;
    foreach ($options as $value) {
    if (get_settings( $value ) === FALSE) { $$value = $value; } else { $$value = get_settings( $value ); }
    }
    ?>

    `

    and at the bottom of same file, replace
    `

    `

    with
    `

    `

    The do the same with the remaining template files

    Note that you would have to change the

    or

    tags wrapped around page titles in BP template pack files as needed to

    per your theme’s page titles.

    @mmendezmi

    Member

    Thanks so much @mercime! Fix worked- pages are displaying in the correct area, but now the sidebar is displaying beneath the content ( http://www.rowvision.com/members/miguel/profile/ ). Can I get a little assistance with this too? I saw a thread earlier with the same prob and now can’t seem to find it.

    You presume correct, I have gone through the wordpress to buddypress codex page.

    Also can you explain explain a little more about changing the tags wrapped around page titles. Where should I look to see how my theme does the page title tags?

    Thanks again- MM

    @mercime

    Participant

    Looks like you used the single.php or index.php code instead. You fixed the sidebar and pagetitle tags on your own! Cool :-)

    @mmendezmi

    Member

    I did, but i’m not sure if it’s totally kosher- started a new thread here
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/apply-css-style-to-div/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Modify bp template pack files for onPlay theme’ is closed to new replies.
Skip to toolbar