Disable admin bar from WordPress Site

Wordpress by default provide admin bar at the top of the page for logged in users. By using wordpress filtering and hook system, we can disable the admin bar from wordpress site for logged in user. Here is the snippet which will disable admin bar from wordpress site. [crayon-5b30f2815d6de00073

WordPress login with Email

Wordpress login with Email: Wordpress is provinding login using Username by default. Sometimes we require userlogin by email also. So here is the code snippet, put this snippet into your current activated themes functions file. [crayon-5b30f2815de4a788864487/] After adding this code, you c

Check .htaccess is working or not on server !

Previously I wrote Rewriting tips using .htaccess file for URL rewriting. Common Usage of .htaccess file : - Authorization, authentication - Rewriting URLs - Blocking - Directory listing - MIME types - Cache Control, and many more. Here is a test to check that .htaccess or mod_rewrite

QR Code generation using Google Chart API

These days QR Code has become more and more popular as it capture all the information using a Smart Phone. QR codes can be used in Google's Android operating system and iOS devices (iPhone/iPod/iPad), as well as by using 3rd party barcode scanners. So here I am going to tell how to build QR Code

.htaccess Tips

Hypertext Access, commonly shortened to htaccess, is a configuration file which controls the directory it is placed in and all the subdirectories underneath it. It’s an incredibly useful feature which allows webmasters to control how many aspects of their website works. You can redirect pages, cha

Email With Attachment

Generally we use to send text/html mails in PHP by mail() function, this function is not providing to sent attachment file by default, so here i write a function using mail() function to send the email with attachment. Below is that I wrote and modified to send email with attachment and how to us