[wp-hackers] Custom comment for custom post type
chip at chipbennett.net
Fri Aug 20 11:06:43 UTC 2010
Love this Codex page:
Try if( get_post_type() == 'my-custom-post-type' ), combined with the *
On Fri, Aug 20, 2010 at 6:03 AM, Chip Bennett <chip at chipbennett.net> wrote:
> 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)?
> On Fri, Aug 20, 2010 at 5:49 AM, Mo Braga <Mo.Braga at lbi.com> wrote:
>> Is it possible to customise the comment form (say, add an "Agree"
>> checkbox) just for a particular custom post type?
>> 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
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
More information about the wp-hackers