This topic has 11 replies, 2 voices, and was last updated 9 years by miraclepray.
-
Author
-
January 29, 2015 at 16:53 #43951miracleprayParticipant
Hi
I would like to set up the searching field like
Travel starts date and End date
I attach the photos.Please let me know what I can do for it.
And I want the user’s info which they want to visit certain country like the attachment.
Where can I set up the required info for that?Attachments:
You must be logged in to view attached files.January 30, 2015 at 08:12 #44046LauraModeratorHello, you can use https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ And make 2 new fields as DATE with the name Start date and End date.
For showing user profile info in members directory you can use this:
COPY CODEadd_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'] = 'I want to travel'; //this display the fields under the name, eq: 36 / Paris / Traveler / Photograph. Modify with the names of the fields you want to appear there $kleo_config['bp_members_loop_meta'] = array( 'FIELD1', 'FIELD2', 'FIELD3', 'FIELD4' ); }
Change “I want to travel” with the field you have that users fill with desired country they want to travel, or what ever field you want.
Change field1,2,3,4 with other fields you want to show.
Add the code to functions.php in child theme
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 30, 2015 at 09:14 #44053LauraModeratorHello, go to your ftp server, if you use a hosting that has a ftp manager, go to it and find the folder wp-contents/themes/sweetdate-child/functions.php
If your hosting doesnt have an ftp manager you can use filezilla program with your ftp credentials.
🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 30, 2015 at 09:44 #44054miracleprayParticipantHello Laura
Thanks for your help. I found it..
But it wasn’t successful.one more thing
As you can see the attachment, start date and end date doesn’t show the calendar.
I want the user to select the date and Month, but it is only showed empty boxFor the age section as well, there is empty box which I need to type the number.
Can I change it like scoll down box with number which I can selec?Sorry for my poor English.
Thank you
January 30, 2015 at 11:35 #44058LauraModeratorHello, you can share with wp admin access? I can check it out for you 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 30, 2015 at 16:34 #44112LauraModeratorHello, it seems that the form doesnt support this datepicker, you can try to use buddypress search plugin to have the travel dates
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.