Conversation
supportFirst off, thank for adding the option for the default state of the checkbox! I have one last issue before I can make use of this plugin…the position of the checkbox. Can the checkbox be placed below the comment form button rather than above the comment form? I have one checkbox already under the submit button (via Jetpack, for subscribing to comments). Stylistically, it makes more sense to have all the checkboxes displayed together. Thank you! P.S. I see that this was asked already here . The topic is marked as resolved, but I’m not seeing a clear solution, so any further help on the matter would be much appreciated. 🙂
Hi brit77, Thanks for using the plugin. The plugin uses the “comment_form_default_fields” filter from WordPress itself to add a “notify_me” key value. You could, trough your own functions.php theme file, add a filter and hustle the fields around :). function modify_comment_fields($fields) { // do something with #fields here return $fields; } add_filter('comment_form_default_fields','modify_comment_fields');
Thanks, Niels, for this snippet. I’ve searched the internet, and unfortunately I can’t figure out the missing piece of the function to actually move the “notify me” field to below the submit button. Is this even possible? I hope so because I’d like to use your plugin but can’t do so until I can improve the UI by moving this check box.
I’m sorry, it seems this filter will not work. There is currently no function withing WordPress to sort the custom comment fields.
Hi brit77, Thanks for using the plugin. The plugin uses the “comment_form_default_fields” filter from WordPress itself to add a “notify_me” key value. You could, trough your own functions.php theme file, add a filter and hustle the fields around :). function modify_comment_fields($fields) { // do something with #fields here return $fields; } add_filter('comment_form_default_fields','modify_comment_fields');
Thanks, Niels, for this snippet. I’ve searched the internet, and unfortunately I can’t figure out the missing piece of the function to actually move the “notify me” field to below the submit button. Is this even possible? I hope so because I’d like to use your plugin but can’t do so until I can improve the UI by moving this check box.
I’m sorry, it seems this filter will not work. There is currently no function withing WordPress to sort the custom comment fields.