edit comments in front end

If you want to edit comments in the front end. Use this For default edit comment link, <?php edit_comment_link(); ?> ( or ) <?php edit_comment_link(__(‘edit comment’), ‘<p>’, ‘</p>’); ?> Hook is, apply_filters() Calls ‘edit_comment_link‘ hook on the author email Let Me know Incase of any issues

Cannot display comment in page

I am not sure where you are using the function wp_list_comments but you should use it in the theme comments.php template file and call it using comments_template function. If you want to display comments anywhere else then you can use function get_comments

Change “logged in as a ” link in comments form

We could try to rebuild the HTML through the comment_form_logged_in filter, where the HTML is constructed by default as: ‘<p class=”logged-in-as”>’ . sprintf( /* translators: 1: edit user link, 2: accessibility text, 3: user name, 4: logout URL */ __( ‘<a href=”https://wordpress.stackexchange.com/questions/276188/%1$s” aria-label=”%2$s”>Logged in as %3$s</a>. <a href=”%4$s”>Log out?</a>’ ), get_edit_user_link(), /* translators: %s: user … Read more

Can not edit comment form

You can put this code in your current theme function.php file More Info <?php add_action( ‘comment_form_logged_in_after’, ‘additional_fields’ ); add_action( ‘comment_form_after_fields’, ‘additional_fields’ ); function additional_fields () { echo ‘<p class=”comment-form-title”>’. ‘<label for=”title”>’ . __( ‘Comment Title’ ) . ‘</label>’. ‘<input id=”title” name=”title” type=”text” size=”30″ tabindex=”5″ /></p>’; } ?> EDIT: $comments_args = array( ‘comment_notes_after’ => ‘<p><label for=”comment”>’ … Read more

Check if comment author has url

Solution Thanks to shanebp answer here <?php if( get_comment_author() == get_comment_author_link() ) comment_author_link(); else echo ‘<a href=”https://wordpress.stackexchange.com/questions/314265/site.com/go?url=”. get_comment_author_url() .”” target=”_blank”>’. get_comment_author() .'</a>’ ?>

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