🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
WP-SynHighlight icon
Peut-être abandonné Tested up to 4.4.34 #48 in code

WP-SynHighlight

Plugin provides syntax highlighting for about 116 programming languages via Geshi.

Installations actives100+100+ niveaux
Téléchargements · 30D147▲ +58.1% vs prev. 30d
Évaluation4.6/55 avis
Score de santé35/100En danger
Téléchargements de tous les temps33.7KSince Dec 2008
Support résolu—Aucun fil de discussion récent
A besoin deWP 2.8Php tout
Téléchargements · 7j43▲ +4.9% week over week
Notre verdict

Envisager une alternative

WP-SynHighlight shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 4.6/5 and was last updated 11 years ago, and scores 35/100 on our health check.

  • Petite base d'utilisateurs (plus de 100 installations actives)
  • Pas de mise à jour dans 10 ans
  • Only tested up to WordPress 4.4 (latest is 7.1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4914Aug 31Oct 14Nov 28
Hier3
Moyenne quotidienne (1 ans)3
Jour de pointe1914 Septembre 2026
12 Derniers mois1K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where WP-SynHighlight stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
code >100 10,000 Meilleurs plugins de code →
mise en forme >100 3,401 Meilleurs plugins de formatage →
Highlight >100 3,418 Best Highlight plugins →
syntax >100 2,336 Best syntax plugins →
syntax highlight >100 314 Best syntax highlight plugins →

Adoption de version

Part de sites actifs par version.

  • 2.4100.0%

Répartition des notes

★★★★★★★★★★ 4.6 from 5 reviews

  • 5★60.0%
  • 4★40.0%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WP-SynHighlight

À partir du Lisezmoi officiel · v2.4.3

Description

Plugin provides syntax highlighting in posts and comments.

  • Full GUI mode. No need to switch to code mode and back like in some other plugins
  • GUI editor with realtime syntax highligting support integrated (can be disable in settings)
  • GUI button to help with highlighting options. No need to memorize them!
  • Blog-wide default settings for code highlighting. Now you can change the look of all your posts at once!
  • Many options to customize code highlighting (almost full Geshi set)

If you like this plugin, you can make a donation with WebMoney (R704473788938, R704473788938), Yandex.Money (41001122895969), MoneyBookers (FractalizeR@yandex.ru)

Usage

Just select all your source code in the editor and use editor button (preferred method) or surround your code directly in WYSIWYG editor with a [codesyntax] [/codesyntax] tag like this

[codesyntax lang=”php”]

<?php 
//Replacing tags
$find [] = '/<br\s*\\?>/i';
$replace [] = "\r\n";
$content = preg_replace($find, $replace, $content);
?>

[/codesyntax]

[filesyntax filename=”test.phps” lang=”php”]

The tag in the last example should be enabled in settings. See it’s description below also.

and you will get wonderful geshi formatting. Format all your source code with Preformatted style to preserve spaces.

If you need to change settings of already formatted block – select it all and press GUI editor button again. Plugin will recognize all settings you used.

Plugin recognizes several popular geshi options to render highlighting:

filename

The relative filename of the file inside a folder, allowed for [filesyntax] tag to take the source for highlighting from. Works only in [filesyntax] tag

lang

The programming language you want to be your source highlighted in. [codesyntax lang=”java”]My java code goes here…[/codesyntax]
The name of the language should match the name of the highlighter file. For the list of all supported highlighters please look at /wp-content/plugins/wp-synhighlighter/geshi/geshi directory of your WordPress installation after installing this plugin. A list of currently support languages:

abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, basic4gl, blitzbasic, bnf, boo, c, caddcl, cadlisp, cfdg, cfm, cil, cobol, cpp-qt, cpp, csharp, css, c_mac, d, delphi, diff, div, dos, dot, eiffel, email, fortran, freebasic, genero, gettext, glsl, gml, gnuplot, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, list.txt, lotusformulas, lotusscript, lua, m68k, make, matlab, mirc, mpasm, mxml, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle11, oracle8, pascal, per, perl, php-brief, php, pic16, plsql, povray, powershell, progress, prolog, python, qbasic, rails, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, visualfoxpro, winbatch, xml, xorg_conf, xpp, z80

lines

Do you want line numbers to be visible? Possible parameter values are:

  • no – no line numbers. [codesyntax lang=”java” lines=”no”]My java code[/codesyntax]
  • normal = normal line numbering
  • fancy – fancy line numbering
    This parameter defaults to fancy

lines_start

You can provide this parameter if you want your line numbering to start with a custom value. [codesyntax lang=”java” lines=”fancy” lines_start=”1000″]My java code[/codesyntax]. Please don’t forget to enclose a value into quotes exactly like in example
By default numbering starts with 1.

container

You can select container, that your code will be wrapped in

  • pre
  • div
  • pre_valid
  • pre_table
  • none

By default pre is used. [codesyntax lang=”java” container=”pre”]My java code[/codesyntax]
More information can be found in Geshi documentation

capitalize

Do you wish your keywords to be automatically capitalized or decapitalized?

  • no – don’t change anything
  • upper – convert all keywords into uppercase
  • lower – convert all keywords into lowercase
    By default no change is assumed
    [codesyntax lang=”java” capitalize=”upper” lines_start=”1000″]

tab_width

If you want to change tab width, use this parameter: [codesyntax lang=”java” tab_width=”10″]

strict

This setting enables or disables strict mode for formatting complex pieces of data. Please see Geshi documentation to find out more on the subject

title (new in 0.91)

This attribute sets the header of the collapsable code block (“Code” by default)

bookmarkname (new in 0.91)

The name of bookmark (Named anchor tag <a name="bookmarkname" />) you want to refer to this codeblock. By default it is
codesyntaxX, where X is 1 for first code block on the page, 2 for second etc. You can refer to your codeblocks using hyperlinks
< a href=”#codesyntax5″>Link to fifth code block on the page or, if you used
[codesyntax bookmarkname=”fifthcode”] lang=”php” bbcode, you can then refer to this codeblock as
< a href=”#fifthcode”>Link to fifth code block on the page

blockstate (new in 0.97)
Sets initial code block state when the page is shown to user. It can be default, expanded or collapsed. Default corresponds to expanded currently.

highlight_lines (new in 1.1)
Provides a comma-separated list of lines, that should be specially highlighted in the code

doclinks (new in 2.3)
Enables or disables generation of documentation links for keywords

Installation

Cette section décrit comment installer le plugin et le faire fonctionner.

  1. Unpack plugin archive into /wp-content/plugins/ directory
  2. Activez le plugin via le menu « Plugins » dans WordPress

The below actions are not needed after installation. Just some customization.

  1. You can update Geshi if you like by downloading a new version from it’s site and overwritting files in geshi folder of plugin. Geshi is untouched by me 😉
  2. You can customize collapsable code block by changing wp-synhighlighter.css file in the plugin folder
  3. You can change the template of the collapsable code block by editing template.php file

Journal de modifications

No need to care about upgrade so far ;) Just overwrite old files with new ones or use WordPress plugin autoupgrade feature

