This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Search option for two different categories #5992
    atomheartBLACKatomheartBLACK
    Participant

    Hi,

    Here is the URL: http://www.gobbler.co.nz

    I would like 2 different search groups, LOCATION and DAY.

    Each category would have a drop down box where you would be able to select one, or several choices e.g I want to choose a specific LOCATION, lets say an inner city suburb, then choose a DAY, lets pick Monday and Tuesday. After making these selections, the deals that are shown will only be INNER CITY LOCATION, with MONDAY and TUESDAY as the days.

    I have set up Day search, but when clicking on the drop down box, all the days are automatically selected. How can I set it that none are selected by default?

    When selecting a day, nothing happens, it does not show that specific day’s deal.

    When doing a search e.g MONDAY, a weird box pops up. I just want to actually use a dropdown function for visitors to use. Select a specific day (or multiple days) and a location (or multiple locations) the only those deals would show up on the home page. Is there a way to achieve this, and maybe only having a dropdown box without a search box function?

    I hope this makes sense 🙂 Have been looking at the Ajax search pro settings, but can’t figure it out.

    Thank you!

    in reply to: Placing AJAX search pro into header/nav bar #5691
    atomheartBLACKatomheartBLACK
    Participant

    No worries. Have decided to not use the search in the Nav bar, but rather in the body.

    Thanks for all your help anyways 🙂

    Cheers

    in reply to: Placing AJAX search pro into header/nav bar #5679
    atomheartBLACKatomheartBLACK
    Participant

    Thank you! It worked.

    The only thing is the search bar doesn’t function correctly. The drop down menu pops up at will and the search results does not work either, can’t search anything on the website. There is also a second scroll bar that appears on the opposite corner of the website.

    Any idea why?

    Thank you

    in reply to: Placing AJAX search pro into header/nav bar #5663
    atomheartBLACKatomheartBLACK
    Participant

    Hi there,

    Thanks for the reply!

    Here is the code I used in the functions.php:

    [code]add_filter(‘wp_nav_menu_items’,’x_add_search_to_navbar’,10,2);
    function x_add_search_to_navbar( $items_html, $args ) {
    //If menu class has x-nav, but this isnt the footer
    if ( isset($args->menu_class) && strpos($args->menu_class, ‘x-nav’) !== false &&
    ( ! ( isset($args->theme_location) && ‘footer’ == $args->theme_location ) ) ) {

    ob_start();
    get_search_form();
    $items_html .= ‘<li>’ . ob_get_clean() . ‘</li>’;
    }
    return $items_html;
    }[/code]

    I am not too sure where to place the .php shortcode for the AJAX search.

    Can you please help

    Thanks

    in reply to: Can't change search bar settings #5490
    atomheartBLACKatomheartBLACK
    Participant

    Thank you! I’m such an idiot.

    No more help required

    Cheers

    in reply to: Can't change search bar settings #5488
    atomheartBLACKatomheartBLACK
    Participant

    One more thing. I have set the icon color to white, but it does not appear on the search bar. How do I get that back? I have gone through all your theme options, and none have the icon dropdown.

    Thanks

    in reply to: Can't change search bar settings #5486
    atomheartBLACKatomheartBLACK
    Participant

    Oh, thank you 🙂

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