This topic has 4 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #159440
     wendellcmc
    Participant

    Hello, I need to make a change to the display of profiles on the search home page (https://eliteproposal.com/procurar/), I’d like to know where you are and SQL responsible for those results. Thank you.

    #159565
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    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 🙂

    #159646
     Radu
    Moderator

    Hi,

    For the search form the responsible files are located here :

    /wp-content/themes/sweetdate/page-parts/home-register-form.php
    /wp-content/themes/sweetdate/page-parts/home-search-form.php

    If will need to change those files it’s recommended to copy them in child theme first and then to modify those files. The files should be placed in child theme in this path

    /wp-content/themes/sweetdate/page-parts/

    The missing folders should be created in child.

    The SQLs are made thru native buddypress functions like bp_the_member()

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #159654
     wendellcmc
    Participant

    Sorry, but it would be possible to give me an example of how to use the bp_the_member () function for a specific query of a gender, as I am not succeeding.

    Thank you.

    #159663
     Radu
    Moderator

    Hi,

    I don’t have a example for what you need,

    https://wordpress.stackexchange.com/a/126553

    But here it’s a class that it seems to be what you are looking for also in that post are references to here : https://codex.buddypress.org/developer/bp_user_query/#code-examples
    and here : http://buddypress.org/support/topic/filter-members-list-based-on-profile-field/

    Those are very related to what you need,

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?