edit-comments.php in Admin – how to change ‘Comments’ title?

I think you need to change ‘Comments’ to ‘something’ but it from admin side. Please follow steps: 1> Go to Appearance -> Editor in your WordPress dashboard (In the list of theme files, on the right, click on “Theme Functions” to open your functions.php file) 2> Enter the following code in your functions.php file: add_filter(‘genesis_title_comments’, … Read more

Outputting complete custom comment form

Following was the HTML – <!– Comment Form HTML –> <div class=”sub-figure”> <div class=”sub-post-title”> <h4 class=”recent-title”>Comments</h4> </div> </div> <!– Leave a comment –> <div class=”sub-figure”> <div class=”sub-post-title”> <h4 class=”recent-title”>Leave A Comment</h4> </div> <form class=”form-inline”> <div class=”col-xs-12 col-sm-4 col-md-4 form-group”> <input type=”text” class=”form-control height-in” id=”reply-name” placeholder=”Enter Name”> </div> <div class=”col-xs-12 col-sm-4 col-md-4 form-group”> <input type=”email” class=”form-control … Read more

How do I convert users who put an email and username for a comment into registered users? [duplicate]

To achieve this, create a new page template and use this code in that file. Then, use your submit form to redirect the user after commenting to the new page. $user_login = $_POST[‘user_login’]; $user_email = $_POST[‘user_email’]; $errors = register_new_user($user_login, $user_email); if ( !is_wp_error($errors) ) { $redirect_to = !empty( $_POST[‘redirect_to’] ) ? $_POST[‘redirect_to’] : ‘wp-login.php?checkemail=registered’; wp_safe_redirect( … Read more

Embed a page within WordPress dashboard?

function facebook_setup_function() { add_meta_box( ‘facebook_widget’, ‘Facebook Moderation Tools’, ‘facebook_widget_function’, ‘dashboard’, ‘normal’, ‘low’ ); } function facebook_widget_function() { include (‘facebook.php’); } add_action( ‘wp_dashboard_setup’, ‘facebook_setup_function’ ); add the above to your functions file and replace the include url with the php file you wish to include into your dashboard. Setting it up ; Use the facebook.php and … Read more

Getting thousands of spam comments

You can prevent some hits by blocking bots before akismet catches them, these plugins can be very effective. Plugins: Bad Behavior plugin: http://wordpress.org/extend/plugins/bad-behavior/ Honeypot Traps: http://wordpress.org/extend/plugins/project-honey-pot-spam-trap/ WP-Hashcash http://wordpress.org/extend/plugins/wp-hashcash/ Zig Trap http://wordpress.org/extend/plugins/zigtrap/ Stop bots with no user agents from posting and directory browsing (this goes in your .htaccess) RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{HTTP_USER_AGENT} ^$ … Read more

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