Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="group">
- <?php
- $published_posts = wp_count_posts('portfolio')->publish;
- echo $published_posts;
- ?>
- <?php
- if (have_posts()) : while (have_posts()) : the_post();
- the_title();
- endwhile;
- endif;
- ?>
Add Comment
Please, Sign In to add comment