One day I faced issue with mysql.sock file. I solved the issue with following commands. [root@localhost ~]# mysqladmin -u root shutdown mysqladmin: connect to server at ‘localhost’ failed error: ‘Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)’ Check … Continue reading
100+ jquery and CSS techniques and Tips and tutorials
100+ jquery and CSS techniques and Tips and tutorials Galleriffic Photo Zoom Out Effect with jQuery Interactive Photo Desk with jQuery and CSS3 In this little experiment you will create an interactive photo desk that provides some “realistic” interaction possibilities … Continue reading
How to create links template page in wordpress
Links template page concept is new in wordpress theme. From wordpress 3 version wordpress introduced the links.php template file in wordpress themes. Adding the links page to your wordpress site or blog is very good for seo.Links page is same … Continue reading
add tags support in custom post type
In wordpress 2.9 we can create the custom post type. In this tutorial I will show you how to add the category and tags support for custom post type. You just need use the following code in your arguments. Here … Continue reading
enable the comments for custom post type
In wordpress we can create the custom post types. For enabling the comments for custom post type just use the following line. Following line will add the title, thumbnail, excerpt and comments functionality to your custom post type. For more … Continue reading
How to create mysql user and grant all permission
When we do the fresh installation of Mysql we got the root user without any password. Keeping and using the root user for application is not safe. For creating new user use the following commands.
How to remove the AuthType Basic
For putting the web authentication we always use the .htaccess or apache configuration file. For removing the web auth from folder you need put following code in .htaccess file. without directory use the following code. #AuthType Basic #AuthName “By Invitation … Continue reading
Prevent the HTML content in wordpress comments
If you are wordpress developer then only use following code. Open your functions.php file from your theme and put following code in that file. Just copy and paste the following code on your functions.php file:
Add a search from in your navigation menu of wordpress theme
If you are wordpress developer then only use following code. Open your functions.php file from your theme and put following code in that file. Using following code in you can add the search form in your menu bar.









