Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp_query post count

$args = array(
  'post_type' => 'schusslersalz'
);
$the_query = new WP_Query( $args );
echo $the_query->found_posts;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #post #count
ADD COMMENT
Topic
Name
9+7 =