Aller au contenu
FR

Calculate Post Meta Key – Post Type Percentage

Version audio de cet article

Calcul Pourcentage Post Meta Key – Post Type :
This tutorial will allow you to calculate the total percentage (Num) of a Meta post of Post type’s 100%.

In our example, we using a viavideos post type. We have various meta posts that will allow us to fetch the video’s language.

We want to display the video’s percentage in a language according to the total number of videos.

We also have a calc function in our files and display example for a language meta post. This tutorial is well documented and explains what it displays.

Note: The progress bar is displayed via a CSS bootstrap. Simply add the CSS line in your header or user your own progress bar.

Calculate Post Meta Key – Post Type percentage