from the support forum of that plugin:
Your cpt may not be registered correctly. Try adding this to your functions.php (change “event” to your post type slug):
add_filter( 'register_post_type_args', function( $args, $post_type ) {
if( 'event' === $post_type ) {
$args['show_in_rest'] = true;
}
return $args;
}, 10, 2 );
or make sure that you have show in rest active for your cpt when you actually registered it.
Related Posts:
- Adding post thumbnail URL in Search or Post REST APIs response [closed]
- How to get featured post title & image using JSON API?
- create new post using rest API and set featured Image from an external link
- How to create thumbnails programmatically?
- Get featured image and additional posts thumbnail WordPress REST API
- How to get a page’s featured image through REST API?
- How do I set a featured image (thumbnail) by image URL when using wp_insert_post()?
- How do I get image url only on the_post_thumbnail
- How to get image title/alt attribute?
- How to Fix HTTP Error When Uploading Images?
- Add class name to post thumbnail
- WordPress Rest API custom endpoint optional param
- Using the Rewrite API to Construct a RESTful URL
- How to disable WordPress from creating thumbnails?
- How to retrieve image from URL and set as featured image/post thumbnail
- How to set featured image to custom post from outside programmatically
- How do you remove hard coded thumbnail image dimensions?
- How do you get the post thumbnail size?
- Setting a post’s featured image from an embedded YouTube video
- How to get featured image’s width and use elsewhere in template?
- set_post_thumbnail_size vs add_image_size
- Minimum Dimensions Requirement for Featured Image?
- Generate Thumbnails only for Featured Images
- How to get all featured image sizes and their URLs?
- How to Dynamically Resize WordPress Image On-The-Fly (custom field/theme option)
- How to add post featured image to RSS item tag?
- How do I regenerate thumbnails?
- Query WP REST API v2 by multiple meta keys
- Display thumbnail only if requested size exists
- Delete original image – keep thumbnail?
- the_post_thumbnail responsive srcset not populating with custom image size
- Set custom name for generated thumbnails
- Post thumbnail alt title
- Get Featured Image via direct sql query
- Get featured image on Blog Index
- the_post_thumbnail hard cropping not working no matter what
- Can I refresh the thumbnails programmatically?
- How to add multiple image sizes of the same size with add_image_size
- New image size version only for the Featured Image file
- wp_get_attachment_image_src always returns full-sized image
- How do I cache (core) API requests?
- Get featured image URL by page id
- change set_post_thumbnail_size according to post type admin page
- WP REST API only returning partial list of users
- Add Title Attribute to WordPress Image the_post_thumbnail
- Can’t extract and set SVG dimensions
- Set Featured Image Front Frontend Form
- Fetch All Posts (Including Those Using a Custom Post Type) With WordPress API
- WP REST API no longer supports filter param, so how do I get posts in a custom taxonomy?
- Is there a way to get protected meta fields through any of the available built-in WordPress APIs? (xmlrpc, wp-json)
- Getting Thumbnail Path rather than Image Tag
- Display Category Thumbnail and links in Woo commerce
- the_post_thumbnail with lazyload JQ plugin
- Replacing Gutenberg Featured Image control?
- Slow REST API calls on self-hosted WordPress [closed]
- Display Post Thumbnail Without Being Featured Image
- Featured Image of Video from oembed
- oEmbed, thumbnails and wordpress
- wp_get_attachment_image_src() and custom sizes
- Is it safe to fix Access-Control-Allow-Origin (CORS origin) errors with a php header directive?
- Prevent WordPress from cropping GIF files
- media_sideload_image generates blank?
- Post thumbnail outside the loop
- Retrieving pages with multiple tags using REST API
- What’s the difference between post thumbnails and featured images (if any)?
- Getting custom-sized featured image’s URL?
- What is your take: TimThumb vs. WordPress Thumbnails? The great debate [closed]
- How to crop thumbnail height to auto with set width
- Retrieve 1st image in post and set it as featured image, when post is saved/updated
- Use thumbnail image using url of that image
- Retrieve featured image as object
- How do I add the featured image to the_content after the first paragraph?
- how to authenticate for the REST API from a plugin and from command line
- Showing a placeholder/default img, if no featured image is set
- Re-order media links?
- Multiple featured image thumbnails for post types (Multiple Post Thumbnails plugin)
- Why is per_page not working with categories in WP API?
- the_post_thumbnail scaling not hard cropping
- Skip posts without a thumbnail in loop
- wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); Getting thumb from wrong loop
- WordPress API – Get Drafts
- REST API: How can I restrict a custom post type to only be accessible by authenticated users?
- How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?
- Set featured image for multiple posts
- Image uploader with “Set Featured Image” link on front end
- adding an id to the_post_thumbnail
- Featured image size in ADMIN panel?
- Featured image with the same height thumbs returns wrong thumb
- How can I display my featured image correctly inside my single posts?
- How to change the naming of the resized image files
- Creating a post with the REST API, curl and oauth returning 401 error
- Featured image upload finished hook
- Generate thumbnail for images with the same size as thumbnails
- Set post thumbnail as background
- Display thumbnail only on the very first post in the loop?
- How to show featured image CAPTION only if it exist
- Set post-thumbnail (with php)?
- get_thumbnail_id returns full size image
- Implementing Zurb’s Interchange Into WordPress
- can the_excerpt function also get images?