Latest comments from each category?
Latest comments from each category?
Latest comments from each category?
Hi @Towfiq: Comments are related in the database to Posts. You’ll have to do a lot of work to get Comments to relate to Users. Have you considered creating a Custom Post Type for Users and then use either a user_meta field to store the post_id, or a postmeta field to store the user_id, or … Read more
I’m not sure, if you’re talking about the comment reply or a normal (non-reply) comment. Anyway, here’s how you’d register the comment reply script from your functions.php file: function wpse60406_scripts() { # Comment reply script if ( is_singular() // Use is_single() if this shouldn’t work for pages AND get_option( ‘thread_comments’ ) ) wp_enqueue_script( ‘comment-reply’ ); … Read more
Check your .htaccess for possible redirects to the old ip address. i’m filling up the response with text because, honestly there’s nothing much to say 😉 reference .htaccess
The comments_template() only accepts two parameters: $file (string) and $separate_comments (Boolean). So, it does not have a way to pass an arbitrary variable as a parameter. The two methods I generally use are: Globalize the variable Wrap the variable inside a function that returns the data you want, and then call it wherever you need … Read more
Comments from vbulletin topic [closed]
Actually, it looks like a problem being caused by the ReCAPTCHA plugin. Have you tried turning that plugin off? CAPTCHAs are generally ineffective for comments anyway. They prevent spam to some degree, but they prevent real-people even more, and are terrible for accessibility. A better way to fight spam is to use plugins that don’t … Read more
I don’t have the time right now to work the code, but you’ll need to use pre_get_posts and filter out based upon comment_status => ‘open’.
Approving them in the admin console solved my problem.
Trackbacks not displaying