Home>Support>Vantage Change logo based on User Role

Vantage Change logo based on User Role

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 4 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More