🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
WP Code Pre icon
Possivelmente abandonado Tested up to 5.8.20 #6 in Code Highlight

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.

Instalações ativas10+10+ nível
Downloads · 30d143▼ -5.3% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde23/100Em risco
Downloads de todos os tempos3KSince Sep 2017
Suporte resolvido—Sem tópicos recentes
RequerWP 4.0PHP 7.0+
Downloads · 7d31▼ -11.4% week over week
Nosso veredicto

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 suporte

Downloads diários

246Aug 31Oct 14Nov 28
Ontem5
Média diária (1y)4
Dia de pico114 de agosto de 2026
Últimos 12 meses1.3K

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where WP Code Pre stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
Code Highlight >100 2,293 Best Code Highlight plugins →
filter content >100 10,000 Best filter content plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.0100.0%

About WP Code Pre

Do Readme oficial · v1.0

Descriçã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

  1. Download the plugin
  2. Upload the wp-code-pre.zip folder to your site’s wp-content/plugins directory
  3. Activate the plugin in the WordPress Admin Panel
  4. 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

Registro de change completo em WordPress.org →

Capturas de tela

Code preview on blog post or page
Code preview on blog post or page
Typing code in text tab of WordPress Admin area when writing Post.
Typing code in text tab of WordPress Admin area when writing Post.
Convert block to html while editing to make modifications to existing source code display
Convert block to html while editing to make modifications to existing source code display

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.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

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

↑↓ mover↵ abrir