This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



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.



  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


There are no reviews for this plugin.

Contributors & Developers

“xkcd-shortcode” is open source software. The following people have contributed to this plugin.

Translate “xkcd-shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



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


  • Fixes readme.


  • Fixes usage with scatter_deploy.


  • Initial Release