Change Post Author/ID on All posts In a Single Pass (MySql)
Here is a small code snippet (MySql query) that will help you change the post author in WordPress. You will need to run this in your database using PHPMyAdmin or command linke. Back up your database before running any of the queries mention bellow. If you tables have a different table prefix make sure that you change […]
How to remove all the default WordPress widgets
If you are not using any of the default WordPress widgets, if you want your pages to load just a bit faster or you are just like me and want to clean up your widget administration area. Well here is how to remove all the default WordPress widgets. Add the following code to your theme’s […]
Remove URL / Website field from WordPress comment form
To remove the “website” field from the WordPress comment form (without hacking it) add the following code to your theme’s function.php file. //Remove comments url field function remove_comment_form_url_field( $field ){ return false; } add_filter( ‘comment_form_field_url’, ‘remove_comment_form_url_field’ );
Change WordPress “from” email address and name
This is short an sweet. By default, WordPress email notification address looks like [email protected]. If you want to use the site’s real email address and name for system notification to you or user add the code below to your theme’s functions.php file. The fist 3 lines will modify the default email address and the next […]