WordHerd
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: oembed via REST API@bcworkz Actually, it is via the WP REST API, not wp-cli. How would you recommend tagging in that case?
Forum: Developing with WordPress
In reply to: oembed via REST APIHi @bcworkz –
Thank you for responding. The oEmbed process works within Gutenberg/Block Editor once viewing the edit screen, as it then saves the oEmbed post meta and the associated oEmbed post_type based on the oEmbed server response. However, if we create a post with video as a block via the REST API and then view that post in the front end without editing the post, the oEmbed process never occurs. We are processing over 1k posts with videos and cannot afford to edit each post manually to trigger the oEmbed process.
Here is an example of a post we are creating via the REST API:
REST API endpoint:
/wp-json/wp/v2/postsCode
{ "content": "<!-- wp:embed {\"url\":\"https://www.youtube.com/embed/t1xaI36UXGY\",\"type\":\"rich\",\"providerNameSlug\":\"embed-handler\",\"responsive\":true,\"className\":\"is-provider-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"} --><figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">https://www.youtube.com/embed/t1xaI36UXGY</div></figure><!-- /wp:embed --><!-- wp:paragraph --><p>This is a paragraph</p><!-- /wp:paragraph -->", "slug": "api-video-test", "status": "publish", "title": "API Video Test", "type": "post" }Forum: Fixing WordPress
In reply to: 5.6 core-embed/youtube is now core/embedHello,
Our team is using the REST API to auto-generate posts with videos and prior to this change our code worked for videos. Since this update, we are now experiencing an issue with oembed not being triggered during post creation via the REST API.
Do you have any suggestions on how to ensure that oembed occurs for videos (using wp:embed block) in posts that are being created via the REST API.
Forum: Plugins
In reply to: [WordHerd Content Moover - Migrate to Gutenberg] Not freeHi @wordpressrun –
WordHerd offers website and content migration services. This plugin determines what editor a website is currently using and calculates how many pages and/or posts are using that editor. Our team can then assess the cost to migrate your site to Gutenberg.
Got it working, thanks!
Hi @britner, This clients current version is 5.1.1
Hi Ben,
We’re experiencing a similar issue. We have the same problem with the info box, and it’s happening with the advanced button block. We have tried to go to Settings > Kadence Blocks Controls per your instructions above, but this is also resulting in an error. All other blocks are working.
This is the first part of the error we are receiving for all issues listed:
TypeError: Cannot read property 'getSettings' of undefinedThank you!
Forum: Plugins
In reply to: [CMS Press] [Plugin: CMS Press] publish_post with custom post typesPerfect, that makes sense, thanks!