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

WordPress Solutions: Add New Custom Field Not Working

If you are having an issue adding a new custom fields in your wordpress blog, here is the possible solution. Problem: Add New Custom Field Doesn’t Work at all. When you click on “Add Custom Field” nothing happens! Solution: Refer … Continue reading

Posted in General | Leave a comment

Highlight the Background of Current Page in WordPress

I was stucked finding an easy solution to highlight the background of the current (active) page in wordpress. The solution is however too simple. Just add the following CSS code in your stylesheet (style.css) #menu_id li.current_page_item a{ background:#2E8DE6; } Note: … Continue reading

Posted in General | Leave a comment

Hello Web!

Welcome to BhupendraKunwar.com – a meeting place for web freaks. The objective of this website would be to encourage the web users- novice web users, web developers, web researchers , web traffickers, web promoters and web masters to contribute some … Continue reading

Posted in General | Leave a comment