2.4 (07.01.2015)

  • Tested with WordPress 4.4.1

2.3.1 (22.02.2014)

  • Tested with WordPress 3.8.1

2.3 (11.02.2011)

  • Added [filesytax] tag, that allows to insert into post files, highlighted from filesystem. Related security settings are added to options. The use of this tag should be enabled in options too.
  • Due to security settings added to options, only blog admin is now allowed to change them
  • Added doclinks_off settings option which enables you to control the generation of documentation URLs for keywords by default
  • Added doclinks option to [codesyntax] and [filesyntax] tags to control the generation of documentation URLs per each source piece
  • Several bugfixes
  • User satisfactory texts are now displayed after some time of using plugin in settings
  • Bugfix: comments are now highlighted correctly even when using external CSS styles for highlighting

2.2.7 (28.09.2010)

  • Critical bug fix (not all blogs affected though): slashes in theme folder name do not duplicate now

2.2.6 (24.09.2010)

  • wp-content is now movable/renameable. Just don’t forget to change theme path in WP-SynHighlight options if even you left it on defaults. For more details on the operation see Codex

2.2.5 (22.09.2010)

  • GUI Mode editor javascript bug fixed
  • Comments display fixed, tag eliminated. Will see, how it will go

Journal des modifications complet sur WordPress.org →

Captures d'écran

