🔢 Voxel Post Type Counters – Auto Count & Display Setup Guide
Counts the number of published posts for each post type on your website and makes those numbers available inside Voxel’s Dynamic Tag Manager.
📌 What This Does
Every time a post is published or deleted, this function:
✅ Loops through all public post types
📊 Counts how many published posts each has
💾 Stores that count as a WordPress option like:total_post
, total_page
, total_resource
, etc.
These counts can be reused anywhere in Voxel using a custom Dynamic Tag modifier! @site().get_site_option(total_post)
 ✨
Post Type Counter with Voxel Dynamic Tags
Add this inside your functions.php
No results available
ResetNo results available
Reset