Hello I am using a custom post type “Podcast” and I was using your custom Post Format to display the audio embed code for this custom post type.
When logging in, I noticed that when I create a new custom post, the field that used to appear and allow me to add the embed code, no longer appears.
Has something changed recently?
Thanks!
=====================
update:
I know that I had implemented some custom coding in the past to make this work, by making edits to setup.php and meta-entries.php, but it looks like the structure of where these need to be located in the child theme has changed and the old code no longer works.
on meta-entities.php I have added this:
x_register_meta_box( array(
'id' => 'x-meta-box-audio',
'title' => __( 'Audio Post Settings', '__x__' ),
'description' => __( 'These settings enable you to embed audio into your posts.', '__x__' ),
'page' => 'podcast',
'context' => 'normal',
'priority' => 'high',
'fields' => array(
array(
'name' => __( 'MP3 File URL', '__x__' ),
'desc' => __( 'The URL to the .mp3 audio file.', '__x__' ),
'id' => '_x_audio_mp3',
'type' => 'text',
'std' => ''
),
array(
'name' => __( 'OGA File URL', '__x__' ),
'desc' => __( 'The URL to the .oga or .ogg audio file.', '__x__' ),
'id' => '_x_audio_ogg',
'type' => 'text',
'std' => ''
),
array(
'name' => __( 'Embedded Audio Code', '__x__' ),
'desc' => __( 'If you are using something other than self hosted audio such as Soundcloud paste the embed code here. This field will override the above.', '__x__' ),
'id' => '_x_audio_embed',
'type' => 'textarea',
'std' => ''
)
)
) );
It was working before as the podcasts have audio embeds, but adding new ones does not render the meta-box anymore
========
update2:
When I make the change to the meta-entries.php file in the main theme, the change works, but when I add it to the child theme the file is not overwriting.