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.

Alternate Menu for members

Home Forums Community Forum Alternate Menu for members

This topic contains 1 reply, has 2 voices. Last updated by  Cristián Lávaque 4 years, 10 months ago.

Topic Author Topic
Posted: Friday Feb 24th, 2012 at 11:20 am #6275
Deyson Ortiz
Username: deyson

Hello, I wanted to know if there is a way I can have an alternate navigation menu for members when they log on.

I would like to have a section for members only to show up when members log on. So the button that non-members use to become members would switch to a members only button when they log on.

So a \”join\” button in the navigation would switch to “members\”.

Thank you and have a wonderful day!

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Friday Feb 24th, 2012 at 5:44 pm #6337

Hi Deyson.

You can use a conditional in your theme to achieve this.
http://codex.wordpress.org/Function_Reference/is_user_logged_in
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

You could also work with some PHP in a text widget.
[hilite path]WP Admin -> Appearance -> Widgets -> Text[/hilite]
http://wordpress.org/extend/plugins/exec-php/

I hope that helps. :)

Viewing 1 replies (of 1 total)

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.