registration navigation

This topic contains 4 reply and 3 voices, and was last updated by matchbranding 12 years, 3 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
April 4, 2013 at 5:14 pm 1782
matchbranding how would i create a menu bar that would display one thing if a user is not registered or logged in (ex: Signup | Login) and then another thing once registered or logged in (ex: Dashboard | User Profile | Logout)? Thanks!
April 4, 2013 at 5:26 pm 1784
Mahi Mahi

You may try this plugin – http://wordpress.org/extend/plugins/wordpress-access-control/

here is some tricks as well – http://wordpress.org/support/topic/alternative-menu-for-logged-in-users

just google it you will find many alternatives.

Thanks.

April 4, 2013 at 7:48 pm 1799
matchbranding matchbranding

Thank you.  (not sure why i didn’t think of that)  I used a simple conditional statement and it worked like a charm.

if ( is_user_logged_in() ) {
    wp_nav_menu(array('theme_location' => 'main', 'menu_id' => 'menu'));
} else {
    wp_nav_menu(array('theme_location' => 'visitor', 'menu_id' => 'menu'));
};

I did have another question. I included the [wpuf_dashboard] shortcode which displays the list of posts. When I click “edit” on one of them it takes me to the form but none of the existing data is there. Is this correct?

April 4, 2013 at 7:58 pm 1802
Tareq Hasan Tareq Hasan

May be you haven’t set up the edit page correctly? Checkout the docs and FAQ section.

April 4, 2013 at 8:02 pm 1803
matchbranding matchbranding

Bingo! Thanks.

Viewing 4 Posts - 1 through 4 (of 4 total)