This topic has 11 replies, 2 voices, and was last updated 9 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?

    Attachments:
    You must be logged in to view attached files.
    #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

    Laura 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 🙂

    #44052
     miraclepray
    Participant
    This reply has been set as private.
    #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

    Laura 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 🙂

    #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

    Laura 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 🙂

    #44060
     miraclepray
    Participant
    This reply has been set as private.
    #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

    Laura 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 🙂

    #44124
     miraclepray
    Participant
    This reply has been set as private.
    #44134
     miraclepray
    Participant
    This reply has been set as private.
    #44136
     Laura
    Moderator
    This reply has been set as private.
    #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?