Title: Ignore Code
Author: mattsaul
Published: <strong>19 augusts, 2016</strong>
Last modified: 2 novembris, 2017

---

Meklēt spraudņus

![](https://ps.w.org/ignore-code/assets/banner-772x250.jpg?rev=1478864)

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

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

# Ignore Code

 Autors [mattsaul](https://profiles.wordpress.org/mattsaul/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/ignore-code.1.0.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/ignore-code/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/ignore-code/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/ignore-code/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/ignore-code/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/ignore-code/)

## Apraksts

**[ignore_code]** shortcode.
 This version also supports the [insert_php] and <?
php tags, though for the PHP tag you will have to start the first line with <?php//
> With latter two codes you will have to separately install plugins to get the dynamic
PHP insertion functionality.

## Ekrānuzņēmumi

[⌊This is some code between the ignore_code shortcode⌉⌊This is some code between
the ignore_code shortcode⌉[

This is some code between the ignore_code shortcode

## Uzstādīšana

Installation is easy.

 1. Upload the plugin files to the `/wp-content/plugins/ignore-code` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. There are no settings at this time but you can modify the source code to make it
    support more shortcodes.

## BUJ

  Installation Instructions

Installation is easy.

 1. Upload the plugin files to the `/wp-content/plugins/ignore-code` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. There are no settings at this time but you can modify the source code to make it
    support more shortcodes.

  Does this work with other plugins that call tiny_mce_before_init

I tested it along side TinyMCE Advanced and they both seemed to work. However calling
this in functions.php
 section of your theme may override the plugin’s functions.

  It’s not working on long pieces of code

This is the first version so it may not work with extremely large sections of code.

  My code is still coming out wrong after I update the post

Ignore Code only stops code from being modified on the client side in the visual
editor. It does not do anything
 on the server side. For that you need to do something
like remove_filter(‘the_content’, ‘wpautop’);

  My code is not showing up in the visual editor anymore

That’s the down side of this plugin, it causes the visual editor to ignore the code
entirely so it won’t be
 represented as anything on there.

  My CSS is still getting mangled

You can use this plugin in conjunction with Preserved HTML Editor Markup Plus to
work with even more code. However
 read that plugin’s documentation closely as installing
it can modify the way your website looks.

  It killed my website!

Because this is the first version, it is highly recommended you have FTP and database
access to your website in case
 you need to uninstall this plugin manually if it
crashed your website. This precaution is a good one to take for every plugin.

## Atsauksmes

![](https://secure.gravatar.com/avatar/bf66c82fc396e01e3b384b8bac1143a6a357f7ace0307749a2d76b49d1b447dd?
s=60&d=retro&r=g)

### 󠀁[Nice idea but does not work](https://wordpress.org/support/topic/nice-idea-but-does-not-work-2/)󠁿

 [Ron Fredericks](https://profiles.wordpress.org/ronf/) 8 novembris, 2022

I am using WordPress 6.1. My shortcodes are not ignored within the block editor 
with this plugin.

![](https://secure.gravatar.com/avatar/0388039d4468a9036b90060e5b019db266fa061c537d6bc3c4a1f64b6decece7?
s=60&d=retro&r=g)

### 󠀁[Just what I needed](https://wordpress.org/support/topic/just-what-i-needed-753/)󠁿

 [avfadagio](https://profiles.wordpress.org/avfadagio/) 27 jūnijs, 2018

This worked really well for me to preserve a HTML button I needed to insert. The
downside is that anything between the codes don’t show up in the visual editor, 
but for single buttons that is not a big deal for me. I see it hasn’t been tested
with latest versions of WP. Will this be updated? It is well worth it.

![](https://secure.gravatar.com/avatar/4c6225a8134f8b79aa2fa349cc955a146f5dc1e8e745f1716b108b235f9ed797?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-11914/)󠁿

 [rish30990](https://profiles.wordpress.org/rish30990/) 25 janvāris, 2017

Some of my button was messing up when I switch to visual tab but with this plugin
my issue got resolved. Good job 🙂

 [ Lasīt 3 atsauksmes ](https://wordpress.org/support/plugin/ignore-code/reviews/)

## Autori un izstrādātāji

“Ignore Code” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

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

[Tulkot “Ignore Code&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/ignore-code)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/ignore-code/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/ignore-code/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/ignore-code/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/ignore-code/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.0

 * Initial version with readme.

## Meta

 *  Versija **1.0**
 *  Pēdējo reizi atjaunots: **pirms 9 gadiem**
 *  Aktīvās instalācijas: **30+**
 *  WordPress versija ** 3.5.1 vai jaunāka **
 *  Pārbaudīts līdz: **4.8.30**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/ignore-code/)
 * Birkas:
 * [code](https://lv.wordpress.org/plugins/tags/code/)[source code](https://lv.wordpress.org/plugins/tags/source-code/)
   [tinyMCE](https://lv.wordpress.org/plugins/tags/tinymce/)[validation](https://lv.wordpress.org/plugins/tags/validation/)
   [visual editor](https://lv.wordpress.org/plugins/tags/visual-editor/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/ignore-code/advanced/)

## Vērtējumi

 3.7 no 5 zvaigznēm.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/ignore-code/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ignore-code/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ignore-code/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ignore-code/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/ignore-code/reviews/?filter=1)

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

[Skatīt visasatsauksmes](https://wordpress.org/support/plugin/ignore-code/reviews/)

## Līdzdalībnieki

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

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/ignore-code/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](http://mattsaul.com/donate)