Code Snippet for individual message in frontend

I want to show users

  • who have logged in
  • and have the role “subscriber”
  • and have added some text in their profile
    to show them a message like “If you want to become an contributor please do that …”.

Hi,

Thanks for the request and details. Please clarify on which page you want to add this text and we will try to help.

1 Like

I would like to have this as banner when he/she log in. So he can dismiss or click to the link to become a vendor.

Often people register but they dont understand, that they have to connect stripe to become a vendor, thats why I want a message such as the store notice from woocommerce. But it needs to check as mentioned if user logged in + has role “subscriber” + has some text in his profile info, THEN show banner.

Hi,

Thanks for the details. Please note that if you have Stripe Connect enabled, the vendor will not be able to complete registration until they register and onboard with Stripe Connect.

Regarding the banner, there is no such functionality, but as a workaround, you can try using widgets How to customize widgets - HivePress Help Center or some third-party plugins to add banners.

I hope it helps