I suspect this is a duplicate of an earlier support topic, https://wordpress.org/support/topic/gallery-image-video-audio-post-formats-not-working/ but the work around of the URL followed by the <!– more–> doesn’t work and if since theme is labeled as block editor/Gutenburg friendly I’d initially assumed a YouTube or video block might work.
I’m using the block editor, WordPress 5.2.3 if I create a post with a title, YouTube video block and a paragraph block, then choose the post format Video and publish – the frontend page doesn’t show any content and in debug mode outputs:
Notice: Undefined variable: content_parts in /var/www/html/wp-content/themes/baskerville/single.php on line 151
On the archive pages the title and paragraph (maybe as an auto excerpt?) display but the YouTube video block does not.
It’s a very cleverly styled theme – I’ll work around by just using another post type but I thought I’d report the bug.
- The topic ‘PHP Errors when using post format video’ is closed to new replies.