According to the README_OFFICIAL.txt plugin file, you can use the get_cimyFieldValue()
plugin function to retrieve user fields.
In your case, on the author page, assuming you have named the field gender
the PHP needed to get the gender for the current author page is:
$gender = get_cimyFieldValue( get_query_var( 'author' ), 'gender' );
Please send me step by step because new in WordPress.
get_query_var( 'author' )
gets the author ID from the main query. $gender
holds the value of the author gender. How exactly you would add this to your theme depends on how the theme displays the author page now.
Related Posts:
- First and last name fields not filled when using wp_insert_user
- Update a user profile via frontend
- How to check username/password without signing in the user
- Add Custom User Capabilities Before or After the Custom User Role has Been Added?
- Where the Nickname is being used in WordPress
- WordPress REST API call generates nonce twice on every call
- Custom user profile, registration, login page with theme
- How to use WP default post list tables in a plugin?
- How to add quick edit and bulk edit fields to users admin section
- Generating User(s) with Settings API
- WordPress admin deleted user details not removed in database. How to delete WordPress Users from Database
- Print WordPress username id inside JavaScript
- Function Get User Object By Username?
- Check if someone is editing a post (this content is currently locked)
- Modify users.php page to create page/post on button clicked
- Subscribe to author?
- Comments do not respect display_name setting, how to make plugin to overcome this
- How to filter users list on user_status field with get_users()
- Frontend language per user
- global $current_user not current user
- Display list of uploaded images, filtered by user under a specific user group
- What is the proper way to get logged in user id in a plugin?
- How to build a fool proof AdSense revenue sharing model?
- How to pull user/author profile data in a plugin?
- Hide custom post type by user roles
- How do I have now a duplicated user entry if this is not allowed (and I cannot replicate it)?
- How to allow only two (or more) users access to a plugin
- How do I change the image from the default mysteryman in the WP Profile page
- Wp-admin Custom User Management
- get author of published post
- How to get custom post_author?
- Associate multiple email addresses with the same user account, so they can log in with either
- Best practice for Designing a Plugin with this scenario
- Adding another field to user table
- how to get the top 10 popular blogs
- How can I change my assigned user role in WordPress 3.5.1?
- How to relate the Category to user?
- Adding a dropdown on the user admin
- Allowing duplicating users with same user_login and user_email
- Why User_login key doesn’t work with wp_update_user()
- How to grab data after wp user search is complete
- How to prevent users from deleting their accounts?
- User Registration Moderate
- How to retrieve custom profile fields associated with different users
- Upgrade routine: Interaction with user confirmation
- Multiple Users Logged In Causing Incorrect Account Returned
- first_name property missing inside register_user action hook
- Need edit profile link in the menu for logged in users
- user can login from single account detail from multiple locations(computer) at the same time [closed]
- Create Unique and Customized User ID for Website Members in WordPress
- Make Categories and Tags required in admin
- Getting wrong relationship value in $args in wp_Query?
- wp_schedule_event in a class
- custom XMLRPC method plus authentication of user & WooCommerce order
- How to extend LINK TO functionality in ATTACHMENT DISPLAY SETTINGS
- How do I Make a Theme “plugin-ready”?
- WordPress Terminology Options Vs. Settings
- Display only certain posts based on visitor’s country?
- Plugin Sidebar is not Saving Meta Attribute to Post/Page after “Update”
- Possible to preset a widget’s contents via a plugin script?
- Synchronize custom post type tags with WordPress default post type tags
- How to change the URL pattern for single post view
- What for the tables ending with the meta used in database of wordpress?
- How to create custom field in worpdress default widgets?
- Ensure function has completed before allowing another Ajax call
- Loading scripts with wp_register_script and wp_enqueue_script
- WordPress is automatically linking plain text email addresses
- Is Using WordPress Supplied WYSIWYG Advisable?
- How do I add a filter to wp_list_categories() to make links nofollow?
- How to hook into publish post events in wordpress 4.7.5
- get post attachment using ajax
- Replace default Blogroll Links with Social Media Links
- How to enqueue or include json file to a plugin
- Search and Filter
- Trying to code a simple plugin, infinite loop?
- Update own Plugin Repository on Multisite
- Issue with contextual help overwriting existing content
- Inserting code to HTML view from a pop up initiated from visual view
- CSS not affecting widget output
- Using a custom shortcode from within the template of a shortcode plugin
- Trying to get class to instantiate ONCE (or, “why do I keep punching myself in the head?”)
- How to create a WordPress Plugin that has it’s own “page”?
- Create Widget or Enable Shortcodes in Sidebar
- how to create category with code in wordpress using form
- Is it possible to have instead mypage.com/?page_id=81 to have mypage.com/cool/?
- User Data Handling between two plugins
- Woocommerce place order update shipping price
- ajax response strips multidimensional array and unable to decode
- Multiple instances of $opt_name in redux framework
- Using AJAX to submit and return data inside the WordPress Plugin Boiler Plate framework
- The Events Calendar featured image as body background?
- Pass javascript result to shortcode executer function
- Plugins and how to assign urls to content
- Showing extra profile fields in admin – problem with underscore
- How to make auto installer Plugin?
- Pass results of custom query to loop – when writing a plugin
- How do I use (or mimic) document.getElementById() on a page loaded from WordPress database?
- Call API on post save/update and show the result in admin area
- Is there any other ways to replicating changes on live from staging without pushing from git
- upload image to wordpress media library failed for custom post type