Custom Fields
Support MB Custom Post Type Creating a custom post type with an audio playing field

  • Creator
  • #27947

    I want to create a CPT in which I will need three custom fields, one for a title, one for an image, and one for an audio file
    and in the front end, I want that audio file to be playable like I can click to play the sound file or stop it

Viewing 1 replies (of 1 total)
  • Author
  • #27951
    Long Nguyen

    Hi Buxroll,

    Thank you for reaching out.

    If this is the first time you use Meta Box, I recommend following the documentation to know how to create custom fields and display their value on the frontend. You also should have a basic knowledge of PHP, HTML, CSS code to use full features of Meta Box.

    For the audio file upload, you can warp the field value in the <audio> tag. See more here

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.