perler
7/7/2015 - 12:37 PM

functions.php

<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );

function theme_enqueue_styles() {

    $parent_style = 'parent-style';

    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/rtl.css' );

    wp_enqueue_style( 'child-style',
        get_stylesheet_directory_uri() . '/style.css',
        get_stylesheet_directory_uri() . '/rtl.css',
        array( $parent_style )
    );
}


function my_filter_audio_shortcode( $html ) {
       
        if ( false !== strpos( $html, 'visibility: hidden;') ) {
                $html = str_replace( 'visibility: hidden;', '', $html );
        }
 
        return $html;
}
add_filter( 'wp_audio_shortcode', 'my_filter_audio_shortcode' );