WP-Syntax WordPress Plugin
WP-Syntax provides clean syntax highlighting using GeSHi -- supporting a wide range of popular languages. It supports highlighting with or without line numbers and maintains formatting while copying snippets of code from the browser.
It avoids conflicts with other 3rd party plugins by running an early pre-filter and a late post-filter that substitutes and pulls the code snippets out first and then pushes them back in with highlighting at the end. The result is source code formatted and highlighted the way you intended.
Usage, Supported Languages, Styling Guidelines, and Release Notes are availabe in the Other Notes section.
Want to contribute? WP-Sytax can be found on Github. Fork and submit your pull requests today
Sites running WP-Syntax, click to open one
Plugins with a similar footprint
Ranked by how many sites run them — a quick way to compare alternatives.
Usage of WP-Syntax over time
June 2023 — July 2024Between June 2023 and July 2024 the number of sites running this plugin went from 1 455 to 1 004 — down 451 (-31%).
| Month | Sites | Change |
|---|---|---|
| July 2024 | 1 004 | -99 |
| June 2024 | 1 103 | -25 |
| May 2024 | 1 128 | +0 |
| April 2024 | 1 128 | -7 |
| March 2024 | 1 135 | -26 |
| February 2024 | 1 161 | -49 |
| January 2024 | 1 210 | -48 |
| December 2023 | 1 258 | +12 |
| November 2023 | 1 246 | -1 |
| October 2023 | 1 247 | -70 |
| September 2023 | 1 317 | -80 |
| August 2023 | 1 397 | -43 |
| July 2023 | 1 440 | -15 |
| June 2023 | 1 455 | — |
Themes used with WP-Syntax
Detected most often on sites that run this plugin.
| # | Theme |
|---|---|
| 1 | Twentytwelve |
| 2 | Twentyeleven |
| 3 | Twentyfifteen |
| 4 | Twentyten |
| 5 | Twentysixteen |
| 6 | Genesis |
| 7 | Twentyfourteen |
| 8 | Responsive |
| 9 | Twentyseventeen |
| 10 | Twentythirteen |
| 11 | Hueman |
| 12 | Suffusion |
| 13 | Enfold |
| 14 | Divi |
| 15 | Zbench |
| 16 | Sparkling |
| 17 | Dw-minion |
| 18 | Iconic-one |
| 19 | Inove |
| 20 | Lightword |
Sites running WP-Syntax
All sites in the collection100 examples from the collection. Open any site to see the theme and plugins we found on it.