Description
To get meta value in front-end, use get_post_meta()
with meta key is youtube_id
.
Example:
Print YouTube video ID:
ID, βyoutube_idβ, true);?>
Thumbnails:
<img src="http://img.youtube.com/vi/ID, βyoutube_idβ, true);?>/mqdefault.jpgβ alt=ββ />
Video player:
<iframe src="http://www.youtube.com/embed/ID, βyoutube_idβ, true); ?>β width=β588″ height=β331″ frameborder=β0″ allowfullscreen>
Installation
- Upload
youtube-metabox
to the/wp-content/plugins/
directory - Activate the plugin through the βPluginsβ menu in WordPress
Reviews
There are no reviews for this plugin.
Contributors & Developers
“YouTube metabox” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “YouTube metabox” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.