跳到内容

Replace Thumbnail with oEmbed

v1.2.5

Palasthotel GmbH · 2017年4月6日 上架

Replaces the thumbnail image with the oEmbed element from the first line of the content.

正在使用
10 以下
评分
暂无
累计下载
1,397
最近更新
2019年3月3日
需要 WordPress 4.0+已测试到 5.1.29

ATTENTION for WP Version 5+: This plugin does not work with Gutenberg (no problems with Classic Editor plugin though)! Gutenberg brings its own HTML structure for oEmbed elements, which is quite difficult to target.

This plugin checks, if the first line of the content is a valid oEmbed URL. If that is the case, it replaces the thumbnail image with the oEmbed element (e. g. with a YouTube video). Now you don’t have to care too much about a thumbnail image, since instead you would see the video or any other oEmbed content. You can even e. g. watch videos on your blogs front page without opening the post.

Works for all WordPress contents, which have a thumbnail set and are not password protected.

The active WordPress Theme must use the_post_thumbnail() or get_the_post_thumbnail() functions for this to work!

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums