Support » Plugin: AgentPress Listings » Textbox Search

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    MultiSite Guru

    The plugin doesn’t provide that functionality.

    I’m sure this wouldn’t be too hard to add as the query string for text searching is available. Could you point me to where the taxomony search function exist within the plugin? I might be able to come up with something.

    Thanks!

    Plugin Support Nick Cernis

    (@modernnerd)

    You can find the Search widget code here:

    https://github.com/copyblogger/agentpress-listings/blob/develop/includes/class-property-search-widget.php#L9

    The Listings widget is here:

    https://github.com/copyblogger/agentpress-listings/blob/develop/includes/class-featured-listings-widget.php#L9

    Combining the two to offer search in addition to the taxonomy filters is probably not a quick job, but you’re welcome to submit proposals and pull requests in the public GitHub repo if you’d like to.

    Hope that helps!

    Thanks Nick,
    This was actually fairly easy. The “s” query string for search is included by default, but is hidden. I simply changed the string from “hidden” to “textbox” and it now allows for custom text searches with the filter dropdowns. If anyone wants to know more, let me know. One word code change.

    Plugin Support Nick Cernis

    (@modernnerd)

    Excellent! Thanks for the follow-up; I’m sure others will find it useful.

    bluefire2121,

    I am using the agentpress setup for home services, not home listings. So, I want a textbox so users can input their zip code and use that in connection with the other drop down menus. Is that what you are saying you figured out?

    If so, I would love to know what file to edit and what code to edit. Any help is greatly appreciated. I am not a coder.

    I made the change and have a textbox. However, 2 issues with the text box.

    1) It searches one of my 2 taxonomies, but not the other. I think it searches the first one I created. How do I get it to search the other?

    2) Also, how do I put text in the search box “Enter your Zip Code”?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Textbox Search’ is closed to new replies.