Opis
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>
Slike ekrana
Instalacija
- Upload
youtube-metabox
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Recenzije
Nema recenzija za ovaj dodatak.
Saradnici i programeri
“YouTube metabox” is open source software. The following people have contributed to this plugin.
DoprinositeljiPrevedi “YouTube metabox” na vaš jezik.
Zainteresirani za razvoj?
Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.