How to use Mandrill as SMTP server for WordPress site

How to use Mandrill as SMTP server for WordPress siteI have come across a situation where my web host does not provides the facility, as you understand pretty well that in this world of Information Technology you cannot imagine a website without any the facility, it is a must. Now when your webhost doesn’t provide you with email functionality, what do you do? There…

Read More

List WordPress pages in custom order

List WordPress pages in custom orderStep 1: Paste this code in the template file where you want the list of pages to appear. [php] <?php $args = array( ‘authors’      => ”, ‘child_of’     => 0, ‘date_format’  => get_option(‘date_format’), ‘depth’        => 3, ‘echo’         =>…

Read More

Automatically add logout login link to your WordPress navigation menu

Automatically add logout login link to your Wordpress navigation menuThere is a really simple piece of PHP code that you have to drop in the functions.php file in your currently activated theme. And with this only, it will add a new list item in the menu that will show Logout URL if user is logged in, else a Login URL is shown. [php] add_filter(…

Read More

How to dynamically generate PDF files from HTML using PHP

How to dynamically generate PDF files from HTML using PHPYesterday only a client got me in a situation where we we need PDF files to generated dynamically. As I went on with some research, I got to know about this awesome PHP library called mPDF. It is a vast library with almost all the required features and on top of it, it is GPL or free, in layman’s word. Link…

Read More

Magic of wp-config.php

Magic of wp-config.phpIf you are a WordPress dev, then there are high chances that you have heard about wp-config.php file. It is the heart and soul of any wordpress installation, still it holds the switch for large number of WordPress functionalists but only a few are know a niche user. Lets dig into wp-config.php, and see what treasure can we find for ourself that can…

Read More

Flikr like loader using CSS3

Flikr like loader using CSS3Hello folks, CSS3 is indeed a darling technology that has made life of web designers a lot easier. Anyone, even young designers can find the influence of the CSS3 in daily life, as it has reduced the time required to get a site up and running. Also now JS is used primarily in functional fronts rather than animation, because CSS3 has taken that…

Read More