NB: Make sure you do a back up of your theme, files and database before attempting the tutorials

Intermediate

---- Last modified : Sep 10 2022

Estimated reading time : 0 minutes, 45 seconds - 131 words

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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>