[wp-hackers] adding custom fields to a comment form
jdg at codesymphony.co
Mon Oct 7 18:54:47 UTC 2013
Find the post type with get_post_type() - http://codex.wordpress.org/Function_Reference/get_post_type
If it's the wrong post type, don't display/save the fields.
On Oct 7, 2013, at 2:45 PM, BenderisGreat <greglancaster71 at gmail.com> wrote:
> I did see that, but I need to add the custom comment fields only to the
> custom post type
> View this message in context: http://wordpress-hackers.1065353.n5.nabble.com/adding-custom-fields-to-a-comment-form-tp42446p42453.html
> Sent from the Wordpress Hackers mailing list archive at Nabble.com.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers