January 2014

  • WordPress Custom Post Type with Taxonomy

    This is code for create custom post type in wordpress which write in function.php.In our code post-type=tank and taxonomy=study_tank. add_action(‘init’, ‘tank_register’); function tank_register() { $labels = array( ‘name’ => _x(‘My Study’, ‘post type general name’), ‘singular_name’ => _x(‘My Study Item’, ‘post type singular name’), ‘add_new’ => _x(‘Add New’, ‘My Study item’), ‘add_new_item’ => __(‘Add New… Continue reading

Design a site like this with WordPress.com
Get started