Title: OFG Code Editor
Author: Hamed
Published: <strong>June 25, 2026</strong>
Last modified: June 25, 2026

---

Search plugins

![](https://ps.w.org/ofg-code-editor/assets/banner-772x250.jpg?rev=3586423)

![](https://ps.w.org/ofg-code-editor/assets/icon-256x256.png?rev=3586423)

# OFG Code Editor

 By [Hamed](https://profiles.wordpress.org/weblogbaz/)

[Download](https://downloads.wordpress.org/plugin/ofg-code-editor.1.0.3.zip)

 * [Details](https://wordpress.org/plugins/ofg-code-editor/#description)
 * [Reviews](https://wordpress.org/plugins/ofg-code-editor/#reviews)
 *  [Installation](https://wordpress.org/plugins/ofg-code-editor/#installation)
 * [Development](https://wordpress.org/plugins/ofg-code-editor/#developers)

 [Support](https://wordpress.org/support/plugin/ofg-code-editor/)

## Description

OFG Code Editor provides a consistent way to publish code snippets in WordPress.

Features:

 * Gutenberg block for formatted code output.
 * Classic editor button for inserting the shortcode template.
 * Shortcode support via `[ofgcodeeditor_code]`.
 * Copy button and line numbers on the frontend.
 * Responsive code box layout with light and dark friendly styling.

## Screenshots

[⌊Frontend code block with line numbers and copy support.⌉⌊Frontend code block with
line numbers and copy support.⌉[

Frontend code block with line numbers and copy support.

[⌊Gutenberg editor preview and language selector.⌉⌊Gutenberg editor preview and 
language selector.⌉[

Gutenberg editor preview and language selector.

[[

[[

[[

[[

[[

## Blocks

This plugin provides 1 block.

 *   OFG Code Editor

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/ofg-code-editor` directory,
    or install the plugin through the WordPress plugins screen.
 2. Activate the plugin through the `Plugins` screen in WordPress.
 3. Insert the `OFG Code Editor` block in Gutenberg or use the classic editor helper
    button.

## FAQ

### Which shortcode should I use?

Use `[ofgcodeeditor_code language="html"]...[/ofgcodeeditor_code]`.

### Can I change the visible label?

The plugin uses a fixed header label: OFG Code Editor Plugin.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“OFG Code Editor” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Hamed ](https://profiles.wordpress.org/weblogbaz/)

[Translate “OFG Code Editor” into your language.](https://translate.wordpress.org/projects/wp-plugins/ofg-code-editor)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ofg-code-editor/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/ofg-code-editor/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ofg-code-editor/)
by [RSS](https://plugins.trac.wordpress.org/log/ofg-code-editor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.3

 * Updated plugin tested version metadata.

#### 1.0.2

 * Updated plugin metadata for WordPress.org review.
 * Removed the legacy generic shortcode alias.
 * Removed the unnecessary wrapper around the plugin class.

#### 1.0.1

 * Removed manual textdomain loading.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.3**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [code](https://wordpress.org/plugins/tags/code/)[editor](https://wordpress.org/plugins/tags/editor/)
   [gutenberg](https://wordpress.org/plugins/tags/gutenberg/)[shortcode](https://wordpress.org/plugins/tags/shortcode/)
   [syntax](https://wordpress.org/plugins/tags/syntax/)
 *  [Advanced View](https://wordpress.org/plugins/ofg-code-editor/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/ofg-code-editor/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ofg-code-editor/reviews/)

## Contributors

 *   [ Hamed ](https://profiles.wordpress.org/weblogbaz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ofg-code-editor/)