Direct script access denied.' ); } /* * This code is for showing Post Type icon * Don't Modify it. If, You haven't create new Post Type. */ global $post; $post_type_icon = get_post_format( $post->ID ); switch ($post_type_icon) { case "status": $articled_post_type = 'status'; $post_type_title = __( 'Status', 'articled' ); break; case "quote": $articled_post_type = "quote"; $post_type_title = __( 'Quote', 'articled' ); break; case "gallery": $articled_post_type = "images"; $post_type_title = __( 'Gallery', 'articled' ); break; case "image": $articled_post_type = "image"; $post_type_title = __( 'Image', 'articled' ); break; case "video": $articled_post_type = "video"; $post_type_title = __( 'Video', 'articled' ); break; case "audio": $articled_post_type = "audio"; $post_type_title = __( 'Audio', 'articled' ); break; case "link": $articled_post_type = "link"; $post_type_title = __( 'Link', 'articled' ); break; case "aside": $articled_post_type = "aside"; $post_type_title = __( 'Aside', 'articled' ); break; case "chat": $articled_post_type = "chat"; $post_type_title = __( 'Chat', 'articled' ); break; default : $articled_post_type = "standard"; $post_type_title = __( 'Standard', 'articled' ); } if ( $articled_post_type !== 'status' ){ echo '' . __( 'Post type is', 'articled' ) . ' : ' . esc_attr( $post_type_title )
                      . ''; } else { echo ''; } // abhi ke liye bnd if(is_single()): if ( $articled_post_type !== 'status' ){ $articldums = '' . 'Post type is' . ' : ' . $post_type_title
                        . ''; } else { $articldums = ''; } endif; ?>