Forum Replies Created
-
Author
-
AbeKeymaster
Hi, You can add it by css:
COPY CODE.register.buddypress #main { background: #f4f4f4; }
To add data to register page you have to edit sweetdate/registration.register.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Add this css to hide it. to replace it with the close button is not that easy and requires modifying prettyphoto plugin
.pp_expand {display:hidden !important;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 17, 2014 at 22:25 in reply to: display **** in profile tab when user is not a friend #11044AbeKeymasterHi, This is outside the scope of this support forum. Please hire a developer if you are doing changes to the theme that implies coding.
The below code hides the “I am a” field for non-friendsCOPY CODEadd_filter('bp_get_the_profile_field_value', 'my_value_filter', 10, 3); function my_value_filter($value, $type, $id) { $field = new BP_XProfile_Field( $id ); $field_name = $field->name; if ($field_name == "I am a" && !kleo_bp_is_friend() && !bp_is_my_profile() ) { return '***'; } return $value; } function kleo_bp_is_friend() { global $bp; if ( 'is_friend' == friends_check_friendship_status( $bp->loggedin_user->id, $bp->displayed_user->id ) ) { return true; } return false; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello, I see what your problem is. Please add this CSS in Sweetdate – Styling options – Quick css
COPY CODEform.custom div.custom.dropdown a.current {overflow:hidden;} form.custom div.custom.dropdown a.selector {background: #fff;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Indeed that code had some issues. Please add this to sweetdate-child/functions.php
COPY CODEadd_filter( 'xprofile_group_fields', 'dk_bp_remove_xprofile_fullname_field', 10, 2 ); /** * Removes the default BuddyPress xprofile fullname field * * @param array $fields Array with field names * @return array Array with filtered fields * * @author Daan Kortenbach */ function dk_bp_remove_xprofile_fullname_field( $fields ){ if( ! bp_is_register_page() ) return $fields; // Remove item from array. foreach ($fields as $key => $value ) { if ( $value->id == 1 ) { $fields[ $key ] = array(); } } // Return the fields return $fields; } add_action( 'bp_after_signup_profile_fields', 'dk_bp_add_xprofile_fullname_field_hidden' ); /** * Adds the default BuddyPress xprofile fullname field as a hidden field * * @return string * * @author Daan Kortenbach */ function dk_bp_add_xprofile_fullname_field_hidden(){ if( ! bp_is_register_page() ) return; echo '<input type="hidden" name="field_1" id="field_1" value="x">'; } add_action( 'bp_core_signup_user', 'dk_bp_core_signup_user' ); /** * Sets the correct user values * * @param integer $user_id * @return void * * @author Daan Kortenbach */ function dk_bp_core_signup_user( $user_id ) { // Get user data $user = get_userdata( $user_id ); // Update xprofile fullname xprofile_set_field_data( BP_XPROFILE_FULLNAME_FIELD_NAME, $user_id, $user->user_login ); // Set new user data $userdata = array( 'ID' => $user_id, 'user_nicename' => $user->user_login, 'display_name' => $user->user_login, 'nickname' => $user->user_login ); // Update user wp_update_user( $userdata ); }
and this css to Sweetdate – Styling options – Quick css
COPY CODE#field-visibility-settings-toggle-, #field-visibility-settings- { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, You only need to replace the “-” symbol with Everything since that is the default behavior.
– copy sweetdate/custom_buddypress/kleo-bp-search.php to sweetdate-child/custom_buddypress/kleo-bp-search.php
– edit the file copied and at line 131 changeCOPY CODE<option value=''> </option>
to
COPY CODE<option value=''>Everything</option>
PS. You must have the sweetdate-child theme activated
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterPlease add this css in Sweetdate – Styling options – Quick css, I think we saw the problem
COPY CODEarticle.sticky {float: none;}
We will include this fixes in next update tomorrow
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterPut this code in your sweetdate-child/functions.php and let the magic happen 🙂
COPY CODE//Activity page 3 columns add_action('kleo_before_page','my_three_columns_activity'); function my_three_columns_activity() { if(BP_ACTIVITY_SLUG == bp_current_component()) { add_filter('kleo_buddypress_content_class', create_function('', 'return "six";')); add_filter('kleo_sidebar_class', create_function('', 'return "three";')); add_action('kleo_buddypress_before_content', 'kleo_sidebar'); add_action('kleo_buddypress_after_content', 'kleo_extra_sidebar'); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, for 2, add this css:
COPY CODE@media only screen and (max-width: 940px) { #header .eight.columns { display: inline-block!important; width: auto; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello, Thank you very much.
You just needed to enable the sticky menu.
Here is the CSS that will make the text white only for small screens@media only screen and (max-width: 940px) { #header a:not(.button) { color: #fff; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, You can make the #main area transparent with this CSS
COPY CODE#main { background: transparent; }
if you want if for a specific page you can referrer the specific body class of that page for example
COPY CODE.page-id-523 #main { background: transparent; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterWith this css they are horizontally aligned
COPY CODE#profile .two.columns { clear: left; float: left; left: 0; width: inherit; }
See here: http://d.pr/i/jEjr
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello, You can apply those restrictions you see with the arrow in Sweetdate – Memberships
If you want to change the text in those lines see this topic: https://archived.seventhqueen.com/forums/topic/extra-membership-restrictions-how-to
Extra details on membership should be added in the details field in Memberships – Levels
Checkmark icon is added using Fontawesome icon font. If you want to change it add this css in Sweetdate- Styling options – Quick css
COPY CODE.membership .bullet-item:before { color: #0095C2; content: ""; font: 13px 'FontAwesome'; margin-right: 6px; }
and replace the icon inside the content: “”
here is the icon list: http://fortawesome.github.io/Font-Awesome/3.2.1/cheatsheet/Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello, Try adding this css to Sweetdate – Styling options – Quick css
COPY CODE.carousel-stories a.imagelink .read, .circle-image a.imagelink .read {display:none;} .carousel-stories a.imagelink:hover .overlay, .circle-image a.imagelink:hover .overlay {background:none;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello, Change the bg with this CSS added to Sweetdate – Styling options – Quick css
COPY CODE.buddypress.widgets ul.item-list {background: #ccc}
Change the #ccc color
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
Adding this css to Sweetdate – Styling options – Quick css will do the trickCOPY CODE.image-hover .profile-hover-link { display: block !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, For background color:
COPY CODE.top-links {background: #000000;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Change the background color by adding this css to Sweetdate – Styling options – Quick CSS and change the color in the code
COPY CODE.top-links {background: #000;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi and sorry for the late reply
You should add the CSS as I said above to enable Revolution Slider on mobile and another one that isn’t forcing a minimum height, Both css rules are here:COPY CODE.rev_slider_wrapper {display:block!important;} .page-template-page-templatesfront-page-php .rev_slider_wrapper { min-height: inherit; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Try this CSS
COPY CODE#profile .two.columns { clear: left; float: left; width: inherit; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, thank you and sorry for the later reply,
I see there is no such plugin out there. I have found this topic, hope it helps
http://wpquestions.com/question/show/id/3529
The first code should work for all fields and you should put it in sweetdate-child/functions.phpCOPY CODEfunction filter_profile_data( $data ) { return substr( $data, 0, 100); } add_filter( 'bp_get_member_profile_data', 'filter_profile_data' );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, in our original assets/scripts/app.js we had this function
COPY CODEfunction isMobile() { if ( (navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1) || ((navigator.userAgent.indexOf('Android') != -1) && (navigator.userAgent.indexOf('Mobile') != -1)) ) { return true; } else { return false; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterAnd also added this into our sweetdate-child/functions.php that is excluding those css files from minification
COPY CODE//Minify add_filter('bwp_minify_style_ignore', 'exclude_my_css'); function exclude_my_css($excluded) { $excluded = array('app','foundation','foundation-responsive'); return $excluded; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 27, 2014 at 15:28 in reply to: Color of the register/search form background on the Home Page. #10298AbeKeymasterHello, Easy way with this CSS
COPY CODE.form-search, .form-header, .form-footer { background: rgba(0,0,0,0.5); border: none; }
0.5 is the transparency from 0 to 1
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello, Thank you very much for letting us know. Add this css to Sweetdate – Styling options – Quick css to fix it. This will be available in next theme update also
COPY CODE.form-search .kleo-checkbox label { display: block; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Indeed it is disabled for mobile. Add this CSS to Sweetdate – Styling options – Quick css to enable it
COPY CODE.rev_slider_wrapper {display:block!important;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello, I developed this function to show the age instead of the date. Add it to your functions.php file
COPY CODEadd_filter( 'bp_get_the_profile_field_value', 'kleo_get_field_value', 15, 3); function kleo_get_field_value($value, $type, $field_id) { $value_to_return = $value; $field = new BP_XProfile_Field($field_id); if ($type == 'datebox') { $value_to_return = floor((time() - strtotime($field->data->value))/31556926); } return $value_to_return; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 27, 2014 at 13:19 in reply to: In the profile page, I want to customize the space to the right of the photo #10281AbeKeymasterHello, Try with this CSS
COPY CODE.tabs.pill.custom dd a { font-size: 12px; height: 30px; line-height: 30px; padding: 0 5px; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Related to the tabs that appear next to the image this is the topic:
https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-imageand you should change
‘group’ => ‘Base’,
to
‘group’ => ‘Chi sono’,To remove the matching
https://archived.seventhqueen.com/forums/topic/removereplace-the-love-hearts-in-site
and you can keep only the part with the matching removingCOPY CODE//remove matching add_action('after_setup_theme','kleo_my_hearts_actions'); function kleo_my_hearts_actions() { /* disable matching on member profile */ remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterFor that you have to add this CSS to Sweetdate – Styling options – QUick css
COPY CODE.search-item .date, .search-item .date a {color: black;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello,
You need to edit the template that generated the popup, which is in sweetdate/page-parts/general-register-modal.php and just remove this part:COPY CODE<div class="six columns"> <input type="text" id="fullname" name="field_1" class="inputbox" required placeholder="<?php _e("Your full name", 'kleo_framework');?>"> </div>
I am glad you like our theme. Thank you
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHI,
To hide the activity you should add this CSS to Sweetdate – Styling options – Quick css:COPY CODEspan.activity {display:none}
If you want to change shortcode functionality you need to copy the function named kleo_status_icon from sweetdate/custom_buddypress/bp-functions.php to you child theme functions.php and modify as you wish there.
As attributes he can have the ones from bellow with the default values
‘type’ => ‘total’,
‘image’ => ”,
‘subtitle’ => ”
Type can be the field value of the Sex field you set in Sweetdate – BuddypressHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Try leaving your name of the groups in English. Then modify the below code to match your group names and add it to the main theme functions.php at the end just before the ending ?> line
After that this strings should appear in WPML string translation
You’ll notice I have wrapped the name attribute in a translation tag __() and leaved the group attribute in the english name just like it is added in buddypress users profile fieldsCOPY CODE//my changes to profile tabs add_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); $bp_tabs[] = array( 'type' => 'regular', 'name' => __("About me","kleo_framework"), //this is the showed tab name 'group' => 'About me', // this must be the same as the profile fields group name 'class' => 'regulartab' ); $bp_tabs[] = array( 'type' => 'regular', 'name' => __("Myself Summary", "kleo_framework"), 'group' => "Myself Summary", 'class' => 'regulartab' ); $bp_tabs[] = array( 'type' => 'regular', 'name' => __("Looking for","kleo_framework"), 'group' => "Looking for", 'class' => 'regulartab' ); $bp_tabs[] = array( 'type' => 'regular', 'name' => __("Lifestyle","kleo_framework"), 'group' => "Lifestyle", 'class' => 'regulartab' ); $bp_tabs[] = array( 'type' => 'regular', 'name' => __("Physical","kleo_framework"), 'group' => "Physical", 'class' => 'regulartab' ); /* rtMedia tab - only if plugin installed */ if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('My work', 'kleo_framework'), 'class' => 'mySlider' ); } /* Bp-Album tab - only if plugin installed */ elseif (function_exists('bpa_init')) { $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Add this CSS please
COPY CODE.widgets-container.sidebar_location .widgets ul li:before { content: ""; } .widgets-container.sidebar_location .media-tabs-container .rt-media-tab-panel ul li {width:auto;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, I did a function to count all members that have profile fields added
Add it to your sweetdate-child/functions.php and then put the function name like I said aboveCOPY CODE//My total numbers function my_total_count() { global $wpdb; $sql = "SELECT ".$wpdb->base_prefix."bp_xprofile_data.user_id FROM ".$wpdb->base_prefix."bp_xprofile_data JOIN ".$wpdb->base_prefix."bp_xprofile_fields ON ".$wpdb->base_prefix."bp_xprofile_data.field_id = ".$wpdb->base_prefix."bp_xprofile_fields.id $where"; $match_ids = $wpdb->get_col($sql); return count($match_ids); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHere is the code:
COPY CODE//my changes to profile tabs add_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); $bp_tabs[] = array( 'type' => 'regular', 'name' => "Лични данни (About me)", //this is the showed tab name 'group' => 'Лични данни (About me)', // this must be the same as the profile fields group name 'class' => 'regulartab' ); $bp_tabs[] = array( 'type' => 'regular', 'name' => "Обобщение за мен (Myself Summary)", 'group' => "Обобщение за мен (Myself Summary)", 'class' => 'regulartab' ); $bp_tabs[] = array( 'type' => 'regular', 'name' => "Търся (Looking for)", 'group' => "Търся (Looking for)", 'class' => 'regulartab' ); $bp_tabs[] = array( 'type' => 'regular', 'name' => "Стил на живот (Lifestyle)", 'group' => "Стил на живот (Lifestyle)", 'class' => 'regulartab' ); $bp_tabs[] = array( 'type' => 'regular', 'name' => "Физически данни (Physical)", 'group' => "Физически данни (Physical)", 'class' => 'regulartab' ); /* rtMedia tab - only if plugin installed */ if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('My work', 'kleo_framework'), 'class' => 'mySlider' ); } /* Bp-Album tab - only if plugin installed */ elseif (function_exists('bpa_init')) { $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); } }
For it to work the names added above in the “group” attribute must exactly match the profile fields Group as in Users – Profile fields(even a white space after the name)
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Try adding this CSS to Sweetdate -Styling options – Quick css
COPY CODE.front-form-button { background: white ! Important;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterWell the example is there but you need to add the translation function like this
COPY CODEfunction my_pmpro_email_subject($subject, $email) { //only checkout emails if($email->template == "checkout_free") { $subject = __("Thank you","kleo_framework"), " . $email->data["name"] . __(", for using ", "kleo_framework") . get_bloginfo("name"); } return $subject; } add_filter("pmpro_email_subject", "my_pmpro_email_subject", 10, 2);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterRoberts code above shows how to change the border. You need to change rgba values to your own.
This CSS is for the colorCOPY CODE.form-wrapper p, .form-wrapper a, .form-wrapper label, .form-wrapper button { color: #000000 !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 20, 2014 at 16:23 in reply to: How to get the wordpress profile page to look like the HTML one you offer #9962AbeKeymasterHello, I see what you mean but there are different structures involved and can’t be done with a simple CSS unfortunately.
Some steps to get it closer to that:
For more customizations please hire a developer to help you with thatYou can use this CSS to make the profile rounded and shouldn’t modify the size to get blury
COPY CODE#item-header-avatar .avatar { border-radius: 100%; }
To make the title that font set the H2 to font Yesteryear from Sweetdate – Styling options
To add the member details after the name, add this code to sweetdate-child/functions.php
COPY CODEfunction kleo_show_member_details() { global $kleo_config; $output = array(); if (get_member_age(bp_displayed_user_id())) { $output['age'] = apply_filters('kleo_bp_meta_after_age', get_member_age(bp_displayed_user_id())); } //fields to show $fields_arr = $kleo_config['bp_members_loop_meta']; //user private fields $private_fields = array(); if (function_exists('bp_xprofile_get_hidden_fields_for_user')) { $private_fields = bp_xprofile_get_hidden_fields_for_user(bp_displayed_user_id()); } if (!empty($private_fields)) { //get the fields ids that will be displayed on members list if ( false === ( $fields_id_arr = get_transient( 'kleo_bp_meta_fields' ) ) ) { $fields_id_arr = array(); foreach ($fields_arr as $val) { if (get_profile_id_by_name($val)) { $fields_id_arr[$val] = get_profile_id_by_name($val); } } set_transient( 'kleo_bp_meta_fields', $fields_id_arr, 60*60*12 ); } if (!empty($fields_id_arr)) { //fields that will actually display $show_fields = array_diff($fields_id_arr, $private_fields); if (!empty($show_fields)) { $fields_arr_inv = array_flip($fields_id_arr); foreach ($show_fields as $key => $val): if(bp_get_member_profile_data( 'field='.$fields_arr_inv[$val] )): $output[] = bp_get_member_profile_data( 'field='.$fields_arr_inv[$val] ); endif; endforeach; } } } else { foreach ($fields_arr as $key => $val): if(bp_get_member_profile_data( 'field='.$val )): $output[] = bp_get_member_profile_data( 'field='.$val ); endif; endforeach; } echo implode(' | ', $output); } add_action('bp_before_member_header_meta', 'kleo_show_member_details');
And you can remove existing details under the profile by going to wp-content\themes\sweetdate\members\single\member-header.php and removing
the two lines with span class=”user-nicename and span class=”activity”Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts