Ashley Cameron Design

Ashley Cameron Design

Shop the Creative Design Market

Good morning

Total Number of Posts in a Category

SnippetsWordPress

About a 1 minute read

"What you seek is seeking you."

Rumi


1
$totalposts = get_category_by_slug("mycategoryname")->category_count;