Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Coding Blocks

Опис

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.

Скріншоти

  • This is the Screenshot of the page where you create a new snippet.
  • This is the Screenshot of the page, where you edit your snippets.
  • This is the Screenshot of a snippet in a Wordpress Post.
  • This is a Screenshot of the preview page, where you can preview themes before using them.

Встановлення

  1. Upload coding-blocks to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Head Over to Get Started to learn How to add your first code snippet.

Часті питання

How does the plugin work?

  1. Create a new code snippet
  2. Navigate to the list of code snippets
  3. Copy the shortcode of the snippet you need
  4. Paste it into your WordPress post Editor and save the post.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Coding Blocks” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Coding Blocks” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.1.0

  • Improved Plugin UI
  • Optimized plugin’s code base

1.0.6

  1. Added Copy function to snippet creation page
  2. Removed Error message that shows when you save an already existing record on plugin options
  3. Fixed a Bug with copying code snippets on mobile devices

1.0.5

  1. Fixed a bug with uninstalling the plugin.
  2. Improved Admin UI & Code snippet UI.
  3. Added new theme “pinky Night”.

1.0.4

  1. Admin UI & Snippet’s UI was improved
  2. Block sync was removed because snippets now have a better way to load

1.0.2

  1. It supports up to 44 Languages.
  2. It supports up to 34 Color Themes.
  3. We Added Settings Page. (More description in Changelog file).
  4. We Added Preview Page. (More description in Changelog file).
  5. We Removed Code Labels on code blocks (In re-development process).
  6. We Redesigned Admin UI.
  7. Block Sync Now Available (You can update all your code snippets with one tap to reflect your current plugin settings)

1.0.0

  1. It supports just 6 Languages.
  2. It has Just one default theme which is Sunburst Google prettify + night glory.
  3. A brief description of your code snippet is attached at the header section.
  4. A copy button is attached to each of your code snippet.