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:
- 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 image title/alt attribute?
- WordPress Rest API custom endpoint optional param
- How to set featured image to custom post from outside programmatically
- Generate Thumbnails only for Featured Images
- How to add post featured image to RSS item tag?
- Get featured image URL by page id
- WP REST API no longer supports filter param, so how do I get posts in a custom taxonomy?
- 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?
- What’s the difference between post thumbnails and featured images (if any)?
- What is your take: TimThumb vs. WordPress Thumbnails? The great debate [closed]
- Allow user to manually set crop area of default/custom image sizes on upload [closed]
- Display child pages on a parent and child page using Featured Thumbnails
- How to display a post’s Featured Image with this code?
- Conditional to grab parent page thumbnail URL
- Show featured image in sidebar
- Featured Image VS Post_thumbnail — has_post_thumbnail lies?
- Cropped thumbnail still displaying as full image
- Keep user’s privileges on accessing contents in JSON response
- Why am I getting errors in product.thumbnails.php? [closed]
- Featured image always rendered with 198px of height?
- How to retrieve the post featured image (thumbnail) ID in Gutenberg blocks?
- WordPress REST API always misses parameters – rest_missing_callback_param
- MultiPostThumbnail and the_post_thumbnail
- Passing a borrowed nonce through Postman fails
- How to add WP API and JS featured image attachment
- Featured image is not uploading
- Why aren’t tags and categories added in post request to WP Rest API
- how to use the new image size
- Image still attached to post even after removing it as featured image
- Create custom thumbnail size on existing posts
- thumbnails are getting clipped down, want to resize instead
- Multiple Post thumbnails (at least three)
- Get all PDF files from page with WordPress API
- How check that there is post thumbnail feature image or not on wordpress?
- Force WordPress to strip/remove EXIF/IPTC metadata when resizing thumbnails
- Sidebar Thumbs Squished?
- Adding Videos as post-thumbnails (no stills, just the player in a smaller size)
- Getting thubnails for previous posts
- Setting fallback (default) image to featured image block
- Featured Images Not Loading In Blog Archives
- How to modify WCMP Rest API response?
- Allow REST API over HTTP, the rest of the site forced to HTTPS
- Stuck on save/upload featured images plugin
- adaptive featured images wordpress 4.4 grid
- ACF – Add/update featured image (for videos) by field [closed]
- oEmbed, thumbnails and wordpress
- Show last 2 image attachments from posts
- Set featured image from external URL
- Show Multiple Size URL of one Featured Image/Thumbnail?
- Why does the_post_thumbnail output full sized images after activating post-thumbnails support?
- Can this be done? Create 50×50 thumbnails of all existing featured images?
- Query to delete all featured images and remove post meta?
- WordPress REST Api: update user
- Add Image Size for Featured Image with Responsive Design
- Best Way to Display Posts by Tag (not category)
- WordPress image crop probems
- [Zapier + WP Webhooks Pro]: Custom Fields get cut off at first comma or semicolon
- Images are displaying as blank images
- Pull through featured image in a custom menu
- How do I get posts where image is larger than…?
- Category page with thumb is ok but can’t do the same with tags
- Programmatically set thumbnail via URL using DOM and XPATH – Where to add ELSEIF
- Retrieve a post’s featured image with PHP outside of WordPress
- Better way to show Description and image Captions
- Different size thumbnails on home and single pages
- How to add thumbnail images? (Set Featured Image doesn’t work)
- How to add a new thumbnail size only to a certain custom post type?
- Tag,php – how to get it to display featured post image? [closed]
- Featured images have disappeared in the Trending section only of my website
- Blog replace single post page featured image
- how to create JSON array [] for REST response?
- How to use tag in featured image
- How to receive JSON payload from a digital device
- Adding Amchart Interface to WordPress API
- Deleting media using the WordPress Rest API
- How to automatically add first image of post as thumbnail?
- Change wording of default thumbnail metabox
- featured image metabox not moving custom post type
- about featured image
- Add Play Icon on thumbnail overlay for video post types
- How do I Get WordPress Featured image from Frontend
- Best way to make a JSON API from WordPress?
- Get Post thumbnail without width/height attribute
- Thumbnail size according to width and height
- Featured Image URL is Showing but not thumbnail
- Custom image sizes are not used
- Import Dummy Content and Post Thumbnails
- Source problem for children page image
- How to login via wordpress api and get user details?
- How to set featured image from a variable
- How many users/load can the rest API handle?
- How to stop WordPress from creating native thumbnails?
- External api call using wordpress
- Login and register by API
- Woocommerce API for calling products by Category ID