Displaying different custom post types under one admin menu

step 1: paste below code in your function.php (change the post_type)

function house_a() {
    $args = array(
        'post_type' => 'house_a',
        'post_status' => 'publish',
        'posts_per_page' => -1,
        'caller_get_posts'=> 1
    );
    $my_query = null;
    $my_query = new WP_Query($args);
    if( $my_query->have_posts() ) {
        $returnvariable = "";
        while ($my_query->have_posts()) : $my_query->the_post(); 
            $returnvariabla .= get_the_content();
        endwhile;
        return $returnvariable;
    }
    wp_reset_query();
}
add_shortcode("house_a","house_a");

function house_b() {
    $args = array(
        'post_type' => 'house_a',
        'post_status' => 'publish',
        'posts_per_page' => -1,
        'caller_get_posts'=> 1
    );
    $my_query = null;
    $my_query = new WP_Query($args);
    if( $my_query->have_posts() ) {
        $returnvariable = "";
        while ($my_query->have_posts()) : $my_query->the_post(); 
            $returnvariabla .= get_the_content();
        endwhile;
        return $returnvariable;
    }
    wp_reset_query();
}
add_shortcode("house_b","house_b");

step 2: paste the below shortcode in your display page

[house_a]
[house_b]

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)