This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Vantage Change logo based on User Role

5 years ago · Last reply by Andrew Misplon 5 years ago

Hi,

I am looking to change the Logo based on the Logged in user type. eg.

Admin – Logo1
Author – Logo 2
Member – Logo 3

etc etc.

Is there a way I can update the Theme settings to catch current user and then change the logo path accordinly?

Many Thanks

Kind Regards

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 5 years, 7 months ago

    Hi Stuart

    Thanks for reaching out.

    Unfortunately, it isn’t possible to change the logo based on user roles via theme settings. It’ll most likely be a custom development task.

    You could make the change using a child theme or custom plugin via the vantage_display_logo function. https://github.com/siteorigin/vantage/blob/develop/inc/template-tags.php#L227-L296.

    Alternatively, you could rebuild the header using the Masthead widget area. If you were using the premium version of Widget Options https://wordpress.org/plugins/widget-options/ you could then restrict certain image widgets based on user roles.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread