Change some address labels

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 Change some address labels

Viewing 5 reply threads
  • Author
    Posts
    • #30364
      d-n-13
      Participant

      Hello,

      1- Is there a way to change some labels without changing in the plugin files ? see in red ( https://www.dropbox.com/s/l01sprco9a6gji7/change%20labels%20%2B%20css%20issue.jpg?dl=0 )

      2- Also when adding text area in registration the label doesn’t align well with the field : see in blue : ( https://www.dropbox.com/s/l01sprco9a6gji7/change%20labels%20%2B%20css%20issue.jpg?dl=0 )

      Thank You

    • #30472
      WCFM Forum
      Keymaster

      Hi,

      1. Well, you may change those very easily using WPML string translation.

      2. We will take care of this in next update, thanks for informing.

      Thank You

    • #30476
      d-n-13
      Participant

      Hi,

      1. Well, you may change those very easily using WPML string translation.
      * I don’t think I can change the default language strings En

      2. We will take care of this in next update, thanks for informing.
      * Thanks

      Thank You

    • #30478
      WCFM Forum
      Keymaster

      Hi,

      1. Send me your labels, I will give you custom code for changing those.

      Thank You

    • #30487
      d-n-13
      Participant

      Hi,

      1. Send me your labels, I will give you custom code for changing those.

      Thanks.

      Screenshot : https://www.dropbox.com/s/l01sprco9a6gji7/change%20labels%20%2B%20css%20issue.jpg?dl=0

      “City/Town” => “District” .
      “State/Country => “State” – City” .
      Thank You

    • #30801
      WCFM Forum
      Keymaster

      Hi,

      Here is your custom code for the purpose –

      function wcfm_marketplace_settings_fields_custom_address_59( $address_fields ) {
      	if( isset( $address_fields['city'] ) ) {
      	  $address_fields['city']['label'] = 'District';
      	}
      	if( isset( $address_fields['state'] ) ) {
      		$address_fields['state']['label'] = 'State – City';
      	}
      	return $address_fields;
      }
      add_filter( 'wcfm_marketplace_settings_fields_address', 'wcfm_marketplace_settings_fields_custom_address_59' );
      add_filter( 'wcfm_membership_registration_fields_address', 'wcfm_marketplace_settings_fields_custom_address_59' );

      Thank You

Viewing 5 reply threads
  • The topic ‘Change some address labels’ is closed to new replies.