WordPress.org

Support

Support » Plugins and Hacks » JSON API » [Resolved] [Plugin: JSON API] Using get_search_results controller

[Resolved] [Plugin: JSON API] Using get_search_results controller

  • 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.

    http://wordpress.org/extend/plugins/json-api/

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.

    http://myserver.com/myblog/?json=get_search_request&search=house

    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 ‘[Resolved] [Plugin: JSON API] Using get_search_results controller’ is closed to new replies.
Skip to toolbar