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 Query with multiple tags by get the tags
- How to not display tags with less than X posts
- 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
- Query Posts by Tag and exclude
- Is it possible to add an argument to a custom function added to a filter hook?
- How to make posts unqueryable/unpublish posts where ACF relationship field is an unpublished post? [closed]
- Include results with tags relevant to the search keyword with JSON rest API v2
- Get posts that do not have the same tags as current
- Get user first name from custom endpoint
- 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
- Filtering posts by archive showing all years
- WP_Query – How to get all posts of specific days of week by custom field date?
- Multiple wp_query on archive page
- Retrieve select tag custom values from array and display them in current page with wp_query?
- How to use a dropdown to filter posts by custom field
- 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
- Display posts by tag
- Creating attachments archive in tags and categories
- Filtering by multiple conditions in the loop
- Get posts with no tags?
- 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?
- Custom post type – filter content by custom meta box content
- meta_query weird behaviour, static int will work, but not user data
- How can I return only IDs from the `posts` REST endpoint?
- Optimal WP Web App Backend for mobile app development
- How to search by slug and old slug in single API
- WP_Query retuning empty array in rest api
- Filter sub-category from checkbox form
- Filter products on category AND tag
- Display posts ONLY from the current logged in user and current week/year/month Elementor posts
- My combination of ‘post_type’ and ‘tax_query’ not working?
- Custom meta_query order for Elementor based on post meta key [closed]
- How to add a “base” filter for all posts visible to visitors on the site?
- Only show tag with the same id as the post
- wc_get_products() return empty object
- How can I filter products by meta in Woocommerce REST API?
- 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?
- Fix wp_term_relationships slow query in get_posts
- Query Posts | Combining multiple form inputs into query arguments to generate one filter result
- Sorting query_posts() with a complex orderby filter
- Search with WP_Query, but ignore href URLs in anchor tags?
- WP Query filters active on wrong query
- Custom category page with taxonomy filters
- Show posts from categories instead of tags
- Insert wp_query after the_content with plugin (filter the_content won’t work)
- Gather same custom field values in one value in a select tag with wp_query
- get term objects and post objects in query
- How to set selected attribute on option after filter query?
- post_type not working when tag__in is present?
- Related Post by Tags Code
- WP query retrieve the src of attached image
- Exclude all tagged posts from WP_Query loop
- Issue generating custom filter for cpt admin columns
- I cannot get tax_query in get_posts() to work with custom taxonomy
- WordPress custom query by archive title
- WP_Query doesn’t works inside loop
- How to create page that lists tags by initial letter?
- Track write actions to the database
- Fetch only categorized posts
- Random posts in WP_Query when searching by tag
- Custom query with post_class filter using current_post not working
- Issue attempting a wp_query_posts with tags
- 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
- Do not show a custom post if it belongs to a certain custom taxonomy
- wp_query->set for several categories
- Can’t seem to get an else statement correct? [closed]
- Adding arguments to WooCommerce Product Loop using AJAX
- Edit WordPress loop, taxonomies, & filter
- How to replecate the _fields parameter in custom REST api endpoint
- Get posts that were most recently tagged
- 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
- I need to get all categories from a WP_Query
- Simple Apex Charts with jQuery not working