I am trying to get posts from blog: http://christianconcepts.com/ which are tagged “appcontent”. I tried this querry:
but it I still get unfiltered results. For example, this post: http://christianconcepts.com/pdf-ebook-available/ doesn’t have “appcontent” tag but it is still returned.
“REST API – Filter Fields” plugin is installed.
Could someone help me?
The filter param was removed in WP4.7, you should be able to access tags via their ID. For example to get the tag with the ID of 7 you could use:
If you would like to add filters back in the WP-API team released their own Filter plugin, I’d recommend that you check that out: https://github.com/WP-API/rest-filter. From what I could see “REST API – Filter Fields” plugin actually restricts the content that is received from the API, it doesn’t add Filter back in.
If you are adding the filter back in, remove the forward slash after
posts, for example update:
Hope that helps!