Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: adding date search filters from post meta #58984

    earlygroove
    Participant

    I just saw your response. Changing the filter for the documentation code still doesn’t affect the search results

    • This reply was modified 3 months, 3 weeks ago by  Eyal Fitoussi.
    • This reply was modified 3 months, 3 weeks ago by  Eyal Fitoussi.
    in reply to: adding date search filters from post meta #58982

    earlygroove
    Participant

    I also tried modifying the search query to see if gmw_pt_search_query_args works as expected, but whether I do the query args like

    or if I use the format

    this does not modify the search query.

    Nor does modifying the meta_query

    To be clear, my end goal is not to modify the search query without triggering it within a select box –just thought I’d try modifying the query straight out since modifying the clauses was not working.

    • This reply was modified 3 months, 3 weeks ago by  Eyal Fitoussi.
    in reply to: adding date search filters from post meta #58978

    earlygroove
    Participant

    Hi. Modified query clauses don’t appear to be working at all.

    I would like to return only the posts that have the meta_value ‘new_dateA’ == $today , but even the orderby meta_value is not working.

    Even this code from the docs does NOT modify the query:

    Do these not work for ajax forms, or what is the issue?

    I’m really having trouble finding code examples in the docs or forums that actually work, from which to build on. It’s impossible to tell which are outdated or only apply to form results that load on a new page.

    • This reply was modified 3 months, 3 weeks ago by  Eyal Fitoussi.
    • This reply was modified 3 months, 3 weeks ago by  Eyal Fitoussi.
    in reply to: adding date search filters from post meta #58862

    earlygroove
    Participant
    This reply has been marked as private.
    in reply to: adding date search filters from post meta #58860

    earlygroove
    Participant

    Hi again, I see the code here https://geomywp.com/forums/topic/taxonomy-and-custom-field-filters-not-working/ being the closest to what I’m trying to do , but I have multiple queries.

    For example, I want to have search filters for relative dates, such as ‘today’, ‘tomorrow’, and ‘this weekend’ — I have these custom queries coded and working on their own,

    {I had the code here but it encodes basic characters (?) so I’ve now removed it}

    but I’m not sure how to attach each query to its own search filter option. Can you please point the right direction, or send a quote for creating this customization yourself?

    • This reply was modified 4 months ago by  earlygroove. Reason: code was broken
Viewing 5 posts - 1 through 5 (of 5 total)