How to use: Post object field

Post Object will create an AJAX search field on the frontend. The user can search posts, pages, posts types. Narrow down the search output with following options:

1/ Filter by Post Type: Select the post types you want to return on search result

  • Select the post types, one by one.
  • Leave blank for all post types

2/ Filter by Taxonomy: Narrow down search result by taxonomy

  • Select the post types, one by one.
  • Leave blank for all taxonomy

3/ Allow Null?: Add “select” as default value

  • Yes
  • No

4/ Select multiple values?: Allow to select more than 1 value on search result

  • Yes
  • No

5/ Return Format: What value get_field/the_field function will return

  • Post Object
  • ID

 

 

Was this article helpful?

Related Articles

Leave A Comment?

+ 72 = 75