Timeline for Can I change what fields are displayed in the Comments form?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 18, 2012 at 18:33 | comment | added | Raphael | Changes like that should probably put into tiny plugins so that you are stable against core upgrade. | |
Jan 18, 2012 at 16:41 | comment | added | Chip Bennett |
Can you clarify what you mean by "this code did nothing"? If your custom Theme is using comment_form() , then this code is the correct approach. If your custom Theme isn't using comment_form() , then it should be.
|
|
Oct 8, 2011 at 19:33 | comment | added | jkupczak | This code unfortunately did nothing for me. I am using a custom theme though so I may have to figure something else out I guess. | |
Oct 7, 2011 at 3:26 | comment | added | Jeremy Felt |
Yup, unset( $my_fields[ 'url' ] ); would blank it out as well as $my_fields[ 'url '] = NULL;
|
|
Oct 7, 2011 at 3:21 | comment | added | Milo |
can you not also unset( $my_fields['url'] ); ?
|
|
Oct 7, 2011 at 3:13 | history | answered | Jeremy Felt | CC BY-SA 3.0 |