How can I change the text of „List a service“ if user is logged in?

Is there a script to change the Text of the

  1. button „List a service“ as well as
  2. „Post a request“

if the user is logged out / logged in?

OR how can I find out the root of these items?

Thanks a lot guys!

Hi,
Sorry, there’s no simple code snippet for this, it would require a custom implementation.

You can change these texts in two ways:

  1. Please try to rewrite template parts with a child theme and there add a condition to show labels.

  2. Or you can create a PHP snippet using this hook gettext | Hook | WordPress Developer Resources to these labels and change them.

If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.