BACK TO DIRECTORY

WP Gist Embed

by James Robinson

0.0
(0 ratings)

A simple plugin that enables a shortcode for embedding Gist code in WordPress.

The shortcode has two attributes, the Gist source URL and, optionally, the height of the embedded code window.

[gist src="" height=""]

The Gist src attribute must be the embed URL, for example: https://gist.github.com/imaginarymedia/316a29936e5e7d709665.js

The Gist height attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc. It will apply a max-height to the gist.

The plugin also creates UI buttons for both the visual and text editors.

If you have suggestions for improvements, please contact us. via the plugin support page and if you find this useful, please review the plugin.

Developed by James Robinson.

** TO DO **
* Validate the gist src URL

Plugin Details

Active Installs
10
Total Downloads
1,652
Version
0.2
Requires WP
3.0.1
Requires PHP
Tested Up To
4.8.30
Added
2015-01-11
Last Updated
2017-06-19 9:43pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0