Skip to:
Content
Pages
Categories
Search
Top
Bottom

Which are the essential buddypress theme pages needed to edit?


  • Anonymous User 1502623
    Inactive

    @anonymized-1502623

    Hi there, it looks like it’s going to be easier to edit a child theme than edit BP into my WordPress theme, but there’s a few things I’d like to know please.

    I know that BP themes use pages, but which pages should I edit? This is what I edit on my WP theme

    home.php > home page

    archive.php > chronological archive of posts

    index.php > post template

    search.php > template for search results page

    page.php > page template

    etc…

    In lamens terms, what are the equivalent for these ‘vital’ pages in a buddypress theme? Once I know this, I think I would be just about ok going about editing the default buddypress theme to my liking :) thanks

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

  • 5887735
    Inactive

    https://wordpress.org/extend/plugins/bp-template-pack/

    It will walk you through it.

    EDIT:

    Sorry I misread your question. I thought you where looking to edit a WP theme.


    Gianfranco
    Participant

    @gian-ava

    Assuming you installed the “bp-template-pack”, here they are:

    Template Files (generating web pages):

    1) activity/index.php

    2) members/index.php

    3) members/single/home.php

    4) members/single/activity/permalink.php

    5) members/single/plugins.php

    6) groups/index.php

    7) groups/create.php

    8) groups/single/home.php

    9) groups/single/plugins.php

    10) forums/index.php

    11) registration/register.php

    If you are going to install Album+ plugin:

    – wp-content/plugins/bp-album/includes/templates/album/single.php

    – wp-content/plugins/bp-album/includes/templates/pictures.php


    Anonymous User 1502623
    Inactive

    @anonymized-1502623

    I’ve installed the template pack which has activated. When visiting the settings screen for the plugin, I’m presented with this error at the bottom:

    Fatal error: Call to undefined function bp_core_is_multisite() in /home/audioscr/public_html/wp-content/plugins/bp-template-pack/bp-template-pack.php on line 188

    Will this hamper anything do you think?

    Just to clarify… I see the numerical pages you’ve listed.. but I’m not sure which pages they relate to, should it be obvious?


    Gianfranco
    Participant

    @gian-ava

    Well, first of all you should get things working, without getting any errors. And about that I don’t have any clue on how to fix it. And once everything works properly, then you can think about the pages to style.

    The list I provided is the list of files that need to be changed to match your WP layout structure, with the header, content, sidebar, footer.


    jivany
    Participant

    @jivany

    If you are starting fresh with a BP child theme, all you need to do is look at the files in bp-default to decide if you need to customize them or not. I know that sounds sort of open ended but with the way child themes work, some time you might need to copy and edit every file but other times you may need to only touch one or two.

    My approach has been to create the initial child theme style.css file and then start with the “regular” files – home.php, sidebar.php, index.php, archive.php, etc. just like a normal WP theme. I only copy a file from bp-default into the child theme if I really really need to modify it. Most of the time you can easily add stuff via actions and filters in your functions.php file. The advantage is this can be much more portable if you redesign your site in the future – just copy functions.php into a new child theme and go from there.

    Really it’s best to just systematically go through bp-default and decide if you need to tweak each .php file or not. In most cases, you probably don’t have to. ;)


    jivany
    Participant

    @jivany

    Oh, and with respect to your error, make sure you are running the latest WP (2.9.2) and BP(1.2.3) versions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Which are the essential buddypress theme pages needed to edit?’ is closed to new replies.
Skip to toolbar