Restrict Welcome banner to user's homepage

Yes, it’s in the Welcome Link Banner settings:

Do you mean, if they set a custom page (latest, categories, whatever) as their homepage in their own profile?
Then this arbitrary page is considered as the “homepage” for the user, and thus the welcome banner will appear to them in their new homepage.

If the default homepage of your site is /categories and you want the welcome banner appears only on /categories, regardless of users’ interface preferences, maybe you could set show on to “discovery” or “all” and use javascript to hide the welcome banner on other pages than the one you want to show it on.

But I currently don’t know how to reliably identify the current page we’re on (including when we load a page the first time and when we change the page) to dynamically hide the Welcome Banner.

I’d be happy to try this later (:sleeping:), but maybe this could be a start:

2 Likes