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. … Continue reading
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 … Continue reading
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 bit faster or you are just like me and want to clean up your widget administration area. Well here is the … Continue reading
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 adress looks like [email protected] If you want to use the site’s real email adress and name just add the code below to your theme’s functions.php file. //Use the admin email for … Continue reading
Add login/logout link to WordPress navigation menu
I was looking for a way to add a login/logout link to the manin menu a few months back and I was not able to find it any where, so here it is. I also summited an idea to WordPress … Continue reading
Disqus comments with Jquery Mobile
Recently, I started a project that required the use of two very popular components, Disqus Comments and jQuery Mobile. I was able to make them work together and decided to write a tutorial to help others trying to implement these two components. The … Continue reading
Pinterest-like gallery tutorial
After two post demos Pinterest-like galleries demo 1 and Pinterest-like galleries demo 2 infinite scroll and a lot of work, the Pinterest-like gallery tutorial is here. Just like any good food recipe I will start by listing the items needed; … Continue reading