Create plain text files through WordPress using a custom post type.
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
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
And a thank you goes out to Ted Devito for his
Tabby jQuery plugin that allows
the capture of tabs inside the edit text area.
Pretty much like any other plugin…
- Upload the
plain-text-custom-post-typefolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Download and activate through WordPress
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.
- Why isn’t my file automatically linking?
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 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 is probably your best bet. I’m
around the WordPress forums occasionally, but my site would be faster.
Contributors & Developers
“Plain Text Custom Post Type” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fixed a conflict between the stats module on Jetpack.
- First release – Nothing interesting to read here…