latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

CURRENT_USER_LOGIN Navigation Link

Home Forums Community Forum CURRENT_USER_LOGIN Navigation Link

This topic contains 0 replies, has 1 voice. Last updated by  James Kirk 3 years, 1 month ago.

Topic Author Topic
Posted: Wednesday Nov 20th, 2013 at 12:29 pm #61254
James Kirk
Username: jibwauly

I just thought I would share this information with everyone.

I recently created a site for a client who wanted Private Client Pages. I decided to use s2member to do this and used the custom capabilities to assign each user their own page. For a couple of days I have been struggling to add a link to the Navigation Bar that would link the user back to their own private page should they navigate to another page within the site once logged in.

After a lot of trawling through posts and searches on the internet I came across this (see link)

http://www.s2member.com/forums/users/pgprovenzano/

This guy was having EXACTLY the same problem as me! In my header.php file I added my own custom menu and then inserted this code into the navigation menu – see example code

<div class="wrappernav">
    <!--! nav -->
    <div class="nav"> 
    <div id='cssmenu'>
<ul> <li>&lt;a href=&quot;"&gt;Back to My Account</a>&lt;a href=&quot;"&gt;Login</a> </li>
<li><a href="http://adimusltd.com/backoffice/submit-a-case/">Submit a Case</a></li>
</ul>
</div>

For anyone else that has been having this problem I hope this helps!

  • This topic was modified 3 years, 1 month ago by  James Kirk.
  • This topic was modified 3 years, 1 month ago by  James Kirk.
  • This topic was modified 3 years, 1 month ago by  James Kirk.
  • This topic was modified 3 years, 1 month ago by  James Kirk.

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.