You are here: Home » Counting the posts of a custom WordPress loop (WP_Query)
Counting the posts of a custom WordPress loop (WP_Query)
Quick and simple:
1 | $count = $custom_posts ->post_count;
|
Revisions: (Show)
Revisions
- October 18, 2013 @ 00:34:10 [Current Revision] by PeterLugg
- October 18, 2013 @ 00:34:10 by PeterLugg
Tags: count posts, WP_Query
No comments yet.