Location and number of views
-
I’m using the Voxel theme and would like to create columns for some fields in my custom post type (CPT). Specifically, I want to display the city/post code and the total number of views.
Currently, my setup looks like this: https://imgur.com/cIws9bh
In the Voxel theme, I retrieve the information using shortcodes:
- For location:
@post(location.medium_address)
- For total views:
@post(:stats.views.all)
- For location:
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.