How to get the Widget ID in wordpress

In this Post I will share a short snippet which will display the widget id inside the widget form. One can also get the widget id by inspecting the html but I find that rather tedious and user unfriendly.  So I wrote this short snippet. All you need to do is include it on your […]

How to Add Google Analytics to WordPress Admin Panel

Recently I was in a situation where I wanted to track the Pageviews for the admin panel.  Since I use Google Analytics on all my websites, I decided to add it  to all the admin pages. Since there are no plugins to specifically add google analytics code to admin pages, I wrote a short snippet. […]

How to Add Categories and Tags to Pages in WordPress

By default WordPress does not allow a user to add categories to Pages. However adding categories and tags to Pages is quite simple. In this post I will share a code snippet which allows you to add Post categories to Pages. Here is what we will be doing: We will link Category and Tag Taxonomy […]