SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Apr 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Please Help! Trying to create a navigation bar on a specific page

    I am in the midst of building a site and have been stuck on this part for two days now. Have looked for help in the WordPress forum but not getting anywhere with it. What I need help with is, making a navigation bar like http://portfolio.alicegao.com/#freemans on a specific page. If you could help, that would be greatly appreciated!!

    Thanks in advance!

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,177
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Hi mrse2008. Welcome to the forums.

    What aspects(s) of that menu do you need?

  3. #3
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    727
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Welcome...and can you clarify?
    a way to create more than one menu is to indicate it in the functions. for example I created two menus for my wp experimentation.

    with
    PHP Code:
    <?php include (TEMPLATEPATH '/sidebar01.php'); ?>
    or
    PHP Code:
    <?php include (TEMPLATEPATH '/sidebar02.php'); ?>
    where I wanted it. and of course i added the links in the wp-admin bit.

    and I had this in the funcstions.php page
    PHP Code:
        // Declare sidebar widget zone
    if ( function_exists('register_sidebars') )
    register_sidebars(2);


    if ( 
    function_exists('register_nav_menus') ){
    register_nav_menus(
        array(
        
    'mainNav' => 'MainNavMenu',
        
    'secNav' => 'SecNavMenu',
        )
    );} 
    that being said it is unclear if you want the same style as the link you provide or just diff menus in diff areas.

  4. #4
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    727
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I am also going to add...go to chrome. pull up that url. right click on the element that interests you and choose "inspect element" it will help you as well w/some added reverse engineering and you can see what resources/code/jquery they used.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •