Status Update Custom Post Type
Mar 30, 2011
This plugin creates a new custom post type of Status Update
By default a status update does not have a title. You can post a status update with embedded images and html markup if you wish. The excerpt should not have any html in it and by default the plugin will attempt to create a plain text version of your status update.
For example, if your body contains the html:
<p>Wow I really love using <a href="http://shll.me/statustype">Status Update Custom Post Type</a>!</p>
It will automatically generate an excerpt of:
Wow I really love using Status Update Custom Post Type - http://shll.me/statustype
It will also try to pull the alt or title attributes out of images so:
<img src="http://example.com/image.jpg" alt="Example Image" />
Should turn into:
Example Image - http://example.com/image.jpg
By default your status updates do not have title, do not generate titles and I remove the title tag from the RSS feeds. This may mean your feeds won't look correct in Google Reader but this is intentional. For more information consult the following post: http://scripting.com/stories/2011/03/15/twitterPostsDontHaveTitles.html#p5574
If it's really important for you that your status updates have titles you can go under the Settings > Writing page and check "Enable Title" although I personally recommend against it.
This plugin also makes sure your status updates show up on the homepage and in your main RSS feed. I don't know if the way I'm doing it will cause problems so please contact me if it interferes with anything your doing. I'm not finding a lot of documentation about this. So for now it's trial and error.
If you have any questions, bugs or feature requests please post a comment here and I will try to respond as quickly as possible.
- Create a status-type directory in your plugins directory. Typically that's wp-content/plugins/status-type/.
- Into this new directory upload the plugin files (status_type.php, etc.)
- Activate the plugin through the 'Plugins' menu in WordPress.