This topic has 11 replies, 2 voices, and was last updated 11 years by miraclepray.
-
Author
-
January 29, 2015 at 16:53 #43951
miraclepray
ParticipantHi
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?January 30, 2015 at 08:12 #44046Laura
ModeratorHello, 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 solutionJanuary 30, 2015 at 09:06 #44052miraclepray
ParticipantDear Laura
Thank you for your help.
I am really appreciated it.By the way, where can I find the functions.php in child theme?
I am not familiar with the code.. and I don’t know where to add it.I will look forward hearing from you soon.
I am really appreciated your help..January 30, 2015 at 09:14 #44053Laura
ModeratorHello, 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 solutionJanuary 30, 2015 at 09:44 #44054miraclepray
ParticipantHello 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 #44058Laura
ModeratorHello, 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 solutionJanuary 30, 2015 at 11:57 #44060miraclepray
ParticipantDear Laura
You are amazing.. I am so moved..
I tried to set up the travel start/end date with “Date selector”
But it appears just empty box in main page.http://www.hiroomate.com/admin
ID : miracle
PW : Runiform2014!Thank you so much.
I have another website as well. But the support service is really bad there.
I haven’t heard back from them around 10 days… You are amazing.January 30, 2015 at 16:34 #44112Laura
ModeratorHello, 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 solutionJanuary 30, 2015 at 17:24 #44124miraclepray
ParticipantDear Laura
I tried to use the buddypress search plugin. But it didn’t apply at all.
Could you help me out this to figure it out?I just want to have search form like attachment.
I want them to apply to the website.
I hope that you could give me the answer.Thank you
January 30, 2015 at 17:53 #44134miraclepray
ParticipantIf I need to pay for getting customization for that.
I would love to do that.Please let me know
Thank you so much Laura
January 30, 2015 at 18:52 #44136Laura
ModeratorHello, this would require custom development, if you want to talk about it, please send a mail to bkgumiho@gmail.com 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.