Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Change the word "vendor" into "designer"
- This topic has 1 reply, 2 voices, and was last updated 5 years, 5 months ago by WCFM Forum.
Viewing 1 reply thread
- AuthorPosts
- July 20, 2019 at 8:26 pm #73201Richard EijkenbroekParticipant
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 - July 22, 2019 at 5:03 am #73385WCFM ForumMember
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
- AuthorPosts
Viewing 1 reply thread
- You must be logged in to reply to this topic.