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:
http://YOUSIITE.DEV/wp-json/wp/v2/posts?tags=7
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:
http://christianconcepts.com/wp-json/wp/v2/posts/?filter[tag]=appcontent
to
http://christianconcepts.com/wp-json/wp/v2/posts?filter[tag]=appcontent
Hope that helps!
Related Posts:
- How to order posts tag by tag?
- How to get any tag ID
- Querying A Post That Includes Two Taxonomies Using JSON Rest API
- Loop Performance > JSON files vs. WP_Query vs. REST API
- JSON – Create rest api endpoint for Advanced Custom Fields
- getting posts by tags
- Custom Taxonomy in custom REST API search
- WP Rest API: details of latest post including featured media url in one request?
- WP JSON REST API (Ryan McCue) how to query posts with specific meta data with ‘AND’ relation?
- Whats the difference between post_limits and pre_get_posts?
- How to add taxonomy filter on the query fly?
- WP_Query – filter or directly?
- What is the most efficient way of querying posts based on visits and date for current day?
- Given a WP_Query, how can I get a list of tags?
- Executing Queries in tag.php
- Custom query incorrectly returning everything [closed]
- post_type is ignored by WP_Query when ‘tag’ argument is included
- JSON: schedule creation of json file
- How to filter by category in REST API, excluding posts also in other category term?
- How to filter sql only for a specific post type
- Ignore a filter on the media library
- WP Query for Posts (Products) in Specific Category that has 2 Specific Tags (*AND* both tags not *OR*)
- Which filter/action hook gets triggered after a query has been performed?
- Why use JSON API to display recent posts?
- Remove ellipsis from the excerpt retrieved using get_the_excerpt()
- Removing posts from the returned wp_query. Cannot use object of type WP_Query as array
- Pagination problem after WP_Query with tag filtering
- WP Rest API max limit include parameter?
- What is considered a default query for the request filter?
- Modifying the Search Results
- Query total number of posts
- How to add post_distinct filter to WP_Comment_Query?
- reducing the amount of wp_query calls
- WordPress Related Post by tags in Single.php
- Using Ajax to load more posts | Help me change the wording on my button to notify the user
- WP_Query To call data from diffrent tables
- How to create a WordPress Post Filter that users can use to filter posts by year?
- Return only post(s) which have post_excerpt
- Include tags in WP_Query
- Search for multiple tags?
- How can I create ‘future’ and ‘past’ parameter for restAPI by filtering the CPT custom date field by greater than / less than current datetime?
- Cluster WooCommerce products in each Category Archive by Tags assigned to products
- How to use wp_query to post count by search term > group post count by date > convert to json. (ex. result 12-21-2020 – 343)
- Filter on the_content doesn’t update the content being searched via register_rest_route
- How to filter, restrict and return posts based on custom user meta information
- How to use the query hook/filter?
- Filter posts in category archive page by year using a dropdown
- How does one perform a sub query with different post types
- Display filtered results into custom page
- Query posts intersecting tags and categories
- REST API: Limit Read Permissions for Default Endpoints
- Applying posts_clauses filter to specific queries only
- Add class to first post in custom loop using post_class filter
- How can I allow sticky posts but cap the query to 1 post?
- how to access query string in wordpress?
- Filter Custom Taxonomy Posts
- Include posts from some categories while excluding from others
- Changing the default wp_search_stopwords
- Filter post query to only show direct children of category
- How to make posts unqueryable/unpublish posts where ACF relationship field is an unpublished post? [closed]
- Query_vars support in Rest API
- exclude product with available tag
- Change AJAX filter from POST to GET for URL Parameters
- Using post_where filter only on main query NOT sidebard new WP_Query
- WP_Query by keyword OR post tag
- Remove post type filter added by the plugin in the final query
- How to get more data of a post by wp_query
- Creating attachments archive in tags and categories
- relation OR instead of AND – Filtered term ID’s in loop
- Can’t order the query result as given posts id’s array
- filter posts by meta key with pagination
- Why does apply_filters behave different inside and outside a loop?
- Filter sub-category from checkbox form
- Filter products on category AND tag
- My combination of ‘post_type’ and ‘tax_query’ not working?
- How to add a “base” filter for all posts visible to visitors on the site?
- wc_get_products() return empty object
- Get posts that match defined arrays of tags
- Consult array data in REST API Filter
- WordPress – Form does not filter the results of taxonomies
- Order posts by tags count?
- Query Posts | Combining multiple form inputs into query arguments to generate one filter result
- Sorting query_posts() with a complex orderby filter
- Custom category page with taxonomy filters
- Show posts from categories instead of tags
- How to set selected attribute on option after filter query?
- Exclude all tagged posts from WP_Query loop
- Random posts in WP_Query when searching by tag
- Custom query with post_class filter using current_post not working
- Add filter to Orderby Parameter using Array
- Filter WP_Query output before it is accessed (pre_get_posts)?
- Loop the posts between two dates selected using jquery datepicker
- query post based on comparison
- Limit Tags display and ad Drop Down Menu
- wp_query->set for several categories
- Edit WordPress loop, taxonomies, & filter
- How to retrieve _embed (etc) fields in get_posts custom query?
- Woocommerce set loop_shop_columns to be 3 in the main shop page loop only and 4 otherwise
- List categories using WP_Query
- Simple Apex Charts with jQuery not working