So, I'm developing a portal where users can upload their songs. At the moment I'm developing the "single-track" page, but the problem is that I have to figure out which are the custom fields that are used to fetch the data created in the track. the player instead I was able to implement it by copying the code of the frontend page of your plugin. Concluded this then I would like to add a counter that auto increments every time someone presses the play button of the track so that I can create a page that collects the most listened to songs
Hi, how can I show plays count for each track? I'm developing a wordpress theme.
Hi,
Can you tell me a bit more about the theme you are developing and how you include MP3 Audio Player into it?
Thanks,
Max from the Sonaar.io Crew
So, I'm developing a portal where users can upload their songs. At the moment I'm developing the "single-track" page, but the problem is that I have to figure out which are the custom fields that are used to fetch the data created in the track. the player instead I was able to implement it by copying the code of the frontend page of your plugin. Concluded this then I would like to add a counter that auto increments every time someone presses the play button of the track so that I can create a page that collects the most listened to songs
Hello Mattia,
Unfortunately we dont have a play count available. The stats we are offering are done through Google Analytics
Thanks,
Max from the Sonaar.io Crew
What about collecting post data?
Hi,
we use CMB2 for our custom fields. You can read the official documentation on how to display the custom fields here: https://github.com/CMB2/CMB2/wiki/Basic-Usage
You can find all the custom fields created in the plugin folder in /admin/class-sonaar-music-admin.php
Thanks,
Max from the Sonaar.io Crew
thank You!