Embed GitHub Gists into WordPress.
Define EMBED_GISTHUB_USERNAME and EMBED_GISTHUB_PASSWORD in wp-settings.php.
Yes. Use a unique bump value to force cache to update. For instance, if you have the following:
The cache can be broken by specifying a bump value:
[gist id=546764 bump=1]
To break the cache again later, change to a new unique bump value:
[gist id=546764 bump=2]
Yes. Specify a TTL (in seconds) like this:
[gist id=546764 ttl=3600]
<?php echo embed_github_gist(546764); ?>
Ues. You can use the
[gist id=546764 file=file.txt]
Requires: 2.8.6 or higher
Compatible up to: 3.5.2
Last Updated: 2012-12-13
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?