這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Gfycat

外掛說明

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"]

螢幕擷圖

  • Copy and paste the gfycat ID in your post or page.
  • Highlight the ID.
  • Click on the wp-gfycat button to insert the shortcode.
  • That's it! Preview the draft or publish your post to see the results.

安裝方式

Automatic Installation

  1. Download the current version of the WP Gfycat plugin.
  2. Go to your WordPress Admin Panel and click on Plugins >> Add New >> Upload
  3. Choose the downloaded package and Install and Activate the WP Gfycat plugin.

Manual Installation

  1. Download the current version of the WP Gfycat plugin.
  2. Unzip the fileand upload the wp-gfycat folder into the /wp-content/plugins directory of your WordPress installation.
  3. Go to your Admin panel and activate the WP Gfycat plugin.

常見問題集

How do I embed gfycats in my posts/pages/templates?
  1. 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)
  2. Select the text you just pasted and click the WP Gfycat button in the visual editor.
  3. 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"]'); ?>

使用者評論

2018 年 1 月 31 日
great plugin for the easy use of gifs from gfycat, wp gif player and gif animation don't work for me so this is a life-saver. Although I would really love it if the plugin had a MouseOver feature... hoping for the next release.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Gfycat〉的開發相關工作。

參與者

將〈WP Gfycat〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.