[wp-hackers] Custom comment for custom post type

Chip Bennett chip at chipbennett.net
Fri Aug 20 11:03:21 UTC 2010


Someone may have a better answer, but if your custom post type also has a
custom taxonomy, could you use a is_tax('my-custom-taxonomy') combined with
the comment_form_after_fields hook, to add additional form field(s)?

Chip

On Fri, Aug 20, 2010 at 5:49 AM, Mo Braga <Mo.Braga at lbi.com> wrote:

> Hi,
>
> Is it possible to customise the comment form (say, add an "Agree" checkbox)
> just for a particular custom post type?
> Mo
>
>
> ________________________________
> LBi Ltd is registered in England and Wales, the registered number and
> address are 03080409, Truman Brewery, 146 Brick Lane, London, E1 6RU. This
> email may contain confidential and/or privileged information. If you are not
> the intended recipient (or have received this e-mail in error) please notify
> the sender immediately and destroy this e-mail. Any unauthorised copying,
> disclosure or distribution of the material in this e-mail is strictly
> forbidden.
> _______________________________________________
> 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