How to wrap submit button of comment form with div

We can use comment_form function’s submit_button parameter to change submit button HTML. Default HTML for submit_button is <input name=”%1$s” type=”submit” id=”%2$s” class=”%3$s” value=”%4$s” /> You can change your code like this. $comments_args = array( …. ‘submit_button’ => ‘<div class=”form-group”> <input name=”%1$s” type=”submit” id=”%2$s” class=”%3$s” value=”%4$s” /> </div>’ …. ); Update: Regarding %1$s , %2$s and … Read more

Change HTML Produced by wp_list_comments()

Here are some options on how we can override the native layout for each comment: Approach #1 – Overriding start_el() with a custom walker Let’s define our custom wpse comment format: // Arguments for wp_list_comments() $args = [ ‘style’ => ‘ol’, ‘format’ => ‘html5’, ‘short_ping’ => true, ]; // Use our custom walker if it’s … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)