Horje

Add Spam and Delete Links to Comments on Front End

Just copy and past following codes to yourdomain.com/wp-content/themes/activated-theme/fucntions.php in the most below.
Example: PHP
// Spam & delete links for all versions of WordPress
function delete_comment_link($id) {
    if (current_user_can('edit_post')) {
        echo '| <a href="'.get_bloginfo('wpurl').'/wp-admin/comment.php?action=cdc&c='.$id.'">del</a> ';
        echo '| <a href="'.get_bloginfo('wpurl').'/wp-admin/comment.php?action=cdc&dt=spam&c='.$id.'">spam</a>';
    }
}



Single Articles
Add Spam and Delete Links to Comments on Front EndWordpress Security Shortcode


Related Articles
How to Remove the WordPress Version Info for Security Wordpress Security Shortcode
How to Add Spam and Delete Links to Comments on Front End Wordpress Security Shortcode
How to Remove pings to your own blog Wordpress Security Shortcode
How to Enable GZIP output compression Wordpress Security Shortcode

Type:
Php
Category:
Web Tutorial
Sub Category:
Wordpress Security Shortcode
Uploaded by:
Admin