Centering elements vertically with CSS is something that often gives designers trouble. This may look simple, but for those who code rarely on CSS, there is a high probability that they miss out on few things. I personally had an experience, so this tip might help few folks out there. For a variable amount of…
Count Total Number of Posts For Current Month
It is a very common need in WordPress environment to count and display total number of posts for a required time parameter like month, day, week, year etc. Here we are going to share a code snippet that will help you to achieve this task easily. This code will help you to count total number…
Remove Wrong WP Login Shake Effect
When you enters wrong login credentials in WordPress login page, the screen shakes. It’s actually the part of WordPress. I personally find this UI experience to be a bit annoying. The red error box seems to be enough to get the message across without a shaking effect. If you do not like this shake effect…
How To Protect WP Uploads Folder
By default WordPress is very secure but you can still improve it. This is a code you need to apply in a new .htaccess file you will upload in the ‘wp-content/uploads’ folder. By default WordPress is configured to use the ‘wp-content/uploads’ directory. You can think of it as ‘box’ where your media files or images…