Okay
  Public Ticket #3226305
Play Count
Closed

Comments

  • mattia started the conversation

    Hi, how can I show plays count for each track? I'm developing a wordpress theme.

  •  1,114
    Max replied

    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

  • mattia replied

    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

  •  1,114
    Max replied

    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

  • mattia replied

    What about collecting post data?

  •  1,114
    Max replied

    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

  • mattia replied

    thank You!