-1, 'post_type' => 'wp_show_posts', 'post_status' => 'publish', 'showposts' => -1 ); $posts = get_posts( $args ); $count = count( $posts ); $types = array(); if ( $count > 0 ) { foreach ( $posts as $post ) { echo 'ID ) . '>' . $post->post_title . ''; } } ?>