Guest User

Untitled

a guest
Dec 11th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1.                   <div class="group">
  2.                     <?php
  3.                     $published_posts = wp_count_posts('portfolio')->publish;
  4.                     echo $published_posts;
  5.                     ?>
  6.                    
  7.                   <?php
  8.                
  9.                     if (have_posts()) : while (have_posts()) : the_post();
  10.                     the_title();
  11.          
  12.                        endwhile;
  13.                       endif;                      
  14.                        ?>
Add Comment
Please, Sign In to add comment