• Hi, I want to use WP-Members to create client login areas for access to a library of HR/EAP documents, but I need to customize the areas so that *after* a user logs in, the header displays that user’s company logo.

    Is there a way to do that? (php or otherwise?)

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jules.maas

    (@julesmaas-1)

    Thread Starter jules.maas

    (@julesmaas-1)

    Plugin Author Chad Butler

    (@cbutlerjr)

    The key element in logic used to display one thing or another based on login status is the is_user_logged_in() function.

    This function will return true if the user is logged in, otherwise false.

    if ( is_user_logged_in() ) {
        // do this if logged in
    } else {
        // do this if not logged in
    }
    Thread Starter jules.maas

    (@julesmaas-1)

    Thank you, I appreciate that. I did find it yesterday in your tips & tricks section. However, I realized this morning that there is a CRITICAL follow up issue.

    **Once a user logs in, how do I display their specific page customization?**

    What I’m trying to create is a page where many different users will have access to the same library of documents. HOWEVER, we need the page to display a company logo specific to the user (so it looks branded to them).

    As I see it, I can do this two ways. I can either create:

    1. one page that changes the header logo based on the login OR
    2. many copies of the same pages, each with a different header logo and redirect users based on their login

    Is there any solution within your application for either of these options?

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

The topic ‘Custom Header Based on User Login’ is closed to new replies.