Forum: Global Maps

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Global Maps premium extension please open a new premium support ticket.

[Resolved]Custom Field in Filters (IE: Post ID)

Home Forums Global Maps Custom Field in Filters (IE: Post ID)

This topic contains 33 replies, has 2 voices, and was last updated by  Scott Reimels 3 weeks, 3 days ago.

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

    Scott Reimels
    Participant

    Is it possible to include a search field some how in the filters box that will allow to filter/search by post id ?

    Please advise

    #31789

    Eyal Fitoussi
    Keymaster

    It is possible.
    You will need to:
    1) Add an additional input box to the search form so the value entered in the box will pass to the URL just like the rest of the filters in the search form.

    2) Use the filter

    which can be found in geo-my-wp/plugins/posts/includes/gmw-pt-search-query-class.php line 177 to modify the query args of the search query.
    you will need to add the argument “p” ( See codex ) with the value of the post ID input box which should be retrieved via URL after submission.

    I Hope that helps

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

The topic ‘Custom Field in Filters (IE: Post ID)’ is closed to new replies.