Category Archives: General

Import Excel File into MySQL Database using PHP

You can easily import your data from any Excel file into MySQL Database using a simple PHP script and PHPExcelReader library. Steps to Import Excel file data into MySQL using PHP Script 1. Download the following library PHPExcelReader – http://sourceforge.net/projects/phpexcelreader/ 2. … Continue reading

Posted in General | Leave a comment

Using multiple versions of jQuery on the same page

Can I use multiple versions of jQuery on the same page? Yes! Thankfully, jQuery’s noConflict function comes to the rescue. Then, instead of using $(‘#selector’).function();, you can use jQuery_1_7_1(‘#selector’).function(); or jQuery_1_4_4(‘#selector’).function();

Posted in General | Leave a comment

Creating a Custom Post Type in WordPress

Creating a custom post types in WordPress is very simple. All you need to do is register the custom post type. Copy the function below to your theme’s function.php file The function below adds a custom post type “Ideas” with … Continue reading

Posted in General, Wordpress, Wordpress Hacks | Leave a comment

Show Post Comments on the Homepage Twenty Ten

The Twenty Ten theme uses loop function to show posts on the homepage or category pages. The novice users might find it difficult to work with loop.php If you want to show the list of comments & comment form for … Continue reading

Posted in General | Leave a comment

WordPress – Using Shortcodes in Template files

echo do_shortcode(‘[shortcode]’);

Posted in General | Leave a comment