Timeline for custom comment_form fields not displaying
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 27, 2016 at 19:20 | comment | added | Ciantic |
I think the parent had issue where the fields are not shown when you are logged in. This is intended behaviour, and instead one must print the fields in two actions: comment_form_logged_in_after and comment_form_before_fields if it's required to show the fields in logged in as well as logged out users.
|
|
Oct 15, 2012 at 5:08 | comment | added | chrisguitarguy |
That's a separate issue. You can pass a callback to display the comment in wp_list_comments . It means the function my_custom_comments doesn't exist. So you can create it or remove the callback. Here's the custom callback in TwentyEleven for an example.
|
|
Oct 15, 2012 at 3:53 | comment | added | user1255049 |
thank you for you input(and the link to your tutorial). i've made the changes per your comment, and not only are the custom fields still not showing, but I'm now receiving the following error from wp_list_comments Warning: call_user_func() expects parameter 1 to be a valid callback, function 'my_custom_comments' not found or invalid function name in /home/content/56/9896856/html/wp-includes/comment-template.php on line 1336
|
|
Oct 15, 2012 at 3:46 | history | answered | chrisguitarguy | CC BY-SA 3.0 |