WordPress shortcode is very useful while creating new posts or pages. It is a nifty way to perform certain tasks in the post. For instance, if you want to add a youtube video or image gallery then WordPress shortcodes are quite useful. Many plugins provide their own shortcodes for displaying
WordPress : Display content to registered users only
During WordPress theme, or plugin development there are times when you want to show certain page’s content based upon the user. For instance, you want to display a download link to only registered users and display a Register link to un-registered or new users. So we are going to discuss
Empty WordPress trash automatically
WordPress has an inbuilt trash system which keeps your posts, pages, comments in trash for 30 days by default. However, WordPress has a way to change this default 30 days time period. We can even disable this feature such that WordPress does not empties the trash automatically. In order to
Add default content for a new post in WordPress
Most of the bloggers write the blogs in a certain format or at-least have a common signature or a punch line in every post on their blog. For example in my blog posts I always end the posts with Stay Digified!! Sachin Khosla So what if we can automate that
Zen Coding – a new way of writing HTML and CSS code
Zen Coding is a new and awesome way to write your HTML, XML, XSL. The concept of Zen Coding is based on a powerful abbreviation engine.
How to hide all icons from MAC desktop
How to hide all icons from MAC desktop and keep your desktop neat.
Cache burst refresh or hard refresh in MAC
Hence, here is the tip for my fellow developers who recently shifted to MAC on how to do a hard, cache less refresh on MAC machines.
Add PHP GD support to apache in Ubuntu Linux
PHP GD library is used to created images on the fly. This library is not installed or activated by default when you first install Apache on Linux. But GD library is used widely while developing websites.
Use rfkill to Enable/Disable Wireless on your Linux Laptop
Imagine a situation when you have to book an air/train ticket in a jiffy, or check an important mail quickly and the only option you have is a wifi connection from either your smart phone or surroundings, and you have only some Linux variant installed on your system.
Bought a BlackBerry … Read This!
Owing to recent craze of BlackBerry Smart Phones.. MANY people own one.
The youth especially seems to have gone crazy for BBs. If you have recently purchased a BlackBerry from a Grey-market / friend, chances are something is not “Default”. I will tell you how to make it right!
Where did RSS Feed icon in Firefox 4 go ?
Many firefox users including me used to love the RSS icon which used to be displayed in the address bar. It quickly lets you subscribe to the RSS feed of the current website which you are on. Strange that you have lost your favorite RSS icon in Firefox 4. If
Restore GRUB in Ubuntu after installing Windows
So, you had Ubuntu (or any of its derivative) installed on your system and then decided to install Windowswith it? And after installing Windows, you can’t load Ubuntu again, just follow the steps to get this working: Boot the system using a Ubuntu Live disk. After you reach the desktop,
Recommended Linux Partitioning Scheme
When we need to install linux on our systems, we need to partition our hard disk as we do for windows. In the case of windows, partitions are called as c: ,d:, e:, etc. But on linux they are represented in the form of following (there are many others, but these are the most essential):
First day with MacBook Pro for a windows users
I have been a Windows and Linux user ever since I came to know a computer is ! Yes, of course DOS as well in the beginning. Yesterday, was my first day with my MacBook Pro and just like the everyone else I too started to like MAC. As some