Tate

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: How to include custom fields in search #1149767
    Tate
    Participant

    Thank you. I was able to accomplish exactly what I wanted by following the instructions here:

    Search WordPress by Custom Fields without a Plugin

    Copying and adjusting that code worked great. For anyone viewing this later, be aware that the if line should read:
    if ( is_search() || !empty( $_REQUEST['tribe-bar-search'] ) ) {
    So it runs for both WP search, and the Tribe Events Calendar search.

    Thanks again for your help!

    in reply to: How to include custom fields in search #1148119
    Tate
    Participant

    Got it. Yes, I am looking for the keyword search (free-form search box) in the filter bar to include custom fields (at least from PRO, but WP would be nice also) in its search.

    Do you know of a way I can adjust the plugin code itself to make this happen? I was unable to locate the pertinent parts of the keyword (free form) search logic. Would you be able to direct me at least to where those parts are located?

    in reply to: How to include custom fields in search #1147532
    Tate
    Participant

    Thank you for your reply. I have added The Event Calendar’s Additional Fields, and created a custom field through that. However, it is not included in the keyword search. Can you please direct me on how to have this field included in the keyword search? I am a programmer, so am comfortable writing code, if you can direct me on where and how to hook in.

    For others reading this thread, I submitted a feature request here: Please vote for it!
    https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/15543609-include-wp-post-meta-fields-in-keyword-search

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