edit php for wordpress menu

Discussion in 'PHP' started by AtSeaDesign, Mar 7, 2011.

  1. #1
    I had this in the CMS section but I'm thinking it was in the wrong place. Mods please remove from there. :)

    I'm a hand coder and am just starting out with WP for my blog.

    I'm using a theme called vectors by Maximus over at ThemeForest and I’m trying to remove my about page from my header (next to the logo)

    I’m referencing this in the header but I can’t seem to remove the page.

    
    
        <?php wp_nav_menu( array(‘container’ ?> false, ‘menu_class’ => ‘menu-nav-top’, ‘theme_location’ => ‘top-menu’ ) ); ?>
    
    Code (markup):
    I assume one of these will remove it but everything I try produces a php error.

    Anyone have any ideas how I can remove this thing?

    blog is at http://www.atseadesign.com/blog
     
    AtSeaDesign, Mar 7, 2011 IP
  2. mallorcahp

    mallorcahp Peon

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If the theme supports menus then you don't need to change the code. In the admin area, go to Appearance -> Menus and create a new menu with the pages you want, then, change the primary navigation menu to the new menu.
     
    mallorcahp, Mar 8, 2011 IP
  3. AtSeaDesign

    AtSeaDesign Active Member

    Messages:
    172
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    93
    #3
    Yes thank you. I figured that out this afternoon. :)
     
    AtSeaDesign, Mar 8, 2011 IP
  4. megafileporn.com

    megafileporn.com Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank ! thank ! thank ! thank !
     
    megafileporn.com, Mar 9, 2011 IP