You may want to publish your WordPress post just right now but post date will be a future time. By default WordPress doesn’t have such option. Here I will show you a very simple trick to do this. Continue reading
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
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
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 theme settings, you have to either upload new files form your computer or using files from WordPress media library. You can create a file upload system with your plugin easily that will not well organized. But you can use WordPress media upload library instead. There is no documentation/guide for adding this media uploader functionality in your own settings page. Here I am writing a guide to use this media uploader very easily.
Contents and files are the main assets of your website/business. In some case/business you may want to show your content only for websites members who are logged in. Assume you are showing a video/audio/image in your post content and you want to allow this file for only logged in users or some specific users or groups. Or you want to sell some downloadable files and your authorized users can download the file. Ok, your php/wordpress script generates your protected page only for authorized people. Continue reading
Google+ is the most trending social networking website we know. It is increasing day by day. There is a lot of SEO benefit if you/your-page are connected with other Google+ users. There may have some aplications those need google+ users’ profile ID to send message, friend request, invite to circle etc. All users are identified by its unique ID. If you know any user’s ID you can get his some public information very easily by using some google API. I had a question , how can I get all google+ user’s profile ID. I did not get the answer anywhere. I had an idea to search that. Users’ profile page is public by default and it is being indexed in search engine. So there must have an open url to get all Google+ profile page urls.