Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Pages

  • Avatar of wordpressfan
    wordpressfan
    Participant

    @wordpressfan

    What steps must I take to add an “About” page to my installation? Such a page is already created, but BuddyPress themes do not dynamically add pages to the main menu.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you haven’t already, make a child theme. Copy in header.php and edit it.

    If you want to manually add a link to your specific page, do that, otherwise look into adding this: http://codex.wordpress.org/Template_Tags/wp_list_pages

    Avatar of wordpressfan
    wordpressfan
    Participant

    @wordpressfan

    Thanks. I have some questions:

    1. By “copy in” do you mean copy the header.php file from the bp-parent?

    2. If the child theme points to bp-sn-parent, how do I tell it to get header.php from my child theme?

    3. Or, am I completely missing the point and you are suggesting I edit the parent them?

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Never edit the parent theme unless you copy the files out of it and create your own. By editing the parent theme directly you’re risking it not working correctly in future versions.

    Copy the header.php out of the parent theme folder, and into your current active theme folder. bp-default, or whatever else you might be using.

    WordPress will automatically override the parent header.php because files in child themes have a higher priority over parent themes. You won’t need to do anything additional to tell it what to do.

    Avatar of wordpressfan
    wordpressfan
    Participant

    @wordpressfan

    Thanks, John.

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

You must be logged in to reply to this topic.