[wp-hackers] Associating post_status with a Custom Post Type

Erick Hitter ehitter at gmail.com
Tue May 24 04:54:31 UTC 2011

One can register custom post statuses (register_post_status, I believe), but
they aren't well supported as of 3.1. For starters, the dropdown in the
Publish meta box is hardcoded, so saving a custom post status requires
either a custom meta box or jQuery workaround.

On May 24, 2011 12:32 AM, "Lox" <lox.dev at knc.nc> wrote:
> 2011/5/24 Alex Andrews <awgandrews at gmail.com>
>> As far as I can see, there isn't an easy way to associate a
>> post_status with a given Custom Post Type. So, for example, a radio
>> programme could be Live and Archived, but I don't want, say, pages or
>> posts to be done in such a way. Equally, lets suppose that I don't
>> want the standard post_status for the radio programme (draft and so
>> on) - is there any way of making them not show up?
>> What is the best way to do this?
> I have searched and didin't found how to do it. So I do not thik it is
> possible as of 3.1.
> --
> Lox
> lox.dev at knc.nc
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list