WP Code Pre
This simple plugin was created because of security concerns related to using PHP preg_replace directly. With transition to PHP7, it’s advised to use preg_replace_callback instead.
Considere uma alternativa
WP Code Pre shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 5 years ago, and scores 23/100 on our health check.
- Pequena base de usuários (10+ instalações ativas)
- Muito poucos comentários até agora
- Nenhuma atualização em 5 anos
- Testado apenas até WordPress 5.8 (mais recente é 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where WP Code Pre stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| Code Highlight | >100 |
| filter content | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About WP Code Pre
Do Readme oficial · v1.0Descrição
This simple plugin was created because of security concerns related to using PHP preg_replace directly. With transition to PHP7, it’s advised to use preg_replace_callback instead.
This plugin uses built-in supported feature of PHP-“highlight_string”. This plugin filters post content inside custom html block for
and helps display html and other source code.
To display source code in your posts, surround source code with pre tags. Plugin will filter for pre tags and add inline styles that may be modified using your wordpress theme’s css stylesheet.
For WordPress versions 5.0 and above, HTML pre tags can be used within html block or, classic block. Use the three dot menu to convert to html when there is a invalid content error while post editing.
Instalação
- Download the plugin
- Upload the wp-code-pre.zip folder to your site’s wp-content/plugins directory
- Activate the plugin in the WordPress Admin Panel
- Surround source code with
<pre> </pre>tags, when writing in blog posts using Gutenberg with classic block and “Edit as HTML” or, html block
Log de Changes
1.0
- First version of the plugin.
1.0.1
- Updated readme to reflect updates to version 5.0
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best WP Code Pre alternatives
All Code Highlight plugins →FAQ
WP Code Pre: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is WP Code Pre free?
Yes. WP Code Pre is free to download and use from the official WordPress.org plugin directory.
Is WP Code Pre safe to use in 2026?
WP Code Pre shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 5 years ago, and scores 23/100 on our health check.
How many websites use WP Code Pre?
WP Code Pre is active on 10+ WordPress websites and has been downloaded 2,974 times since it launched in September 2017. It was downloaded 143 times in the last 30 days.
Does WP Code Pre work with WordPress 7.1?
WP Code Pre is officially tested up to WordPress 5.8.20, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does WP Code Pre need?
WP Code Pre requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WP Code Pre last updated?
The latest version, 1.0, was released on August 8, 2021 (5 years ago).
Who makes WP Code Pre?
WP Code Pre is developed and maintained by zeshanb.
What are the best alternatives to WP Code Pre?
The most popular alternatives to WP Code Pre are Code Block (200+ installs), WP Code Highlight (200+ installs) and Syntax Highlighter MT (100+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito



