Mô tả
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>
Cài đặt
- Upload
youtube-metabox
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Đánh giá
There are no reviews for this plugin.
Người đóng góp & Lập trình viên
“YouTube metabox” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “YouTube metabox” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.