WordPress – Remove Email and URL in Comment Section, and Add Plugin to Remove Hyperlink from URL Placed in Comment Textbox

  1. In the Discussion Settings, uncheck the checkbox that states “Comment author must fill out name and email”.

2) Edit the function.php file in your File editor and add the three functions to the bottom of the php file shown in the image below:

// Add this function to functions.php to remove the url from the comments section
function crunchify_disable_comment_url($fields) { 
 unset($fields['url']);
 return $fields;
}
add_filter('comment_form_default_fields','crunchify_disable_comment_url');

// Add this function to functions.php to remove the email from the comments section
function crunchify_disable_comment_email($fields) { 
 unset($fields['email']);
 return $fields;
}
add_filter('comment_form_default_fields','crunchify_disable_comment_email');

// Add this function to functions.php to remove text below the Leave a Reply title
function custom_comment_form_defaults($defaults){
 $defaults['comment_notes_before'] = '';
 return $defaults;
}
add_filter( 'comment_form_defaults', 'custom_comment_form_defaults' );

3) Add a plugin called “Comment Link Remove”.

4) Edit the options of the Comment Link Remove settings by checking the checkboxes for “Remove hyper-link from comment AUTHOR”, and “Disable turning URLs into hyper-links in comments”

Windows 10 – Icons Missing from OneDriver Folders

Windows can only handle 15 overlays.

Bring up the registry (regedit.exe) and navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers

Delete unwanted overlays until there are only 15 left. In my case, I have DropBox also. I simply deleted DropboxExt6 through 10.

Reboot your computer.

 

 

 

WordPress – How to Recover Lost WordPress Password

This post is written by Sandesh Sethi for Hongkiat.com. Sandesh is the founder of Vobliq.com – a blog about designing, blogging and money making.

http://www.hongkiat.com/blog/how-to-recover-lost-wordpress-localhost-password/

The Solution

Go into PhpMyAdmin. The URL should be http://localhost/phpmyadmin, but it might vary depending on configurations. Look for the database name on the left sidebar. In our case it’s called “wordpress“.

Click “wordpress to see its tables. Look for *_users, in our case it’s called wp1_users. Click it and you’ll notice a page change on the right frame. user_login column shows you all usernames you currently have. If you are looking for usernames, your problem is solved. But if you are looking to recover lost password, there is one more thing you’ll need to do.

Click on the pen icon to edit the data for the specific user. Look for “user_pass” field. Select "MD5" for the Function dropdown, and change it’s value to a new password, in our case the new password is call “admin“. Click GO once you are done.

That’s it! You’ve just changed the password for username admin to “admin“.

 

WordPress – Stop trackback spam

In Settings/Discussion, uncheck the box “

This will stop trackback for all future trackback spam.

To modify your older posts, you need to change the ping_status to “closed” on each row of your wp_posts table in your word press MySql database.

Here is how:

Log on to your cPanel and bring up phpMyAdmin.
Select your wordpress database.
Select your wp_posts table.

Execute the following SQL statement:

UPDATE wp_posts SET ping_status="closed";

WordPress: After installing WS Polls plugin, create a polls archive page to use the polls archive option

1. Go to ‘WP-Admin -> Pages -> Add New’.
2. Type any title you like in the post’s title area.
3. If you ARE using nice permalinks, after typing the title, WordPress will generate the permalink to the page. You will see an ‘Edit’ link just beside the permalink.
4. Click ‘Edit’ and type in ‘pollsarchive’ in the text field (without the quotes) and click ‘Save’.
5. Type page_polls in the post’s content area (surrounded withbrackets []).
6. Click ‘Publish’.

WordPress: The e-mail could not be sent. Possible reason: your host may have disabled the mail() function…

On Word Press Login Screen, you click, ‘Lost your password?’
You then type in your userid or email address associated with your user id.
You then click, ‘Get New Password’.

You should get the message, ‘Check your e-mail for the confirmation link.

But you don’t!

Instead, you get an Internal 500 Server Error (meaning you don’t have detailed error logging set in your asp hosted settings) or you get the following detailed error message:

The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function…

By default WordPress uses the Mail() component to send out emails. But if your host has secure SMTP eMail authentication then Mail() will not send, and you may see the above error.

The solution for this problem is using the wp-mail-smtp plugin, which accepts a smtp host, username & password that sends out email via an SMTP host.

The plugin can be downloaded here.
http://wordpress.org/extend/plugins/wp-mail-smtp/

Note: I found that I received an error when I tried to install the plugin via the plugin panel. It was better to simply down the plugin, unzip, and ftp the files directly to the wp-content/plugins folder. I then went into the plugins, activated the plugin, then modified the settings as you would if you were setting up your email via pop in your favorite email software.

Settings:

From email: An email address that you set up via your hosting site (preferably)
From name: your name
Mailer: SMTP
SMTP Host: Your host server
SMTP Port: 25
Encryption: No Encryption
Authentification: Yes
Username: your email address
Password: your email password

Save the settings.

Finally, test it out by entering another one of your emails and see if the email is received. If so, then get out and try again.

Problem should be sovled.