Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1377952

    Hello!

    I’ve added an audio player with multiple tracks to a website. Each track has “double quotes around the track name”.

    How do I get rid of those double quotes?

    #1377964

    Hey JeffBianchi,
    Thanks for your question, these quotes are added by WordPress, to remove them try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_filter('gettext_with_context', function($translated, $text, $context, $domain){
      if($context = 'playlist item title' && $text == '“%s”') $translated = "%s";
      return $translated;
    }, 10, 4);
    

    Best regards,
    Mike

    #1377984

    That worked, Mike! Thanks so much.

    #1377985

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Double quotes around tracks in audio player’ is closed to new replies.