GEO my WP Support

Use this forum for technical support and general questions related to GEO my WP plugin and its core add-ons only. For technical support and general questions related to any of the premium extensions please open a new premium support ticket.

[Resolved]Set default value for custom field to filter search results

Home Forums Support Set default value for custom field to filter search results

This topic contains 1 reply, has 1 voice, and was last updated by  Jae Ma 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #59852

    Jae Ma
    Participant

    I choose a custom field to show up in the search form as textbox. Now I want to set a default value for this field.

    Custom field:

    ‘meta_key’ => ‘choose_between_yes_no’
    ‘meta_value’ => ‘yes’

    The form [gmw form=”5″] is supposed to show only results with this meta_value!

    Any help would be great.
    Thanks

    #59853

    Jae Ma
    Participant

    This works for me.

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

You must be logged in to reply to this topic.