No working with BuddyPress Custom Fields
-
Your plugin is good but… No working with BuddyPress Custom Fields ??
qTranslate X is okey, work! but, is Outdate, and I want to use WpGlobus, so please, add support for BuddyPress Custom Fields.
Here, I share with you this code (for qTranslate X) to make translatable BuddyPress Fields. I’m using the Theme SweetDate (by 7thqueen, kleo).
Pastebin:https://pastebin.com/raw/zuE6E2EJ
rute: /wp-content/themes/sweetdate/custom_buddypress/class-bp-tabs.php
functions.php
/* Make xprofile fields translable fix */ if (!function_exists('make_x_profile_fields_name_translable')): function make_x_profile_fields_name_translable($fieldname) { return __($fieldname, 'kleo_framework'); } add_filter('bp_get_the_profile_field_name', 'make_x_profile_fields_name_translable'); endif;
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘No working with BuddyPress Custom Fields’ is closed to new replies.