Comments from other blogs are getting added to my blog?

Those are pingback or trackbacks. They are mechanisms by which blogs alert each other about cross-linking or references to other posts. Pingbacks and trackbacks are common from SPAM or scrapper sites so you do want to take a look and make sure you are not approving comments from disreputable sources but in general, these are … Read more

comment files and s

http://ottopress.com/2008/wordpress-2-7-comments-enhancements/ You can ignore the references to legacy stuff. That was posted 6 years ago, we’re past the need for pre 2.7 support.

Inserting comments via a procedure

Few notes here. 1, why are you re-declaring variables. For example: $comment_ID = comment_ID; $comment_post_ID = comment_post_ID; $comment_author = comment_author; $comment_author_email = comment_author_email; Is all pointless, If a variable is set already, no reason to set it a second time. Secondly, unless you pass variables through to the function through arguments like so: Function wp_insert_comment($some_var, … Read more

Adding Parameters to get_comment

My point is: show posts last commenter name and comment date d F H:i together. Any suggestions? I think what you want is: $defaults = array( ‘post_id’ => $post->ID, ‘number’ => ‘1’, ‘orderby’ => ‘comment_date_gmt ‘, // default value; not really necessary ‘order’ => ‘DESC’, ‘status’ => ‘approved’, ); You shouldn’t need to run get_comments() … Read more

3rd Party Login in wordpress

Here is some code which i use to login between two site one is in wordpress and one is non-wordpress. I send an ajax request to wordpress site having email and password as data. After get this data on wordpress site i user wp_signon function to login the user. Here is the code. function sign_in_action() … Read more

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