Jump to content


Photo
- - - - -

Add login to fixed nav


  • Please log in to reply
11 replies to this topic

#1 musicianwages

musicianwages

    Advanced Member

  • Members
  • 38 posts

Posted 14 August 2012 - 09:30 PM

I'd like to add login info to the fixed nav bar. Has anyone done this or know how? Something like this -

When not logged in:
Login: [_________] Password: [_________] Register?

When logged in:
Logout

Any ideas? I'd settle for a list of hooks in the fixed nav bar. They don't seem to be included in the public hooks list here:

Please Login or Register to see this Hidden Content



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 14 August 2012 - 10:48 PM

Are you using the Action Map plugin? That should identify each element for you

#3 beardedavenger

beardedavenger

    Unicorn Wrangler

  • Members

  • 1219 posts
  • Country: Country Flag

Posted 14 August 2012 - 11:51 PM

Ya all sections come with 4 hooks that are generated dynamically. Sorry that api link isn't quite up to date: Check out the 'Using Hooks' link here on the Theming Center

Please Login or Register to see this Hidden Content

Nick

#4 musicianwages

musicianwages

    Advanced Member

  • Members
  • 38 posts

Posted 16 August 2012 - 06:36 AM

Thanks for the help so far. I was using the wp_nav_menu_items hook to put the "Login"/"Logout" link at the end of my brandnav menu. That worked great. I'd like to move it up to the end of the Fixed Nav menu. I found and tried pagelines_inside_bottom_navbar, but no luck. Is there another way? That would be very sweet to have the login/logout options on the fixed bar.

#5 Danny

Danny

    Is Awesome!

  • Moderators
  • 13192 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 16 August 2012 - 10:35 AM

Hi, I have just visited your website and noticed that the Login button is at the end of your menu, is this issue now resolved?

#6 musicianwages

musicianwages

    Advanced Member

  • Members
  • 38 posts

Posted 16 August 2012 - 05:25 PM

No, the login/logout link is at the end of the brandnav menu. I would like it in the fixed nav menu.

#7 batman

batman

    Bat Learning

  • Members

  • 1768 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 16 August 2012 - 06:29 PM

Hi
You can make a new custom menu with the login link "http://www.musicianwages.com/wp-login.php?redirect_to=index.php" (I don??t know how make logout)
and assign It to the fixes Nav in
Pagelines > Site Option > NavBar > NavBar and Fixed NavBar Menu

Sorry, this is not the solution
:(

#8 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 16 August 2012 - 07:23 PM

I'm not sure the fixed nav has its own designated hooks. Only classic nav and brand nav.

#9 musicianwages

musicianwages

    Advanced Member

  • Members
  • 38 posts

Posted 20 August 2012 - 07:26 AM

Can I designate this as a feature request?

#10 Danny

Danny

    Is Awesome!

  • Moderators
  • 13192 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 20 August 2012 - 09:34 AM

Hi, There are currently no hooks available for the fixed navbar as far as I can see. Therefore, the only way to add these links to the Fixed Navigation would be to, create a child of the section and add your own links to it.

#11 musicianwages

musicianwages

    Advanced Member

  • Members
  • 38 posts

Posted 21 August 2012 - 03:40 AM

Understood. I'll try that.

#12 Danny

Danny

    Is Awesome!

  • Moderators
  • 13192 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 21 August 2012 - 10:16 AM

OK cool. For moderating purposes, I have accepted my answer. If you require further assistance, simply reply here and the topic will reopen.