Forums Forums Search & Filter Pro Filter posts by date that is stored in another post.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #195046

    Hello, Search and Filter Support! I’m working on a program search for a client’s site and I’m unable to filter the date.

    For a little bit of context, I have 2 post types: programs and trips. I’m trying to build a search for the programs that are being filtered by taxonomy. No issues there. But the problem I’m running into is, I want to filter the programs by dates. I have 2 ACF fields for start and end dates and it’s stored in the trips post type.

    I have a relationship field in each program to select the trips associated with it.

    Not sure if it’s possible to have the trips post meta data saved into the programs post so I can be able to filter by start and end dates? Or is there a better method to go about it.

    Any suggestion is greatly appreciated.

    Anonymous
    #195047
    This reply has been marked as private.
    Trevor
    #195063

    Our plugin cannot drill from one post into another post’s data like that, sorry. It has been asked for before, but is incredibly complex to do.

    Anonymous
    #195069

    So the trip post meta data has to be in the program post for me to be able to filter by dates?

    Anonymous
    #195071

    Also is it a way I can filter by data attributes instead?

    Trevor
    #195141

    Q. So the trip post meta data has to be in the program post for me to be able to filter by dates?
    A. That is correct.

    Q. Also is it a way I can filter by data attributes instead?
    A. I am not sure what you mean by this?

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