Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Pages

  • @wordpressfan

    Participant

    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)
  • @djpaul

    Keymaster

    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: https://codex.wordpress.org/Template_Tags/wp_list_pages

    @wordpressfan

    Participant

    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?

    @johnjamesjacoby

    Keymaster

    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.

    @wordpressfan

    Participant

    Thanks, John.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding Pages’ is closed to new replies.
Skip to toolbar