There are 11 tutorials, but we are adding more :)
Back to all tutorials

Creating a PHP Function to Count All Published Posts

In this tutorial, we’ll show you how to create a simple PHP function to do just that using the Bricks theme. With the help of WordPress WP_Query class, you’ll be able to get the total number of published posts in no time.

This part of the tutorial requires you to be logged in

Log into your account or get access to all tutorials by clicking a button below.