CSS: Changing The Default background and Text Selection Color
The text selection CSS3 pseudo-element will allow you to change the default text and background color when the content is being selected. Currently supported by FireFox, Safari, Chrome, IE9+ and Opera support. Browsers that don’t support it will ignore the code. Try it out! on your next project just add the following selectors to your CSS […]
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’ );