durgesh1 0 Newbie Poster

i add category in custom post type from wp admin
and add post in that category every thing is fine here but when i click on category name on front no post is displaying
please help me

<?php
/*
Plugin Name: Institutions
Plugin URI: http://adninfosystem.com/
Description: This can be used to add custom Institution type.
Version: 1.0
Author: Adn Infosystem
Author URI: http://adninfosystem.com/
License: GPLv2
*/

add_action( 'init', 'create_Institutions' );

function create_Institutions() {
    register_post_type( 'Institutions',
        array(
            'labels' => array(
                'name' => 'institutions',
                'singular_name' => 'Movie Review',
                'add_new' => 'Add New',
                'add_new_item' => 'Add New Institutions',
                'edit' => 'Edit',
                'edit_item' => 'Edit Institutions',
                'new_item' => 'New Institutions',
                'view' => 'View',
                'view_item' => 'View Institutions',
                'search_items' => 'Search Institutions',
                'not_found' => 'No Institutions',
                'not_found_in_trash' => 'No Institutions found in Trash',
                'parent' => 'Parent Institutions'
            ),

            'public' => true,
            'menu_position' => 15,
            'supports' => array( 'title', 'editor', 'comments', 'thumbnail', 'custom-fields' ),
            'taxonomies' => array( 'category' ),
            'menu_icon' => plugins_url( 'images/image.png', __FILE__ ),
            'has_archive' => true,
               'rewrite' => array('slug' => 'institutions'),
        )
    );
}


?>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.