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 […]
I use WAMP server for my development on localhost. I was working fine with wamp. Suddenly I am facing a problem that I never saw on localhost. When I am […]
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 […]
Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. Download Slim FEATURES Powerful router Standard and custom HTTP methods Route parameters with wildcards […]
Script for Self hosted Learning Record Store Supporting Tin Can API This guide was originally posted at http://www.tincanapi.co.uk/wiki/Guide:PHP_Simple_LRS . Due to an error this site is not accessible now. I collected this […]