[wp-hackers] Custom Post Types and Taxonomy

Andrew Nacin wp at andrewnacin.com
Mon Nov 1 19:53:49 UTC 2010


On Thu, Oct 28, 2010 at 12:30 PM, Ana Aires <ana.aires at gmail.com> wrote:

> Hi everyone,
>
> I have defined a new custom post type and assigned a new taxonomy, to it. I
> would like to define as default 2 terms of this taxonomy when a new post is
> created. Any ideas on how I can accomplish this?
>
> There is the "Default Post Category" under Settings>Writing I would like to
> perform the same but associate to a new post type a new term.
>
> Hope you can help.... I am getting nuts with this!


Custom taxonomies do not have any support for default terms.

Categories don't have any support to remove default terms.

I would not mind code in core that abstracts both.


More information about the wp-hackers mailing list