Support » Plugin: JSON API » [Plugin: JSON API] Using get_search_results controller

  • Resolved ahalls


    I’ve been looking around and I can’t find an example or instructions on how to use the get_search_results controller. What is the format of the search argument or how do I dynamically construct a search results page?

    I would like to return the posts where the title contains a given string or keywords contain the same string.

    Help for a newbie would be appreciated.

Viewing 1 replies (of 1 total)
  • Found that the search argument passes the words off to the standard search which returns the blog posts with that search term in the title (might search more but that was all I tested)

    The following will return all blog posts with ‘house’ in the title.

    I then added the plugin “Search Tags” so the standard search also includes searching the tags for the supplied phrase.

    I’m happy … love the WorldPress eco-system!

    — A

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: JSON API] Using get_search_results controller’ is closed to new replies.