Change Articles to Blog

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!

Viewing 7 reply threads
  • Author
    Posts
    • #84710
      Jamie O’Reilly
      Participant

      Hi Please, can you tell me how I change the word Articles in the shop to Blog? Thank you

    • #85118
      Jamie O’Reilly
      Participant

      Any chance of an update please? Thank you

    • #85157
      sdel_nevo
      Participant

      Hi

      I think this can be done with the loco translate plugin

      Steve

    • #85566
      Jamie O’Reilly
      Participant

      Thanks Steve I’ll look into that

    • #86108
      WCFM Forum
      Keymaster

      Hi,

      Add this code to your site –

      function wcfm_custom_1010_translate_text( $translated ) {
      	$translated = str_ireplace( 'Articles', 'Blog', $translated );
      	return $translated;
      }
      add_filter('gettext', 'wcfm_custom_1010_translate_text');
      add_filter('ngettext', 'wcfm_custom_1010_translate_text');

      Thank You

    • #86137
      Jamie O’Reilly
      Participant

      Thank you could you do the same to change Inquiry to Enquiry

      Thank so much : )

    • #86734
      WCFM Forum
      Keymaster

      Sure, use this code –

      function wcfm_custom_1410_translate_text( $translated ) {
      	$translated = str_ireplace( 'Inquiry', 'Enquiry', $translated );
      	return $translated;
      }
      add_filter('gettext', 'wcfm_custom_1410_translate_text');
      add_filter('ngettext', 'wcfm_custom_1410_translate_text');

      Thank You

    • #86964
      Jamie O’Reilly
      Participant

      Perfect. Much appreciated.

Viewing 7 reply threads
  • The topic ‘Change Articles to Blog’ is closed to new replies.