BBPress Adam Leone : Replies Created

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: What template file to add another dropdpwn? #431985
    Adam Leone
    Participant

    Hi Steven,

    Where can I read about that hook (cn_search_results_messages)

    Thanks,

    David

    in reply to: What template file to add another dropdpwn? #431668
    Adam Leone
    Participant

    I have used the following code to get gender to be searchable:

     if (isset ($_GET['gender']) && $_GET['gender']) {
             $where[] = ' AND honorific_suffix = "' . htmlentities($_GET['gender'], ENT_QUOTES) . '"';
         } 
    

    However there are 2 issues:

    1. The gender box resets when the search is performed
    2. The text does not say that the user searched the gender as it does for category:

    “You are searching within category(ies): Accident and emergency”

    How do I get the text to also say “”You are searching within gender: Male” for example?

    Regards,

    David

    in reply to: What template file to add another dropdpwn? #431238
    Adam Leone
    Participant

    I have since discovered its not a custom field but the ‘Suffix’ field. What would be the code required for that?

    in reply to: What template file to add another dropdpwn? #430623
    Adam Leone
    Participant

    Its a custom field. I just need to know what file I would add the dropdown code to.

    Regards,

    David

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