I have to convert few categories to tags and put all those post which are holding the current categories, which are going to become tags, to new categories. We have facility in Wordpress to convert categories to tags. You will find this link in Categories menu inside Post section. Please check at the bottom section.
By [...]
Here are few very common string functions in PHP for those who are new to PHP. In that case just familiarize with these functions.
addslashes
Add backslash (\) before characters that need to be quoted before inserting into database. Those characters where backslash will be added are single quote (‘), double quote (“), backslash itself (\) and [...]
Here is a script for getting file extension. It will take care of the file name like this: yourfilename.inc.php etc and not only filename.inc or fileename.php. It will get your last part of file irrespective of how many dots in file.
<?php
// will get the file name out of whole path (path/to/file.inc.php)
$filename = basename($filePath);
// split it [...]
I have recently changed RSS feed address from boring/long to short URL. In feedburner you have facility to create new feedburner address and use new feedburner URL. Old address can be pointed to newly created feedburner URL address. There is a facility to set window period of deleting the old feed address so that all [...]
Google ask your preferred domain in webmaster. Preferred domain is one which you like to appear on search result page. Google will try to index your site according to preferred domain of your choice. So, web site satya-weblog.com can appear as http://satya-weblog.com or http://www.satya-weblog.com. I have set my preferred domain as http://www.satya-weblog.com.
Link may point to [...]
Are you using free sitemeter stat counter code? If yes, then you may have faced the problem of visible sitemeter image appearing on the page. Here I am not going to tell, how to hide or remove this image, as this image appear for free account, so think of it as part of agreement.
What I [...]
Are you a data juggler? Need lots of data to eat, drink and play! Then join LazyFeed. It gives live feed updates from numerous web sites across the web in real time. You will feel full (fool!) of stomach. I tried it and thought who can use this? May be marketing person or may be [...]
Using Wordpress and filled all the spaces in sidebar and navigation with multiple widgets or text content, And finding no space for Categories! No worries, you have another place to add your blog categories. Add all categories at the bottom of the web site.
Generally categories become so many in numbers that you cannot add all [...]
Easy and step by step guide of Importing and installing wordpress on localhost. This will help in considering any possible thigns you need to modify also.
Finding the correct relative path for use in you php page for include/require.