• Dashboard
    • Submit Ticket
    • Licenses
    • Login
  • Our Products
    • BuddyBuilder
    • Kleo
    • Typer
    • Seeko
    • SweetDate
    • BuddyApp
  • Services
    • VIP Support
    • WordPress Theme Installation Service
  1. Home
  2. SweetDate
  3. How to add Profile Fields under Member Name at Members Directory

How to add Profile Fields under Member Name at Members Directory

You can change the info that displays under the name and the details field by adding this to your sweetdate-child/functions.php file:

COPY CODE
//members page fields 
add_action('after_setup_theme','kleo_my_member_data');
function kleo_my_member_data() 
{
global $kleo_config;
//this is the details field, right now it take the "About me" field content 
$kleo_config['bp_members_details_field'] = 'About me';
//this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there
$kleo_config['bp_members_loop_meta'] = array(
'I am a',
'Marital status',
'City'
);

}

Also if the fields don’t appear add this line, reload the members page and you can remove the line after that(we have added a caching on those fields for better performance):

COPY CODE
delete_transient( 'kleo_bp_meta_fields' );

Just replace those profile field names in the code with our one custom ones.

Hope it helps 🙂

Blazing Fast Site Hosting & Maintenance

  • Welcome to SweetDate!
  • Theme Requirements
  • WordPress Installation
  • Install Theme & Setup
  • Search Form Setup for 3.0
  • Updating to SweetDate 3.4
  • Verify server configuration and theme requirements
  • How to manually update the theme
  • Theme Automatic Updates
  • BuddyPress overview
  • Elementor overview
  • bbPress overview
  • Memberships
  • Membership overview
  • rtMedia overview
  • Restrict website for non logged in members
  • Extended features
  • Paid Memberships Pro
  • Revolution Slider plugin
  • Woocommerce
  • Enabling BuddyPress Groups
  • GEO My WP + Sweetdate: Add a map search and location
  • Add link to element or button in Revolution Slider 6.x
  • Introduction to the child theme
  • How to Change the Search and Register Form Colors
  • Contact Page
  • Pages and Menu
  • Overriding a file with the child theme
  • How to add Members Stats Section using Elementor
  • Theme options overview
  • Import / Export Options
  • Contact and social settings
  • Buddypress settings
  • Styling options
  • Layout Settings
  • General Settings
  • Footer structure and widgets
  • Widgets and sidebar
  • Page Templates
  • Find Theme Purchase Code
  • Translate theme with Loco Translate
  • Multilingual setup using WPML plugin
  • Image Slider Shortcode
  • Icons Shortcode
  • Layout shortcodes
  • Recent groups Shortcode
  • Top members Shortcode
  • Member Statistics Shortcode
  • Buddypress User Data Shortcodes
  • Homepage status icon shortcode
  • Restrict content shortcode
  • Blog Articles Shortcode
  • Headings shortcodes
  • Video button shortcode
  • Posts carousel Shortcode
  • Pricing Table Shortcode
  • Panel Shortcode
  • Accordion Shortcode
  • Tabs Shortcode
  • Progress Bar Shortcode
  • Alert Shortcode
  • Buttons Shortcode
  • Missing Post Update Button on Buddypress ( Activity and Groups )
  • Changelog
  • Javascript Files
  • CSS Files and Structure
  • HTML Structure
  • Testimonials
  • My site is slow. How to speed up my website?
  • Included PSD Files
  • Post formats
  • Accordion Shortcode
  • RESPONSIVE guidelines
  • Theme Folder structure
  • GeoNames integration - City Autocomplete
  • How to add a Populated Country List XPROFILE
  • More Visible Discount Code Text (PMPRO Checkout)
  • How to Customize Women Online and Men Online Counters - WITHOUT ELEMENTOR
  • Full Width Profile Fields
  • How to move Search form to the right side of the screen
  • How to Delete the Link from the Website Logo
  • Search Results Show Wrong Gender - SOLUTION
  • Free Females Only or Free Males Only Membership Paid Memberships Pro
  • How to add Profile Fields under Member Name at Members Directory
  • Error 404 - Page not found
  • Change "SIGN UP" URL at Modal Popup
  • Troubleshooting an issue
BuddyBuilder is out. Total freedom to build online communities
SeventhQueen  - 2021 - Privacy Policy

Welcome to SeventhQueen Portal


Lost your password?

Don't have an account? Register now!

Forgot your details?



Wait, I remember now. Log In

Register your account

Sign up with Email
I have an account. Log In

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.