Forums Forums Search & Filter Pro Search by Author Custom Profile Field (City)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Trevor
    #97065

    Sadly not. We do not cache the user table, where that data would/might be stored. We only index the author ID’s found in the posts table. It is possible such functionality may come in future versions, but not soon.

    Ross Moderator
    #97125

    Hey Juan

    You *could* achieve something like this by adding it to post meta.

    So when a user is assigned to a post (probably save_post hook), you can copy the user meta, into a post meta (likely the WP function update_post_meta).

    Once you’ve got it in post meta then you can add it to the form.

    The only thing you’ll have to watch out for is when the Author Custom Field is updated (I’m not sure if this should be happening regularly, or if its static once set) then you would need to update all references in the DB – again something thats doable with WP but may be overkill.

    Best

    Anonymous
    #97815

    Got it,
    Thank you so much for the quick follow up! @trevor. Keep up the great work!

    Thanks for this @Ross! Giving it a try.
    JP

    Anonymous
    #125209

    I think having the ability to have the plugin cache the user table would be a great “future” feature. I have a number of instances where I have created ACF fields for the user and it would be great to be able to filter some of those fields. I actually have a place I could use it right now 🙂

    Anyways…awesome plugin and happy to support it!

    Trevor
    #125263

    It is on our to do list.

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