Solved issue: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock

Solved issue- Can-t connect to local MySQL server through socket

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

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

create-links-template-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

enable the comments for custom post type

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 remove the AuthType Basic

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

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

search-wordpress

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.

Big role by Facebook and Twitter in egypt revolution

egypt-revolution-facebook-twitter-youtube

Egyptian protesters thanking to facebook and youtube and twitter’s role in the revolution against the country’s ruling government. Key Facebook page An anti-Mubarak Facebook page started by Ghonim, a Google Inc. marketing manager in the Middle East, was credited with … Continue reading