Assign author to comment from post edit page
Assign author to comment from post edit page
Assign author to comment from post edit page
$post_attachment->post_author will return user ID. You need to fetch user details from user ID. get_userdata( $userid );
You can do this using jQuery. First of all, you need to add your script into your functions.php function my_theme_scripts() { wp_enqueue_script( ‘my-great-script’, get_site_url() . ‘/js/my-great-script.js’, array( ‘jquery’ ), ‘1.0.0’, true ); } add_action( ‘wp_enqueue_scripts’, ‘my_theme_scripts’ ); Then, in your file (my-great-script.js), you will have to have something like this: jQuery( “.form-submit” ).click(function(event) { if( … Read more
How to implement a rating and review system for WordPress custom posts?
How to handle upvotes and downvotes of disqus comments after importing disqus comments to wordpress?
wp-comment author- url +, email filter hook
posts comments goes to trash
You can use CSS, either in a separate CSS file like this: .wpd-custom-text{ color: #f44242; font-family: “Times New Roman”, Times, serif; font-size: 15px; font-weight: 900; } or inline like this: <div class=”wpd-custom-text” style=”color:#f44242; font-family: ‘Arial’, ‘Helvetica’, sans-serif; font-size: 15px; font-weight: 900;”>the comment added here is by the author and my website doesn’t have any take … Read more
Send reply with pre-prepared answers
WP_Comment_Query – Get comments and answers separately