Closed brettdonald closed 2 years ago
I can get an XML feed of WordPress search results like this: http://example.com/?s=searchterm&feed=rss2
What is the correct syntax for fetching a JSON feed of a search term?
@brettdonald If you have the JSON Feed WordPress plugin installed, you should be able to use feed=json instead of feed=rss2.
feed=json
feed=rss2
I can get an XML feed of WordPress search results like this: http://example.com/?s=searchterm&feed=rss2
What is the correct syntax for fetching a JSON feed of a search term?