When you are creating a WordPress plugin to play with users’ profile meta data, you may need to use some different meta data those are not exists in user profile page. So you must want to have new custom meta field with user profile. Sometimes we call it user custom field. How to do add this custom field? Here I will show you the complete code snippet and a simple demo plugin. Continue reading
Monthly Archives: March 2013
How to Point WordPress Default Media Upload Directory to New Location
WordPress stores your media files like image, video, audio, flash etc in a default location in the wp-content/uploads directory. The default media upload directory is wp-content/uploads/ . But if you don’t want to use this directory, you want to store your media files in another location. WordPress has an option to change this default media uploads location. Its very easy way but if you are very new to WordPress you may think it difficult. So what to do for this? Continue reading
WordPress Problem to Pass External Domain as URL Query String Parameter Value
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 domain (Cross Domain). It shows not found page. I am trying call a static story.html file from my upload directory. I have to pass some query string with URL of my story.html file. But when I am trying to pass some query parameter in the URL then I am going to a not found page. Continue reading
