Fix the issue with displaying the markup under the post title. Replaced get_the_content with the_excerpt in the content-video.php template. Without the excerpt, the template will behave exactly like the content-gallery.php. User needs to add the excerpt for the post to add some description for the video. This does not affect the single post template, only the post preview (on pages like blog posts/archive/etc).
Fix issues with missing embeds in post previews. They are just not displayed. Modern embeds use blocks, so it requires some additional fixes in CSS to display video properly.
Before http://i.imgur.com/9h7yz6T.png
After http://i.imgur.com/9fVzNng.png
Fix issues with slick gallery in post previews. Caused by a missing slick library on the page.
Fix the issue with displaying the markup under the post title. Replaced
get_the_content
withthe_excerpt
in thecontent-video.php
template. Without the excerpt, the template will behave exactly like thecontent-gallery.php
. User needs to add the excerpt for the post to add some description for the video. This does not affect the single post template, only the post preview (on pages like blog posts/archive/etc).Fix issues with missing embeds in post previews. They are just not displayed. Modern embeds use blocks, so it requires some additional fixes in CSS to display video properly. Before http://i.imgur.com/9h7yz6T.png After http://i.imgur.com/9fVzNng.png
Fix issues with
slick
gallery in post previews. Caused by a missing slick library on the page.