• My search widget is giving my an error when I select any age drop down menu.
    here is the URL from the search:

    /?pet-status=0&pet-category=0&pet-gender=0&pet-size=0&pet-size=adult&post_type=pet&search=Search+pet

    as you will notice, it uses pet-size twice. For me, the second one should be pet-age=adult, not pet-size. If i make this change to the url, i get the correct page. When i use the search button I can’t make this change.

    https://www.ads-software.com/plugins/pet-manager/

Viewing 1 replies (of 1 total)
  • c.walter

    (@cwalterpas-solutionsch)

    I guess the problem is in this file: plugins/pet-manager/inc/extend.php

    I changed the following line

    '<li id="item-age"><label for="pet_age">' . __('Age', 'wp_pet') . '</label><select id="pet_size" name="pet-size">' .

    to that

    '<li id="item-age"><label for="pet_age">' . __('Age', 'wp_pet') . '</label><select id="pet_age" name="pet-age">' .

    And it worked. Perhaps that helps others too.

Viewing 1 replies (of 1 total)
  • The topic ‘Search by age not working’ is closed to new replies.