Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing HTML in current theme – Wisdom of Life Themeforest

  • I tried the first method by editing the 11 files mentioned but I just cannot get it working because I don’t understand very well what to edit. After I edited a file, I uploaded it and refreshed the page that is using that template but the div classes didn’t even changed and I don’t understand why. Please help.

    _____________________________________________________________________________
    Instructions:

    If BuddyPress pages are not aligned correctly, then you may need to modify some of the templates to match your theme’s HTML structure. The best way to do this is to access your theme’s files, via FTP, at:

    /home/nutr/public_html/wp-content/themes/wisdom/

    Open up the page.php file (if this does not exist, use index.php). Make note of the HTML template structure of the file, specifically the

    tags that surround the content and sidebar.
    You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file.

    There are two methods for making the necessary template changes.

    The first method is to locate tho following templates (leave out any folders that you didn’t copy over in Step Two):
    /activity/index.php
    /blogs/index.php
    /forums/index.php
    /groups/index.php
    /groups/create.php
    /groups/single/home.php
    /groups/single/plugins.php
    /members/index.php
    /members/single/home.php
    /members/single/plugins.php
    /registration/register.php

    Alternatively, you may find it easier to make copies of your theme’s header.php, sidebar.php and footer.php and rename them to header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php.

    Then you can alter the structure of these new template files (header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php) to resemble your theme’s page.php (or index.php).

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

  • @mercime
    Participant

    @mercime

    @idanny08 open up the header.php of your wisdom theme, copy all, paste in pastebin.com, click submit, and post the generated URI here. Do the same for your theme’s index.php, page.php, sidebar.php and footer.php

    Initial scan shows that you might just need to create only two files to align HTML structure of template files. But we need the information requested above to help you.


    @mercime
    Participant

    @mercime

    @idanny08 Based on the HTML structure of your theme, you will only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.

    If you’ve revised any of the BP template files transferred to your wisdom of life theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

    A. COPY your theme’s header.php and Save As > header-buddypress.php

    Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add the code from http://pastebin.com/pTiuAruq

    Save file.

    B. CREATE A NEW BLANK FILE named sidebar-buddypress.php

    Open up the blank sidebar-buddypress.php file and add the code from http://pastebin.com/1FyKJ5eK

    Save file.

    C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/wisdom-of-life/ in the same directory where your regular header.php and sidebar.php files are

    D. Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.

    Final note: not sure whether the breadcrumbs or theme options will work in the BP pages.

    @mercime thank you for your time. everything it’s working fine. breadcrumbs are not working and I removed it.


    @mercime
    Participant

    @mercime

    You’re welcome. Thanks for getting back and confirming the breadcrumb issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing HTML in current theme – Wisdom of Life Themeforest’ is closed to new replies.
Skip to toolbar