Voxel Counter of Post Relations

  • Member Access
  • The code snippet will check the number of post relations of your post. In our example, we use “feature-request” post type key, When a feature request is created or updated, the function will run and check the database for voxel post relations, so that the hidden field “total_myposttype” will get updated with the total number […]

The code snippet will check the number of post relations of your post.

In our example, we use “feature-request” post type key,
When a feature request is created or updated, the function will run and check the database for voxel post relations, so that the hidden field “total_myposttype” will get updated with the total number of post relations.
Now you can use this field for sorting, filtering and display.

Create a number field in your post type called “total_myposttype”

Add a post relation field with the custom key “myposttype”.

Edit the $post_type_config arrays from the code.

  • UI/UX Designer & Wordpress Developer
  • Filter by
Keywords
Open tickets
Latest activity
Latest created
Voxel Counter of Post Relations

No results available

Reset
  • Filter by
Voxel Counter of Post Relations
Keywords
Popularity
Latest activity
Latest created

No results available

Reset
  • Other Resources
The live notifications checker plugin is a Facebook notifications replica. updates LIVE the title page with (9) the number of unseen notifications and messages + a red dot to the favicon let’s you setup how often to do the check from Tools > Notifications Checker shows unread tab notifications even in between sessions or devices […]
The addons you must have for Voxel WordPress theme
  • Third-party
  • 2
Fast WordPress Hosting, Without Empty Promises
  • Third-party
  • 1