Posts per page query
-
I may be going about this totally backward but I’m trying to create some logic that is basically this:
if # of posts in a category is < # of posts per page(set in wordpress settings)
then
do not display the elements [here]
else
the code as normal
end ifdoes anyone know what i could use to query the number of posts in a category w/o inputting a specific category id? also, what do i use to reference the current setting of posts per page?
TIA
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Posts per page query’ is closed to new replies.