Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding navigation buttons to the header

  • @russelrocketpopmediacom

    Participant

    Im still a beginner in php. I could use a point in the right direction.

    thanks

    Russel

Viewing 6 replies - 1 through 6 (of 6 total)
  • @takeo

    Participant

    the navigation links are located in header.php

    @russelrocketpopmediacom

    Participant

    I was hoping to find some sample code to get me started.

    @wordpressfan

    Participant

    The header is created out of simple

  • statements; check out the header.php for details. You can also read the codes.wordpress.org for examples on how to automatically add categories/pages to your menu.

@takeo

Participant

The code to add depends on what links you want to add :-) Want to link to Apple?

<li><a href="http://www.apple.com">Apple</a></li>

want to list all your pages?

<?php wp_list_pages(); ?>

want to hard code a link to a contact page (assuming the link is /contact/)

<li><a href="/contact/">Contact</a></li>

etc.

Look in the header.php file and you will see all the links that are currently there.

@russelrocketpopmediacom

Participant

thanks guys

@ziggity

Participant

this is cool but what if i have a page with some php and HTML code i wrote on it? how do i link to that and have it be in the buddypress template? i found another thread about it https://buddypress.org/forums/topic/make-your-own-custom-buddypress-page but it’s not working and nobody’s come up with a solution for it yet.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding navigation buttons to the header’ is closed to new replies.
Skip to toolbar