Home Forums Plugin Support WP User Frontend Pro registration navigation

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  matchbranding 6 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1782

    matchbranding
    Participant
    Post count: 2

    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!

    #1784

    Mahi
    Member
    Post count: 1555

    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.

    #1799

    matchbranding
    Participant
    Post count: 2

    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?

    #1802

    Tareq Hasan
    Keymaster
    Post count: 2831

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

    #1803

    matchbranding
    Participant
    Post count: 2

    Bingo! Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘registration navigation’ is closed to new replies.