As of April 2026, Syntax is a WordPress code plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.4K+ times in total. Requires WordPress 4.7.0+ and PHP false+. Available on WordPress.org since 2017. Last updated 8 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….
The Syntax WordPress plugin improves the process of inserting and displaying code examples within the WordPress editor.
Preserving the formatting of code within the WordPress editor can be a challenge. This is because WordPress filters content within the editor, which can change the content and/or formatting of the code. The Syntax plugin adds a button to the editor that allows code to be added in a way that preserves the syntax. This is done properly (without the use of shortcodes) so that even if you disable the Syntax plugin in the future, your code will still be wrapped in the semantically correct tags within your posts and pages.
The plugin works by saving each code example both within the editor and in a meta field created by the plugin. Whenever WordPress runs a filter with the pot…
| WordPress | 4.7.0+ requiredTested up to 4.7.33 |
| PHP | false+ required |
Updated the plugin description.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.