This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Snipplr Snippets

Description

An adaption and update of Tyler Halls original Snipplr WordPress plugin.

Allows you to embed snippets directly into your WordPress posts using the snippet ID.

Features:

  • Code highlighting using GeSHi.
  • Sidebar widget to show your latest code snippets.
  • Easily embed snippets into the page using [snippet id=##]
  • Customisable layout using CSS. Can disable default plug-in CSS from the admin settings
  • Uninstall option in the plugin settings page.

  • Sign up for a Snipplr account here: http://snipplr.com/

  • Support

TODO:
Double check GeSHi doesn’t cause issues with other code colourer plugins.

Screenshots

  • Admin area screenshot
  • Embedded code snippet
  • Sidebar widget

Installation

  1. Download the zip file and extract. Upload all files to the ‘/wp-content/plugins/’. Make sure you upload in the correct.
    folder structure e.g. /wp-content/plugins/snipplr-snippets/.
  2. Activate the Snipplr Snippets plug-in through the ‘Plugins’ menu in WordPress.
  3. The plug-in configeration panel is under settings -> Snipplr Snippets.
  4. Add the sidebar widget via the appearance menu.
  5. Embed a snippet into a post using [snippet id=##].

FAQ

No Snippets are populated in the sidebar widget

Double check your API key on the settings page. You can get an API key from the settings menu of your Snipplr account.

I get a warning from CodeColourer agout GeSHi

This is due to both plugins using the same library for syntax highlighting. I’ve tested on my own site and have had no issues as of yet, but please let me know if you do and I’ll look into a fix.

Contributors & Developers

“Snipplr Snippets” is open source software. The following people have contributed to this plugin.

Changelog

1.0.1

  • Initital version of the Snipplr Snippets plug-in released.
  • Update / rewrite of the plug-in from 2006.
  • Added the latest version of GeSHi.
  • Added a sidebar widget.