How to Fix: WordPress database error Duplicate entry ‘0’ for key ‘PRIMARY’ for query INSERT INTO `wp_usermeta`

August 21st, 2019 by

Recently, when I was playing with the multisite feature of WordPress I came across this error I understand that there is some problem in the database table wp_usermeta. Well, actually what I was trying to do is to convert my present wordpress single site to multisite. And during this process I suddenly started getting this […]

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

WordPress 4.6 “Pepper”

August 17th, 2016 by

Version 4.6 of WordPress, named “Pepper” in honor of jazz baritone saxophonist Park Frederick “Pepper” Adams III, is available for download or update in your WordPress dashboard. New features in 4.6 help you to focus on the important things while feeling more at home.   Streamlined Updates Don’t lose your place: stay on the same […]

Why You Should Use WordPress?

June 16th, 2016 by

Why You Should Use WordPress? Often beginners ask us: Why should I use WordPress? Isn’t my old site good enough? Why do I need to switch to WordPress? If you’re asking these questions, then you’re at the right place. In this article, we have compiled a few reasons why you should use WordPress, in what […]

WordPress 4.5.2 Security Release

June 15th, 2016 by

WordPress 4.5.2 is now available. This is a security release for all previous versions and we strongly encourage you to update your sites immediately. WordPress versions 4.5.1 and earlier are affected by a SOME vulnerability through Plupload, the third-party library WordPress uses for uploading files. WordPress versions 4.2 through 4.5.1 are vulnerable to reflected XSS […]