Forum Replies Created

Viewing 1 replies (of 1 total)
  • changing the wp core files is never a good idea. You can remove the visibility:hidden; from the audio style element with the following filter.

    add_filter( ‘wp_audio_shortcode’, ‘audio_short_fix’, 10, 5 );
    function audio_short_fix( $html, $atts, $audio, $post_id, $library )
    {
    $html = str_replace ( ‘visibility: hidden;’ ,” , $html );
    return $html;
    }

    But I am still not able to get the audio to show in a header widget area. w-_head() amd wp_footer() are in place in the theme. The audio shortcode does work in a page or post. do shortcodes for the widget area has been enabled in functions.php. The short code is in a text widget.

    Here is a test page with an audio shortcode in the page and in the header on the right which can’t be seen.

    https://stagefright.com/test/

    Any help would be appreciated.

Viewing 1 replies (of 1 total)