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 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 to Fix HTTP Error When Uploading Images?
- How to retrieve image from URL and set as featured image/post thumbnail
- Set Featured Image Front Frontend Form
- Fetch All Posts (Including Those Using a Custom Post Type) With WordPress API
- Retrieve 1st image in post and set it as featured image, when post is saved/updated
- Set featured image for multiple posts
- How to change _wp_attachment_metadata specific value in SQL?
- Add theme support for post thumbnails
- Autogenerated Thumbnail compression depending on size
- Watermark featured image as soon as it is set on post edit page
- how to change my child theme featured image dimensions?
- How to use images uploaded with custom implementation of thickbox like the_post_thumbnail() functionality
- Facebook is only displaying preview thumbnails that are 100px from my posts?
- get_userdata by username
- Featured image is not showing in wp-admin
- User facing form to upload image on wordpress
- Display Taxonomy Image on single.php
- Need to take the first image out of posts and set it as the featured image
- featured image metabox not showing on the default post types edit page
- Change featured image urls in database
- Get smaller size of image, get_the_post_thumbnail
- Look Through Family Tree and Find Featured Image
- Different thumbnail sizes
- Add post-thumbnail after first paragraph including the caption
- wordpress get_the_post_thumbnail can’t set size
- How to print the thumbnail only if a post has a thumbnail
- Animated Gif as Featured Image
- Single post layout based on featured image size
- Migrating problem – featured images
- Set Featured Image by URL Form Post
- Limit post creation by role
- Default Featured Image from Post content
- upload or auto setup feature photo by user avatar
- 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?
- remove and disable image link in functions.php
- Get current post featured image ID
- Why does the_post_thumbnail output full sized images after activating post-thumbnails support?
- Query to delete all featured images and remove post meta?
- wc_get_products() not return the images details
- Add Image Size for Featured Image with Responsive Design
- Woocommerce REST API – add filter to set maximum query per page for product brands [closed]
- [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
- Next Prev Post link rendering current post thumbnail
- How to add thumbnail images? (Set Featured Image doesn’t work)
- custom image size not being fetched
- Resizing images failing
- 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 use tag in featured image
- How can I display Only the first Array/Object?
- exclude particular category in api
- Adding Amchart Interface to WordPress API
- Connecting WordPress with an External 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
- How to convert feature image as background image
- about featured image
- Moving Featured Images
- 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?
- Featured Image, and Image in post
- Get Post thumbnail without width/height attribute
- if statement for featured images
- Thumbnail size according to width and height
- Featured Image URL is Showing but not thumbnail
- Source problem for children page image
- How to login via wordpress api and get user details?
- Fetch first image URL from post and set as featured image URL
- 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?
- How to I remove Featured Image from the Posts/Category Lists?
- How do I change the size of the feature picture of a single post?
- Close featured image modal windows with JS
- How to submit a button automatically after every scheduled hours?
- i need to resive data external api and show user
- Post current post type to my Ajax
- Button over featured image on hover