This topic has 11 replies, 2 voices, and was last updated 11 years by miraclepray.

  • Author
  • #43951
     miraclepray
    Participant

    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?

    #44046
     Laura
    Moderator

    Hello, 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 CODE
    
    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'] = '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 solution
    #44052
     miraclepray
    Participant

    Dear 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..

    #44053
     Laura
    Moderator

    Hello, 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 solution
    #44054
     miraclepray
    Participant

    Hello 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 box

    For 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

    #44058
     Laura
    Moderator

    Hello, 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 solution
    #44060
     miraclepray
    Participant

    Dear 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.

    #44112
     Laura
    Moderator

    Hello, 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 solution
    #44124
     miraclepray
    Participant

    Dear 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

    #44134
     miraclepray
    Participant

    If I need to pay for getting customization for that.
    I would love to do that.

    Please let me know

    Thank you so much Laura

    #44136
     Laura
    Moderator

    Hello, 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
    #44140
     miraclepray
    Participant

    Dear Laura

    I did. Thank you so much 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?