• I would appreciate it if someone could let me know how to modify the BP template pack’s themes with the code from Unique’s page.php. There is a sidebar on the pages.

    The code for page.php:

    <?php get_header(); ?>

    <div id=BreadCrumbs class=”BreadCrumbs”>
    <?php the_breadcrumbs(‘page’) ?>
    <?php print_fontsize_selector() ?>
    </div>
    <div id=”Content”>
    <div id=RightColumn>
    <?php get_sidebar(); ?>
    </div>

    <div id=LeftColumn>
    <div id=”ArticleContent”>

    <?php normal_post(); ?>
    <div class=”CleanerLeft”></div>

    <?php

    $contactid = get_contact_link(‘id’);
    $contactlink = get_contact_link();
    if ($contactid == get_the_ID($contactlink)) { // this applies just for the contact page
    get_contact_form($contactlink);
    }
    else { // this is for any other post than the contact page
    include (‘comments.php’);
    }
    ?>

    <?php edit_post_link(‘Edit this entry.’, ‘<p>’, ‘</p>’); ?>

    </div>
    </div>

    <div class=”Cleaner”></div>
    </div>
    <?php get_footer(); ?>

    Thanks in advance for helping!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The above code looks like it’s from a contact form page, not from the theme’s page.php or index.php as was given in the BP Template Pack process. See these for reference
    https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
    https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/

    Thread Starter chukler

    (@chukler)

    Hi, thanks for taking a look, unfortunately for me it is the actual page.php, just seems to have contact form/comments form built in. I have been through the provided links previously too.

    Please feel free to check out the website itself, at https://pawprintspettraining.com.au/

    The home page (index.php) is in much the same format but with extra options for the slider etc.

    At the moment we’re working around things, as we’ve also found that turning comments on, on any page or post, will break the template and look awful, and to keep in touch with interested parties we are asking them to register.

    Ultimately we would like to be able to use BuddyPress to make all of that much easier, plus it would be a really good networking tool for people in the industry.

    Thanks

    Checking out your theme, there is form at the bottom of this Page where you can suggest support for WordPress plugins (BuddyPress is a WP plugin) and see what theme dev can come up with.

    Or, if you determined what layout you want for all your BP pages, e.g. right sidebar per link in the same page above in section “See examples below to preview all sidebar position options” and look at the page source of this page to determine the HTML structure for the main content of your page.

    For your theme, you will be comparing the structure within that page’s div#Content with the structure of all 13 BP template files transferred to your active theme during the BP Template Pack process.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Buddypress template pack – getting it to work with Unique theme’ is closed to new replies.