Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Change some address labels
- This topic has 5 replies, 2 voices, and was last updated 6 years, 3 months ago by WCFM Forum.
- AuthorPosts
- August 31, 2018 at 5:23 pm #30364d-n-13Participant
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
- September 2, 2018 at 7:22 am #30472WCFM ForumMember
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
- September 2, 2018 at 7:40 am #30476d-n-13Participant
Hi,
1. Well, you may change those very easily using WPML string translation.
* I don’t think I can change the default language strings En2. We will take care of this in next update, thanks for informing.
* ThanksThank You
- September 2, 2018 at 7:42 am #30478WCFM ForumMember
Hi,
1. Send me your labels, I will give you custom code for changing those.
Thank You
- September 2, 2018 at 8:32 am #30487d-n-13Participant
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 - September 5, 2018 at 4:51 am #30801WCFM ForumMember
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
- AuthorPosts
- The topic ‘Change some address labels’ is closed to new replies.