Coding Blocks

plugin banner

Easily create reusable and attractive code-snippets

Author:Simon Ugorji (profile at wordpress.org)
WordPress version required:
WordPress version tested:
Plugin version:1.1.0
Added to WordPress repository:26-07-2021
Last updated:17-09-2022
Rating, %:0
Rated by:0
Plugin URI:https://wordpress.org/plugins/coding-blocks
Total downloads:2 094
Active installs:100+
plugin download
Click to start download

PLEASE NOTE THAT THIS PLUGIN DOES NOT AND WILL NEVER EXECUTE ANY TYPE OF CODE ON YOUR WORDPRESS SITE!

This plugin uses Google Prettify which is an open-source syntax highlighting library.

This plugin relies on 3rd party services under the circumstances below;

  1. Syntax highlighting – This is the core library that will make your snippets to be formatted according to your chosen language.

  2. Color Themes – This is the color themes that can be used to change what your code snippets looks like

You can find the Terms of Use and privacy policy on the links above.

HOW TO USE

CREATE A NEW SNIPPET

  1. Head Over to the New Snippet page to create a New Code Snippet.
  2. On the page, add a title for the new snippet.
  3. Select the Language you’re working with.
  4. Type in the code in the code box and when you’re done, click on Preview.
  5. Click on Save to save your code snippet.

NOTE: YOUR CODE SNIPPETS ARE ENCODED AND STORED AS PLAIN TEXT TO PREVENT ITS EXECUTION

MANAGE CODE SNIPPETS

  1. Head Over to the All Snippets page to view existing code snippets.
  2. You can click on the Copy button to copy the shortcode for the snippet.
  3. You can click on the Edit button to edit a code snippet.
  4. You can click on the Delete button to delete a code snippet.

EDIT CODE SNIPPET

  1. Head Over to the All Snippets page to view existing code snippets.
  2. Click on the Edit button to redirect you to the edit page.
  3. On the Edit page, change the title for the snippet.
  4. Change the Language you’re working with.
  5. Modify the code in the code box and when you’re done, click on Update.

EMBED CODE SNIPPET

  1. Head Over to the All Snippets page to view existing code snippets.
  2. Click on the Copy button to copy the shortcode for the snippet.
  3. In any of your wordpress posts, place the copied shortcode & save the post.
  4. Preview the post to see the snippet embedded right where you want it.

Screenshots
FAQ
ChangeLog