Forums Forums Search & Filter Pro Filter by Post Meta, Custom Field equal to page title

Viewing 2 posts - 1 through 2 (of 2 total)
  • Trevor
    #264370

    I am unable to advise you on the usage of PODS, sorry. Are you trying to make a field in the form that has (maybe a select dropdown) a list of the post titles (one hopes the list will remain small, otherwise the user experience would be very poor?

    The problem is that post titles are not stored by WordPress in a way that we can make them in to a list to populate a form field (this I guess you already figured).

    If you want them to be available this way, you must add a custom field to the posts and duplicate the name in to that new field. For the existing posts, you would have to manually edit each expert.

    You could automate the making of the duplicate field for new posts, and even for any posts that you edit and simply save. This is an example of an automated field value fulfilment when the save (update) button is pressed in the edit post page:

    https://support.searchandfilter.com/forums/topic/datefilter/page/3/#post-238869

    And this is a Google search for some ideas on how to copy the post title:

    https://www.google.com/search?q=stackexchange+wordpress+save_post+copy+post+title+to+custom+field&oq=stackexchange+wordpress+save_post+copy+post+title+to+custom+field

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