Title: WP Code Pre
Author: zeshanb
Published: <strong>Ọwẹ́wẹ̀  19, 2017</strong>
Last modified: Ògún  8, 2021

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/wp-code-pre/assets/icon-256x256.png?rev=1732209)

# WP Code Pre

 Láti ọwọ́ [zeshanb](https://profiles.wordpress.org/zeshanb/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/wp-code-pre.1.0.1.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/wp-code-pre/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/wp-code-pre/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/wp-code-pre/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/wp-code-pre/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/wp-code-pre/)

## Àpèjúwe

This simple plugin was created because of security concerns related to using PHP
preg_replace directly. With transition to PHP7, itÌtumọ̀ Yorùbá: ’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Ìtumọ̀ Yorùbá: ’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.

## Àwọn àwòrán ìbòjú

 * [[
 * Code preview on blog post or page
 * [[
 * 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

## Ìgbéwọlẹ̀

 1. Download the plugin
 2. Upload the wp-code-pre.zip folder to your siteÌtumọ̀ Yorùbá: ’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

## FAQ

Why there arenÌtumọ̀ Yorùbá: ’t any options to modify in admin?
 This plugin simply
filters for pre tags.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“WP Code Pre” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa 
sí plugin yìí.

Àwọn Olùkópa

 *   [ zeshanb ](https://profiles.wordpress.org/zeshanb/)

[Túmọ̀ “WP Code Pre” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/wp-code-pre)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/wp-code-pre/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/wp-code-pre/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/wp-code-pre/) nípasẹ̀
[RSS](https://plugins.trac.wordpress.org/log/wp-code-pre/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0

 * First version of the plugin.

#### 1.0.1

 * Updated readme to reflect updates to version 5.0

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 5 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 4.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **5.8.13**
 *  Ẹ̀yà PHP ** 7.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/wp-code-pre/)
 * Àwọn àmì
 * [Code Highlight](https://yor.wordpress.org/plugins/tags/code-highlight/)[filter content](https://yor.wordpress.org/plugins/tags/filter-content/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/wp-code-pre/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/wp-code-pre/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-code-pre/reviews/)

## Àwọn Olùkópa

 *   [ zeshanb ](https://profiles.wordpress.org/zeshanb/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/wp-code-pre/)