[wp-hackers] Implementing Post Sub-Types
Peter Westwood
peter.westwood at ftwr.co.uk
Sun Nov 1 14:52:36 UTC 2009
On 1 Nov 2009, at 12:48, Ryan McCue wrote:
> I have a theme/plugin in development that is going to implement
> different types of posts. These will still be posts, as such, but will
> be styled and created specially.
>
> In order to maximize the compatibility with existing posts (and if the
> user ever changes the theme in future), I want to keep these as posts,
> rather than using custom post types, but I want to be able to assign a
> special "sub-type" to be able to handle these differently.
>
> So, hackers, what do you think the best implementation for this is?
>
> I've worked with using categories before and hiding them in the
> interface (frankly, pain in the ass). I'm thinking the best solution
> for
> this will be post meta.
Either post meta as you suggest or a custom taxonomy would be the best
solutions IMHO.
--
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
More information about the wp-hackers
mailing list