Need Comment Link Help

This is a caveat emptor solution, because the comments template is not intended to be displayed on archive-index pages. To display the comments template on archive index pages, you need to ensure that the appropriate template file (e.g. index.php, archive.php, etc.) calls <?php comments_template(); ?> at the appropriate place inside the Loop. If you need … Read more

Show image next to the comment author if have certain role

Conditional tags are used to change content on the basis of what conditions a page meets. While there are no conditional tags depending on a user’s role, this is how you can manipulate content depending on roles: Display content to the user, depending on his role <?php global $current_user; get_currentuserinfo(); //not strictly required, $current_user should … Read more

disable defaault wordpress comments from a plugin

Most themes used comments_template to include their comment areas. It’s completely full of filters, one of which is the include file (usually comments.php) that you can hijack to include a file from your plugin that contains all the stuff for facebook comments (or nothing if you just want to disable comments. Example: <?php add_filter( ‘comments_template’, … Read more

Sync comments between two WP installs

Sharing the template Just define it inside your template with comments_template( $file );. Sharing the DB table … simply said: It’s not possible. You can share the user table, which isn’t recommended.

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