VisualComposer / visual-composer-starter

Visual Composer Starter theme for WordPress designed to be a perfect companion for a simple and good looking website or blog.
https://visualcomposer.com/visual-composer-starter-theme/
GNU General Public License v2.0
134 stars 61 forks source link

Fix issues with post formats #319

Closed dmytro-kovalov closed 2 years ago

dmytro-kovalov commented 2 years ago
  1. 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).

  2. 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

  3. Fix issues with slick gallery in post previews. Caused by a missing slick library on the page.