This is an old trick, but in case you missed it i am re-publishing it. This is a really simple thing to do. Just follow these steps.
For WordPress Theme Designers sometimes PHP is better than shortcodes. So in this post, I will show you how to add countdown widget to your theme using PHP code. In order to use this method, you need to know some basic PHP editing and have a beginner level WordPress theme editing experience.
While designing custom navigations, custom page templates, custom sidebar elements you may need to test current page. Here is a simple trick for getting current page.
Archive indexes are a good way to organize your posts, but if there is only one post in an archive page it can be just a waste of time. Here i will give you a small #snippet to jump directly to the post page.
Altough shortcodes are made to be used in post content, you can sometimes need it’s functionality in your wordpress theme designs. Here i will show you how to easily use any shortcode in your page templates.