Title: Raw HTML Snippets
Author: Andy Stratton
Published: <strong>11 مَي 2011</strong>
Last modified: 31 جُولاءِ 2023

---

پلگ انس ڳولھيو

ھي پلگ ان **WordPress جي جديد 3 وڏين رليزز** سان آزمايو نه ويو آھي. اهو ٿي سگهي 
ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي 
وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

![](https://s.w.org/plugins/geopattern-icon/raw-html-snippets.svg)

# Raw HTML Snippets

 کان: [Andy Stratton](https://profiles.wordpress.org/theandystratton/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/raw-html-snippets.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/raw-html-snippets/#description)
 * [جائزو](https://snd.wordpress.org/plugins/raw-html-snippets/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/raw-html-snippets/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/raw-html-snippets/#developers)

 [سھائتا](https://wordpress.org/support/plugin/raw-html-snippets/)

## وضاحت

Create a library of raw HTML snippets that you can easily insert into any page/post
content using a shortcode:

[raw_html_snippet id=”my-snippet”]

Snippets consist of a unique ID (e.g. “my-snippet”) and raw HTML code. This plugin
was written to stop using hacks that override WordPress’ core content filters and
affect shortcode output.

This plugin will NOT taint your content or the output of other shortcodes. If you
delete a snippet, any existing shortcodes with that snipet’s ID will output an empty
string.

Remember, this allows you to output raw HTML. Use at your own risk. It will not 
check for malicious HTML/CSS/Javascript!

## تصوير

[⌊Plugin admin screen.⌉⌊Plugin admin screen.⌉[

Plugin admin screen.

[⌊Editing a snippet⌉⌊Editing a snippet⌉[

Editing a snippet

[⌊Inserting a snippet⌉⌊Inserting a snippet⌉[

Inserting a snippet

## انسٽاليشن

 1. Download and unzip to the ‘wp-content/plugins/’ directory
 2. Activate the plugin.
 3. Use Settings > Raw HTML Snippets to add, edit and remove your snippets.
 4. Insert snippets at your will

## FAQ

None.

## جائزا

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

### 󠀁[Genial!](https://wordpress.org/support/topic/genial-623/)󠁿

 [megamin](https://profiles.wordpress.org/megamin/) 5 آڪٽوبر 2023

HTML, Styles, Javascript… Code als ‘Snippet’ speichern, Namen mit Bindestrichen 
vergeben, speichern und auf jedder Seite ‘Snippet-Code’ einfügen. Wow! It works!
Ich musste eine Sicherheitswarnung von WP-Security oder Wordfence, nicht aufgepasst:))
als ‘false positive’ quittieren, Seite ein einziges mal neuladen, dann ist alles
dauerhaft ok. Aber Vorsicht, dass der Code auch funzt. Entwickeln unbedingt außerhalb
WP!10 Stars, if possible :))

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

### 󠀁[Great little tool to do the hard things quick](https://wordpress.org/support/topic/great-little-tool-to-do-the-hard-things-quick/)󠁿

 [hollidayjay](https://profiles.wordpress.org/hollidayjay/) 9 فيبروري 2021

It feels a little dangerous but sometimes you just want to do something quick and
simple the html way without having to write a block or a plugin or a template and
then frig around with ftp uploads. It’s so simple to use if you know html that if
you’re not careful it could easily become a crutch to not do things the WordPress
way but I think I can live with that.

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

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-6552/)󠁿

 [gama](https://profiles.wordpress.org/gamark/) 9 ڊسمبر 2020

This plugin is just great for table of content kind of snippets. I have been using
it for some time and it’s great.

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

### 󠀁[useless for displaying HTML code](https://wordpress.org/support/topic/useless-for-displaying-html-code/)󠁿

 [digihulpdienst](https://profiles.wordpress.org/digihulpdienst/) 1 نومبر 2020 1
reply

It does not prevent WP from “correcting” the code. Even in the snippet editor codes
like < are replaced. The HTML gets executed in stead of shown.

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

### 󠀁[Wish I’d found it sooner](https://wordpress.org/support/topic/wish-id-found-it-sooner-2/)󠁿

 [beanstalkim](https://profiles.wordpress.org/beanstalkim/) 26 نومبر 2019

This plugin does exactly what you think it does from the description. That said …
I went through about a dozen solutions to the problem and finally found this one.
Would have saved me a couple hours had I found it first. 🙂

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

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-771/)󠁿

 [tkapsali](https://profiles.wordpress.org/tkapsali/) 3 سيپٽمبر 2016

Saved us a lot of headaches! Worked perfectly in the newest version of wordpress.
Thanks

 [ جمع: سڀ 10 تبصرا پڙهو ](https://wordpress.org/support/plugin/raw-html-snippets/reviews/)

## تعاون ڪندڙ & ڊولپرز

“Raw HTML Snippets” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

 *   [ Andy Stratton ](https://profiles.wordpress.org/theandystratton/)

[ترجمو ڪريو “Raw HTML Snippets” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/raw-html-snippets)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/raw-html-snippets/)،
چيڪ ڪريو [SVN مخزن](https://plugins.svn.wordpress.org/raw-html-snippets/)، يا رڪنيت
حاصل ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/raw-html-snippets/)
پاران [RSS](https://plugins.trac.wordpress.org/log/raw-html-snippets/?limit=100&mode=stop_on_copy&format=rss).

## لاگ تبدیل ڪريو

#### 2.0

 * Moved RAW HTML Snippets management to Admin > Tools menu.
 * Added copy/paste support in list view.
 * Works with latest version of WP (5.6)
 * Minor code clean up for PHP 7.4

#### 1.1.4

 * Works with latest version of WP (5.2)

#### 1.1.3

 * Works with latest version of WP (4.1.1)

#### 1.1.2

 * Fixed error where snippet id (slug) containing an ampersand (&) would break the
   plugin’s admin UI.

#### 1.1.1

 * Updated some code for textarea direction attributes in admin panels (left to 
   right)
 * Added isset() to avoid PHP errors / warnings

#### 1.1

 * Fixed a bug that broke the ability to save when editing an existing snippet.

#### 1.0

 * Released version 1.0

## ميٽا

 *  Version **2.0.4**
 *  Last updated **3 سالَ اڳ**
 *  Active installations **2,000+**
 *  WordPress version ** 2.6 يا وڌيڪ **
 *  Language
 * [English (US)](https://wordpress.org/plugins/raw-html-snippets/)
 * Tags
 * [autoformatting](https://snd.wordpress.org/plugins/tags/autoformatting/)[embed html](https://snd.wordpress.org/plugins/tags/embed-html/)
   [html](https://snd.wordpress.org/plugins/tags/html/)[raw html](https://snd.wordpress.org/plugins/tags/raw-html/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/raw-html-snippets/advanced/)

## درجه بندي

 4.7 out of 5 stars.

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

[Your review](https://wordpress.org/support/plugin/raw-html-snippets/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/raw-html-snippets/reviews/)

## تعاون ڪندڙ

 *   [ Andy Stratton ](https://profiles.wordpress.org/theandystratton/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/raw-html-snippets/)

## عطيو

ڇا توھان ھن پلگ ان جي ترقي ۾ مدد ڪرڻ چاھيو ٿا؟

 [ هن پلگ ان ڏانھن مدد ڪريو ](http://theandystratton.com)