Change the word "vendor" into "designer"

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Change the word "vendor" into "designer"

Viewing 1 reply thread
  • Author
    Posts
    • #73201

      Hi,

      I want to change the word vendor into another word: designer.

      Is there an easy way to do that?

      I have done it manually with the slugs and for some of the items that could be changed.
      But on some pages it still says things like:
      “you have successfully submitted your Vendor Account request.
      “your Vendor application is still under review”
      “You are not following any vendor yet!”

      Looking forward to hear your suggestions / solutions.
      Richard

    • #73385
      WCFM Forum
      Member

      HI,

      Please add this code to your child theme’s functions.php –

      function wcfm_custom_2207_translate_text( $translated ) {
      	$translated = str_ireplace( 'Vendor', 'Designer', $translated );
      	return $translated;
      }
      add_filter('gettext', 'wcfm_custom_2207_translate_text');
      add_filter('ngettext', 'wcfm_custom_2207_translate_text');

      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

Viewing 1 reply thread
  • You must be logged in to reply to this topic.