Add different types to posts of WordPress Edit area
PHP JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


=== Different Type ===
Contributors: Bueltge
Donate link:
Tags: post, meta box
Requires at least: 2.8
Tested up to: 3.1
Stable tag: 0.2

Add different types to posts.

== Description ==
Add new areas on the post-edit-area: subtitle, additional informations and a field for listdata. You can use this for more custom content on themes and you can also learn hwo it is easy to add meta boxes to this area an WordPress Backend.

== Installation ==
1. Unpack the download-package
1. Upload all files to the `/wp-content/plugins/` directory, include folders
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Add the new Template Tags to your templates

`<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
	<h2><?php the_title(); ?></h2>
	<h3><?php if ( function_exists('the_different_type_facts') ) the_different_type_facts(get_the_ID(), 'heading'); ?></h3>
	<div class="entry">
		<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
		<?php if ( function_exists('the_different_type_facts') ) the_different_type_facts($post->ID, 'additional-info'); ?>
		<?php if ( function_exists('the_different_type_facts') ) the_different_type_facts($post->ID, 'listdata'); ?>

== Screenshots ==
1. Edit-Area of posts and the new meta box in WP 2.9
1. Example Fronetend on Kubrick-Theme

== Changelog ==
= v0.2 (12/19/2010) =
* Maintenance: changes for WP Codes (camelcase, small caps)
* Maintenance: change include in WP, better via Hook 'plugins_loaded`
* Maintenance: uninstall function outside the class, ready for WP 3.1
* some more, and slightly

= v0.1 (12/24/2009) =
* 24. day of my advent calender is this plugin for learn custom your edit area