Embed GitHub Gists into WordPress.
Yes. Use a unique bump value to force cache to update. For instance, if you have the following:
[gist id=546764]
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]
Yes.
<?php echo embed_github_gist(546764); ?>
Ues. You can use the file parameter:
[gist id=546764 file=file.txt]
Requires: 2.8.6 or higher
Compatible up to: 3.1.4
Last Updated: 2011-5-9
Downloads: 1,924
0 of 1 support threads in the last three weeks have been resolved.
Got something to say? Need help?