Creating separate database table for Multisite WordPress

March 28th, 2018 by

Recently, I have been struggling to get this right. Creating a separate database tables for Multisite. Multisite has option for “Network Activate”. When enabling the plugin, it should create a separate database table for each of the site. At the same time we also need to consider that it should be deleted when we “uninstall” […]

New website developed for Orthopedic Surgeon

February 5th, 2018 by

I am thrilled to announce, my latest project of an orthopedic surgeon website is now LIVE. For this website, I have used complete drag and drop mechanism, so that doctor himself will be able to edit any part of his website on his own. Also used various type of keywords so that the website comes […]

How to customize dashboard by removing unnecessary menu or widgets

October 3rd, 2016 by

When creating a user based wordpress website, it is important to remove all the unnecessary information from the website. Although assigning capabilities does most of the job for you. Actually ‘capabilities’ is the most important part because it makes sure that users don’t access pages that they are not supposed to. But coming back to […]

How to add single category posts template to your wordpress theme

September 28th, 2016 by

Recently, I was implementing a private site in wordpress. So, I wanted to give privilege to some users only to be able to read posts under a certain category say¬† ‘news’ . But according to wordpress template hierarchy only categories can have separate templates by using category-{slug}.php But there is a way out for single-{category-slug}.php […]

How to add WPML Language Code to body class

August 20th, 2016 by

In various scenarios it is very much required to show/hide few things in different language using CSS/Javascript. The most handy way I found is to add language code to the body class. But how do we do that? I am using WPML for different languages, so they provide a Simple PHP Code ICL_LANGUAGE_CODE . Add […]

How to hide titles with empty menu in widgets

August 19th, 2016 by

Scenario: It can be possible with multiple language website. When you have a menu in one language but not in another.

Solution to it is very simple. Hide it using JQuery