Title: Sniplets
Author: John Godley
Published: <strong>10 سپتامبر 2007</strong>
Last modified: 29 آوریل 2012

---

جستجوی افزونه‌ها

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Sniplets

 توسط [John Godley](https://profiles.wordpress.org/johnny5/)

[دانلود](https://downloads.wordpress.org/plugin/sniplets.1.4.6.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/sniplets/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/sniplets/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/sniplets/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/sniplets/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/sniplets/)

## توضیحات

Sniplets is a generic text insertion plugin with support for an extensible processing
framework. At it’s simplest this means you can dynamically replace text in your 
posts with text that may be defined elsewhere, or created by some other module. 
For example, you can use Sniplets to perform syntax highlighting of files, execute
custom PHP code, insert data from a database, and perform all manner of other useful
tasks within a standard interface.

 * Replace tags in a post with pre-defined text
 * Apply processing functions to the pre-defined text to perform additional functionality
 * Automatic insertion – data can be made to automatically appear in various places(
   header, footer, before post, after post, more tag, initialization)
 * Custom processors can be written by the user
 * Fully localized

Sniplets is available in:

 * English
 * Belorussian thanks to Marcis Gasuns

### Documentation

Full documentation can be found on the [Sniplets](http://urbangiraffe.com/plugins/sniplets/)
page.

## نصب

The plugin is simple to install:

 1. Download `sniplets.zip`
 2. Unzip
 3. Upload `sniplets` directory to your `/wp-content/plugins` directory
 4. Go to the plugin management page and enable the plugin
 5. Configure the plugin from `Manage/Sniplets`

You can find full details of installing a plugin on the [plugin installation page](http://urbangiraffe.com/articles/how-to-install-a-wordpress-plugin/).

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Sniplets” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ John Godley ](https://profiles.wordpress.org/johnny5/)

[ترجمه “Sniplets” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/sniplets)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/sniplets/), check out
the [SVN repository](https://plugins.svn.wordpress.org/sniplets/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/sniplets/) by [RSS](https://plugins.trac.wordpress.org/log/sniplets/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 0.1

 * Initial release

#### 0.2

 * Use correct table prefix

#### 0.3

 * Add display if logged in/out

#### 0.3.1

 * Add a template tag the_sniplet

#### 1.0.0

 * Big update
 * Introduce arguments to sniplets, allow functions to be stacked
 * Allow content in post to override sniplet

#### 1.0.3

 * Fix database creation routine

#### 1.1

 * Merge Sniplets with Page Notes
 * Allow automatic placement and templates

#### 1.1.1

 * Fix PHP5 bugs
 * Add inline loading graphic
 * Fix TinyMCE problem
 * Stop box appearing on new posts

#### 1.1.2

 * Fix missing module arguments

#### 1.1.3

 * Template tags return the code, not echo

#### 1.1.4

 * Fix the ‘include file/URL’ module for URLs

#### 1.2

 * Placement limits
 * Quicktag
 * IE support
 * Ordering

#### 1.2.1

 * Disable sniplets
 * Sniplet exclusion
 * Multiple placements
 * Copy, move, nesting

#### 1.2.2

 * Make Sniplets work outside loop

#### 1.2.3

 * Security update

#### 1.2.4

 * Fix #26

#### 1.2.5

 * Fix #84, #107

#### 1.3

 * WordPress 2.5 edition

#### 1.3.1

 * Import/export

#### 1.3.2

 * WP 2.6

#### 1.3.3

 * Add ‘all’ placement

#### 1.3.4

 * Fix #289

#### 1.3.5

 * Fix to the_sniplet

#### 1.3.6

 * Add sniplet_transform_text function

#### 1.3.7

 * Bring back missing sniplets
 * Fix limits

#### 1.3.8

 * Another fix to limits

#### 1.3.9

 * WP 2.7 metaboxes

#### 1.3.10

 * Fix menu in WP 2.7

#### 1.4

 * 2.7 styling
 * Nonces
 * jQuery

#### 1.4.1

 * Add #347

#### 1.4.2

 * Fix issue with archive pages

#### 1.4.3

 * Update missing localisations

#### 1.4.4

 * WP 2.8 compat
 * Fix various bugs and style issues

#### 1.4.5

 * Fix deep slashes

## اطلاعات

 *  نگارش **1.4.5**
 *  Last updated **14 سال پیش**
 *  نصب‌های فعال **40+**
 *  نگارش وردپرس ** 2.7 یا بالاتر **
 *  Tested up to **2.9.2**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/sniplets/)
 * Tags
 * [code](https://fa.wordpress.org/plugins/tags/code/)[insert](https://fa.wordpress.org/plugins/tags/insert/)
   [page](https://fa.wordpress.org/plugins/tags/page/)[php](https://fa.wordpress.org/plugins/tags/php/)
   [post](https://fa.wordpress.org/plugins/tags/post/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/sniplets/advanced/)

## امتیازها

 2.8 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/sniplets/reviews/?filter=5)
 *  [  امتیاز 1 4-ستاره     ](https://wordpress.org/support/plugin/sniplets/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/sniplets/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/sniplets/reviews/?filter=2)
 *  [  امتیاز 2 1-ستاره     ](https://wordpress.org/support/plugin/sniplets/reviews/?filter=1)

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/sniplets/reviews/)

## مشارکت کنندگان

 *   [ John Godley ](https://profiles.wordpress.org/johnny5/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/sniplets/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://urbangiraffe.com/about/support/)