Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $cat_posts = get_posts('post_type=post&category=' . $cat->term_id . '&numberposts=-1'); ?>
- <?php $cat_probs = get_posts('post_type=probsoln&category=' . $cat->term_id . '&numberposts=-1'); ?>
- <?php $count = count($cat_posts); ?>
- <?php $count_prob = count($cat_probs); ?>
- <?php
- $cat_posts = get_posts('post_type=post&category=' . $cat->term_id . '&numberposts=-1');
- $cat_probs = get_posts('post_type=probsoln&category=' . $cat->term_id . '&numberposts=-1');
- $count = count($cat_posts);
- $count_prob = count($cat_probs);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement