跳到内容

Simple youtube search include by gopsdepth

v1.0.0

gopsdepth · 2013年2月5日 上架

Simple youtube search include plug-in is a short-code plug-in that will help you add youtube video with search terms.

正在使用
10 以下
评分
暂无
累计下载
1,588
最近更新
2013年2月25日
需要 WordPress 3.5+已测试到 3.5.2

贡献者

截图

Place short-code following a screen shot.
Place short-code following a screen shot.
Youtube video will automatically show without indicating a url.
Youtube video will automatically show without indicating a url.
You can use static and none-static button to add short-code. If you select a text then click button, that text will become search-term automatically.
You can use static and none-static button to add short-code. If you select a text then click button, that text will become search-term automatically.

Overview

Simple youtube search include plug-in is a short-code plug-in that will help you add youtube video with search terms.

How to use

At Version 1.0.0, I have 2 ways you can choose.

  1. Simple to use, you just add this short-code [f2c_youtube_inc s=”search terms” static=”no”] *** ‘s’ attribute is required attribute.* *** ‘static=”no”‘ value will force plugin don’t update a youtube video on your post, that’s mean it will be get new one every time.

  2. Use F2C Youtube buttons to add short-code.

Attributes

s => search terms. Required. eg. s=”batman return”

static => indicate a static youtube video. Set “no” only for non-static youtube video. Default is ‘yes’. eg. static=”no”

output => indicate an output. “shortcode” is youtube video or “url” is link string. Default is ‘shortcode’. eg. output=”url”

How it works

The plug-in will get your search terms form “s” attribute and send them to youtube search page then it retrieves first video link in search list. After it get the link, it will create a wordpress youtube short-code so you can use wordpress youtube short-code attributes such as width, height, etc.

When your user see a content of post, plug-in will update your post with static youtube video embed tag.

Plums

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

导航

说明

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

© 2026 Plums