how to get author comment inside the loop?
Nayeem Riddhi, Use this. <?php get_comments( array(‘author__in’ => implode(‘,’,$authors_data)) ); ?> Let me know for more information
Nayeem Riddhi, Use this. <?php get_comments( array(‘author__in’ => implode(‘,’,$authors_data)) ); ?> Let me know for more information
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
I was making this too complicated. The comment_form_default filter can be used to set arguments for comment_form(): https://developer.wordpress.org/reference/hooks/comment_form_defaults/
I’ve just installed the theme myself and resized down to mobile, the comment form seems to still be there for me. What can you see? Can people leave comments on the desktop?
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
How to show a “Comments Are Closed” message on posts where comments have been closed?
This strange behavior was all related to a caching issue. I contacted my host service again. They just gave me the same line to insert into my .htaccess file and I told them I already tried it and it didn’t work. I then showed them my .htaccess file and they deleted the whole part that … Read more
I want to limit registered user to 1 comment per post in WordPress
You put this function there: $(“#main”).each(function() { var text = $(this).text(); text = text.replace(“<p><!– AddThis Sharing Buttons above –></p>”, “”); $(this).text(text); }); Did it work? If not, why do you want to do that? You can go to the main plugin and replace this text..
Comment form not working