Title: Plain Text Custom Post Type
Author: Ryan
Published: <strong>22 جُون 2012</strong>
Last modified: 12 آڪٽوبر 2012

---

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

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

![](https://s.w.org/plugins/geopattern-icon/plain-text-custom-post-type.svg)

# Plain Text Custom Post Type

 کان: [Ryan](https://profiles.wordpress.org/ryannutt/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/plain-text-custom-post-type.0.2.zip)

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

 [سھائتا](https://wordpress.org/support/plugin/plain-text-custom-post-type/)

## وضاحت

Create plain text files through WordPress using a custom post type.

This came about because I needed a way to edit a JavaScript file on a blog that’s

part of a multi site network setup, and I didn’t want to do a child theme for just
that one blog and keep up with updating the JS through FTP. This way I can edit 
it directly inside of WordPress as I need to without firing up Notepad++ or FileZilla.

If you select either CSS or JavaScript as the file type you’ll have the option
 
for the plugin to automatically link to the file within your page header, assuming
your theme supports the wp_head callback. The links are created using either wp_register_script/`
wp_enqueue_script` or `wp_enqueue_style` / `wp_enqueue_style`.

And a thank you goes out to Ted Devito for his
 [Tabby jQuery plugin](http://teddevito.com/demos/textarea.html)
that allows the capture of tabs inside the edit text area.

## تصوير

[⌊Post list view of all the plain text files available⌉⌊Post list view of all the
plain text files available⌉[

Post list view of all the plain text files available

[⌊Publish meta box allowing you to select content type and whether to load the post
automatically⌉⌊Publish meta box allowing you to select content type and whether 
to load the post automatically⌉[

Publish meta box allowing you to select content type and whether to load the post
automatically

[⌊Plain Text Files option added under the Pages tab⌉⌊Plain Text Files option added
under the Pages tab⌉[

Plain Text Files option added under the Pages tab

## انسٽاليشن

Pretty much like any other plugin…

Either

 1. Upload the `plain-text-custom-post-type` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

or

 1. Download and activate through WordPress

#### Usage

Once activated, a new page will be available under the Pages tab. Click on Plain
Text Files and you’ll be able to create new plain text posts.

## FAQ

  Why isn’t my file automatically linking?

Make sure that you have selected either CSS or JavaScript as the file type for your

file. Files set as Plain Text cannot be linked in the head of your pages.

  How did you capture the tabs?

Okay, not really a FAQ. But I did want to make sure that Ted Divito got credit
 
for the [Tabby jQuery plugin](http://teddevito.com/demos/textarea.html) that I used.
I’ve tried to capture tabs inside of text areas before and it was much more complicated
that I expected and my solutions never worked as well as they should.

  Help, I need more help!

[My site](http://www.nutt.net/tag/plain-text-cpt/) is probably your best bet. I’m

around the WordPress forums occasionally, but my site would be faster.

## جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

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

“Plain Text Custom Post Type” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو
ورتو آھي.

تعاون ڪندڙ

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

[ترجمو ڪريو “Plain Text Custom Post Type” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/plain-text-custom-post-type)

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

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

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

#### 0.2

 * Fixed a conflict between the stats module on Jetpack.

#### 0.1

 * First release – Nothing interesting to read here…

## ميٽا

 *  Version **0.2**
 *  Last updated **14 سالَ اڳ**
 *  Active installations **10+**
 *  WordPress version ** 3.0 يا وڌيڪ **
 *  Tested up to **3.4.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/plain-text-custom-post-type/)
 * Tags
 * [cpt](https://snd.wordpress.org/plugins/tags/cpt/)[css](https://snd.wordpress.org/plugins/tags/css/)
   [javascript](https://snd.wordpress.org/plugins/tags/javascript/)[post](https://snd.wordpress.org/plugins/tags/post/)
   [text](https://snd.wordpress.org/plugins/tags/text/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/plain-text-custom-post-type/advanced/)

## درجه بندي

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/plain-text-custom-post-type/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/plain-text-custom-post-type/reviews/)

## تعاون ڪندڙ

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

## سھائتا

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

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/plain-text-custom-post-type/)

## عطيو

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

 [ هن پلگ ان ڏانھن مدد ڪريو ](http://www.nutt.net/donate/)