$args = array( 'post_type' => 'beers', 'post_status' => 'publish', 'numberposts' => -1, ); $beers = get_posts( $args );. This works fine, but ...
確定! 回上一頁