Mô tả
A simple shortcode to add your gfycat videos into your website. This plugin will enable you to use shortcodes to insert your gfycat videos from gfycat.com. Based on gfycat.js, an embed script to generate gfycat embeds on 3rd party websites by gfycat.com.
WP Gfycat options
data_id
: the gfycat id (required)
Basic example
Add Gfycat in your post, page or widget:
[gfycat data_id="BestYellowishElephantseal"]
Ảnh màn hình
Cài đặt
Automatic Installation
- Download the current version of the WP Gfycat plugin.
- Go to your WordPress Admin Panel and click on Plugins >> Add New >> Upload
- Choose the downloaded package and Install and Activate the WP Gfycat plugin.
Manual Installation
- Download the current version of the WP Gfycat plugin.
- Unzip the fileand upload the wp-gfycat folder into the /wp-content/plugins directory of your WordPress installation.
- Go to your Admin panel and activate the WP Gfycat plugin.
Hỏi đáp
- How do I embed gfycats in my posts/pages/templates?
-
- Copy and paste the ID of a gfycat video anywhere in your posts or pages. (The ID is the part after http://gfycat.com/ in the URL. E.g. MelodicShadowyChinchilla in http://gfycat.com/MelodicShadowyChinchilla)
- Select the text you just pasted and click the WP Gfycat button in the visual editor.
- That’s it! Save your post or preview it.
You can enter manually the
[gfycat]
shortcode anywhere in your posts, pages or widgets:[gfycat data_id="BestYellowishElephantseal"]
You can also display the gfycats outside your posts or pages using
do_shortcode
:<?php echo do_shortcode('[gfycat data_id="BestYellowishElephantseal"]'); ?>
Đánh giá
Người đóng góp & Lập trình viên
“WP Gfycat” 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 “WP Gfycat” 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.
Nhật ký thay đổi
0.9.3
- Switched to new API endpoint.
- Now uses iframes for displaying Gfys.
0.9.2
- Now you can insert the shortcode in your widgets.
0.9.1
- Added a wp-gfycat button to the TinyMCE editor.
0.9
- Initial release.