Vertical Centering an Image

Recently I had to vertically center an image, I tried all the css tricks. Making wrapper div as table and then inner div as table-cell with css property vertical-align:center. On the other side it’s very easy to do with JQuery. <div class=”image_wrapper”> <img src=”” alt=”” class=”my_image”/> </div>   jQuery $(window).load(function(){ //get the height of the …

20 Snippets and Hacks to Make WordPress User-Friendly for your Clients

The snippets below will allow you to control almost all aspects of WordPress` Admin area and customize it to benefit your clients level of tech comfort. Disabling Plugin Deactivation This snippet is particularly useful if you have given a client plugin activation/deactivation privileges (allowing them to add new plugins themselves), but the site you have …