xkcd-shortcode

Plugin Banner

xkcd-shortcode

by Darshan Sawardekar

Download
Description

This plugin adds an [xkcd] shortcode tag to WordPress. You can use it to embed the XKCD webcomic into your posts and pages.

It takes a num attribute that specifies the number of the XKCD comic to embed. For Eg:- To embed the 100th comic use,

    [xkcd num='100'] 

When the num attribute is omitted the latest XKCD comic is shown instead.

    [xkcd] 
  1. Upload the xkcd-shortcode directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use [xkcd] shortcodes in your posts or pages.

Does it download the xkcd images?

No. The images are hotlinked to the XKCD website

0.8.0

  • Adds caching. Comics are now cached as transients.
  • Fixes version numbering

0.7

  • Fixes readme.

0.6

  • Fixes usage with scatter_deploy.

0.1

  • Initial Release
Back to top