CodeSnips Wordpress Plugin - Rating, Reviews, Demo & Download

CodeSnips Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Own your snippets! No longer require the use of a cloud service to host your snippets for you when you can host them right on your own WordPress site! codeSnips allows you to quickly add and embed code snippets to your website with syntax highlighting available for 124 languages! codeSnips uses custom post types where you create a new snippet post, select the programming language, enter the code snippet and publish the post. You then can either access the snippet post directly for sharing, or embed it into another post using the shortcode.

View all of your snippets in an archived list, or even on the snippet page itself – without embedding into a new post. You can access all your snippets using a customizable pretty URL permalink. For example: http://yoursite.com/snippets

You can also view the raw plain text snippet directly, which is ideal for copy & pasting.

Features:

  • Quickly add new snippets with syntax highlighting available in 124 programming languages.
  • Plain text snippets are supported.
  • Syntax highlighting changes dynamically if you select a new code language from the dropdown while editing.
  • Embed the snippets using a shortcode that has many options.
  • You can embed multiple snippets per post.
  • Access a snippet post directly via URL.
  • Access a plain text raw view of the snippet directly via URL. Ideal for copying snippets.
  • Set a description for the snippet post that will display right on the snippet post page.
  • Change the URL slug for the list of snippets to suit your site.
  • Work with a particular code language a lot? Select a default snippet code language.
  • Each snippet also has a filename field that you can use as a reference for that snippet.
  • Uninstalling the plugin will clean up all data it has stored in the WordPress database.

The default list of snippets will display as a post archive list using your theme. You can customize the way this list looks by simply adding a file in your theme called “archive-snippets.php”. Likewise, if you add a theme file called “single-snippets.php” it allows you to customize the way the direct snippet pageis rendered. There are examples located included with the plugin under the “templates” folder.

Screenshots

  1. Snippets embedded in a post.

    Snippets embedded in a post.

  2. List of all snippets in an archive list. The list can be customized to your theme.

    List of all snippets in an archive list. The list can be customized to your theme.

  3. The direct snippet post itself. Not embedded.

    The direct snippet post itself. Not embedded.

  4. List of all snippets in wp-admin.

    List of all snippets in wp-admin.

  5. Editing an existing snippet post type.

    Editing an existing snippet post type.

  6. General settings page for codeSnips.

    General settings page for codeSnips.

  7. Editor specific settings for the Ace Editor.

    Editor specific settings for the Ace Editor.

  8. Usage tips to help out.

    Usage tips to help out.


Reviews & Comments