How to add custom post type in wordpress

Open “function.php” add the following code to add new custom post type :
<?php
add_action(‘init’, ‘featured_post_register’);

function featured_post_register() {
$labels = array(
‘name’ => _x(‘Featured Posts’, ‘post type general name’),
‘singular_name’ => _x(‘Featured Posts’, ‘post type singular name’),
‘add_new’ => _x(‘Add New’, ‘featured posts’),
‘add_new_item’ => __(‘Add New Featured Posts’),
‘edit_item’ => __(‘Edit Featured Posts’),
‘new_item’ => __(‘New Featured Posts’),
‘view_item’ => __(‘View Featured Posts’),
‘parent_item_colon’ => ”
);

Read more…

Security issues with Android Smart-phones

One of the biggest knocks against Android is that it’s not secure enough for enterprise use, but things are getting better.

Several Android security issues do exist, especially when it comes to Android app security, centralized management and the ability to protect data on lost or stolen devices. These are all legitimate reasons for organizations to think twice before letting Android devices into the corporate environment. Improvements in Android 3.0 Honeycomb and Android 4.0 Ice Cream Sandwich, however, are starting to address these risks.

Read more…

What is iPhone?

iPhone is a smartphone made by Apple that combines an iPod, a tablet PC, a digital camera and a cellular phone. The device includes Internet browsing and networking capabilities.

iPhone is extremely thin (only 11.6 millimeters thick) but wider and longer than many comparable devices. The display area is a 3.5-inch wide screen multi-touch interface with unusually high resolution (160 pixels per inch). Unlike most other smartphones, iPhone does not use a hardware keyboard or a stylus. To navigate, a user uses multiple taps and drags to navigate through a mobile version of Apple’s OS X operating system. Like iPod, iPhone synchronizes data with a user’s personal computer, using iTunes as a client software and Apple’s proprietary USB port. iPhone is compatible with Microsoft’s Windows operating systems, including Vista.

Read more…

How to change the XAMPP server port number

New blog post : To change the XAMPP server port number
Click here to know more

How to create new user in PhpMyAdmin at localhost

New blog post : How to create new user in PhpMyAdmin at localhost
Click here to know more

Follow

Get every new post delivered to your Inbox.

Join 52 other followers