WordPress dbDelta returns a SQL error when updating a table. It returns “Multiple primary key defined“. I was stuck for two days on this problem. WordPress shown me following error message […]
WordPress Filter Hooks on Creating Slug – Check Availability of Slug if That is Used by Post, Page, Taxonomy, or by Plugin I did not find any filter hook for choosing […]
A very easy way to publish your WordPress post just right now but post date will be a future time. Display future scheduled post to visitors. Here I will show you a very simple trick to do this. Just copy my simple PHP code snippet into your theme functions.php
A guide to add extra custom meta field with WordPress user profile. A complete code snippet and a sample demo plugin for plugin developer to learn and implement custom user meta in their own plugin.
Change your WordPress default media upload directory to new location. Store your media files in new location instead of wp-content/uploads . WordPress Media Library will access media files form your new directory. Here I am showing your how to do that.
Today I have discovered a strange problem of WordPress / Apache. WordPress / Apache is unable to handle an URL with a query string parameter containing a link of external […]
You may think your website is very new and not much popular. So none can try to hack your WordPress. If you think so then I will tell you are […]
A simple mistake of CSS style codes may increase your WordPress server usages and server may goes to slower down. In this article I will show you how a bad or old CSS code is harmful for your server.
We can insert any media files in our post content by clicking the button ‘Upload/Insert’ from post editor. But If you need to use files for your WordPress plugin or […]
In some case we need to store HTML data for our WordPrss Plugin or Themes admin settings/options. We want to add/edit this HTML in visual mood. So we must have […]