Skip to:
Content
Pages
Categories
Search
Top
Bottom

Using Custom Userbar.php

  • Avatar of wordpressfan
    wordpressfan
    Participant

    @wordpressfan

    I want to use a custom version of userbar.php. How do I call my custom userbar.php rather than the default?

Viewing 7 replies - 1 through 7 (of 7 total)
  • If you’re using a BP 1.1 child theme, you can just put the file in your child theme directory

    Avatar of wordpressfan
    wordpressfan
    Participant

    @wordpressfan

    Done. What do I do for php files within directories, such as bp-xprofile? (Do I recreate that directory in my child theme or somehow call a custom .php file?

    Child themes are just that – themes. If you want to change something that isn’t a theme, you will have to see if you can create a code plugin or bp-custom.php or last resort, hack the core.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @wordpressfan, yes go ahead and copy the files over from the parent theme into your child theme, and modify from there. Anything in your child theme will override the files from the parent.

    Avatar of wordpressfan
    wordpressfan
    Participant

    @wordpressfan

    Great. It is a simultaneous hacking and learning process for buddypress themes.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    If you don’t want to learn it, there are professionals willing to get paid to speed the process and ease your pain.

    Avatar of wordpressfan
    wordpressfan
    Participant

    @wordpressfan

    Learning is half the fun. I’m looking forward to new buddypress child themes appearing.

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

The topic ‘Using Custom Userbar.php’ is closed to new replies.