GUI Mode Editor button
GUI Mode Editor button
When you press button, you see code formatting settings
When you press button, you see code formatting settings
and you can edit code in-place with realtime syntax highlighting
and you can edit code in-place with realtime syntax highlighting
The result of pasting code in GUI Mode Editor button
The result of pasting code in GUI Mode Editor button

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best WP-SynHighlight alternatives

Tous les plugins de code →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 WPCode – Insérer des en-têtes et des pieds de page + extraits de code personnalisés – WordPress Gestionnaire de code Wpcode Ajoutez facilement des extraits de code dans WordPress. Insérez des scripts d'en-tête et de pied de page, ajoutez du code PHP… de Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) 3 semaines plus tôt 94
2 Extraits de code Extraits de code Gérez le code WordPress personnalisé dans un seul tableau de bord. Créez des extraits de PHP et HTML, prévisualisez le code… par codes d'extraits de pro 1M+ ★★★★★★★★★★ 4.7 (510) il y a 4 jours 93
3 Code de la tête et du pied de page Code de la tête et du pied de page Ajoutez un code personnalisé à l'échelle du site, de la catégorie et de l'article avant la clôture et… Par Aleksandar Urošević 100K+ ★★★★★★★★★★ 5 (51) Il y a 3 mois 77
4 Plugin CSS personnalisé simple Plugin CSS personnalisé simple Ajoutez un CSS personnalisé à votre site WordPress sans aucun problème. de John Regan 100K+ ★★★★★★★★★★ 4.7 (159) Il y a 2 ans 51
5 Shortcoder — Créez des shortcodes pour tout Shortcoder — Créez des shortcodes pour tout Créez facilement des "shortcodes" personnalisés pour les extraits de code HTML, JavaScript, CSS et utilisez les… par vaakash 100K+ ★★★★★★★★★★ 4.9 (227) Il y a 3 mois 77
6 Scripts n Styles Scripts n Styles Ce plugin permet aux utilisateurs administrateurs d'ajouter individuellement du HTML, du CSS personnalisé, des classes et de JavaScript… Par soft 30K+ ★★★★★★★★★★ 4.4 (30) Il y a 3 ans 45
7 SyntaxeHighlighter évolué SyntaxeHighlighter évolué Publiez facilement le code mis en évidence par la syntaxe sur votre site sans avoir à modifier le code du tout… par Alex Mills 20K+ ★★★★★★★★★★ 4.3 (86) il y a 5 jours 73
8 Code d'intégration Code d'intégration Code Embed offre un moyen très simple et efficace d'intégrer du code (JavaScript, CSS et HTML)… par David Artiss 10K+ ★★★★★★★★★★ 4.4 (45) il y a 6 jours 87
9 Advance HTML personnalisé - Affichez le code en direct, partagez des extraits, intégrez du code et stylisez-les à votre façon. Avancer le code HTML personnalisé Advance HTML personnalisé vous permet d'écrire et d'afficher des extraits de code HTML, CSS, PHP et autres… par BPlugins 10K+ ★★★★★★★★★★ 2.5 (4) Il y a 2 semaines 68
10 Mise en évidence du bloc de code Mise en évidence du bloc de code Ajoutez un bloc de code avec la mise en évidence de la syntaxe à l'aide de Prism.js. (Disponible pour Gutenberg et… par Loos 10K+ ★★★★★★★★★★ 4.5 (20) il y a 5 mois 62

FAQ

WP-SynHighlight: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is WP-SynHighlight free?

Yes. WP-SynHighlight is free to download and use from the official WordPress.org plugin directory.

Is WP-SynHighlight safe to use in 2026?

WP-SynHighlight shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 4.6/5 and was last updated 11 years ago, and scores 35/100 on our health check.

How many websites use WP-SynHighlight?

WP-SynHighlight is active on 100+ WordPress websites and has been downloaded 33,701 times since it launched in December 2008. It was downloaded 147 times in the last 30 days.

Does WP-SynHighlight work with WordPress 7.1?

WP-SynHighlight is officially tested up to WordPress 4.4.34, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was WP-SynHighlight last updated?

The latest version, 2.4.3, was released on January 11, 2016 (11 years ago).

Who makes WP-SynHighlight?

WP-SynHighlight is developed and maintained by FractalizeR.

What are the best alternatives to WP-SynHighlight?

The most popular alternatives to WP-SynHighlight are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir