How to link gists to your website?

Fol­low these three sim­ple steps to include the gist in your website.

  • Cre­ate a gist on gist.github.com
  • Grab the {gist id} from the URL, and gist {file name}
  • In your word­press post, you can include the gist with fol­low­ing code

[ wpgist id="{gist id}" file="{file name}" ]

Note: Remove the extra space after open­ing parenthesis.


You may also like...