Skip to content
This repository

Add different types to posts of WordPress Edit area

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 example-template
Octocat-spinner-32 js
Octocat-spinner-32 languages
Octocat-spinner-32 .gitignore
Octocat-spinner-32 different-type.php
Octocat-spinner-32 readme.txt
Octocat-spinner-32 screenshot-1.png Add files March 22, 2010
Octocat-spinner-32 screenshot-2.png
=== 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
Something went wrong with that request. Please try again.