{"id":804,"date":"2025-11-21T17:36:18","date_gmt":"2025-11-21T23:36:18","guid":{"rendered":"https:\/\/www.christianlifegroups.org\/share\/?p=804"},"modified":"2026-02-28T17:02:12","modified_gmt":"2026-02-28T23:02:12","slug":"how-to-fix-the-weird-codes-that-displays-on-the-audio-files","status":"publish","type":"post","link":"https:\/\/www.christianlifegroups.com\/blogs\/how-to-fix-the-weird-codes-that-displays-on-the-audio-files\/","title":{"rendered":"How to fix the weird codes that displays on the Audio files"},"content":{"rendered":"<p>Well, this weird codes showed up &#8230;<\/p>\n<p><!--more--><\/p>\n<h2>This,<\/h2>\n<p><code><\/code><\/p>\n<h4>The Word Became Flesh &#8211; (John 1:1-18) KJV<\/h4>\n<audio class=\"wp-audio-shortcode\" id=\"audio-804-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.christianlifegroups.com\/wp-content\/uploads\/2022\/01\/John_1_1-18_-The_Word_Became_Flesh.mp3?_=1\" \/><a href=\"https:\/\/www.christianlifegroups.com\/wp-content\/uploads\/2022\/01\/John_1_1-18_-The_Word_Became_Flesh.mp3\">https:\/\/www.christianlifegroups.com\/wp-content\/uploads\/2022\/01\/John_1_1-18_-The_Word_Became_Flesh.mp3<\/a><\/audio>\n<p>.<\/p>\n<h2>Became this, after export \/ import:<\/h2>\n<p><code><br \/>\n<\/code><\/p>\n<h4>The Word Became Flesh &#8211; (John 1:1-18) KJV<\/h4>\n<audio class=\"wp-audio-shortcode\" id=\"audio-804-2\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.christianlifegroups.org\/wp-content\/uploads\/2022\/01\/John_1_1-18_-The_Word_Became_Flesh.mp3?_=2\" \/><a href=\"https:\/\/www.christianlifegroups.org\/wp-content\/uploads\/2022\/01\/John_1_1-18_-The_Word_Became_Flesh.mp3\">https:\/\/www.christianlifegroups.org\/wp-content\/uploads\/2022\/01\/John_1_1-18_-The_Word_Became_Flesh.mp3<\/a><\/audio>\n<p>.<br \/>\nSo I will put this code &#8220;temporarily&#8221; on the functions file of my WP Theme. (Yup it was temporary because the code below didn&#8217;t work!\u00a0 LOL!)<\/p>\n<pre>add_filter('the_content', function($content) {\n    \/\/ Fix encoded double quotes\n    $content = str_replace('\"', '\"', $content);\n\n    \/\/ Fix URL-encoded closing quotes\n    $content = str_replace('\"', '\"', $content);\n\n    return $content;\n});\n<\/pre>\n<p>.<\/p>\n<h2>This one worked:<\/h2>\n<pre>\/\/ Theme snippet to fix audio shortcode quotes on display\nadd_filter('the_content', fn($content) =&gt; str_replace(['\"','\"'], '\"', $content));<\/pre>\n<p>.<\/p>\n<h2>SOLVED:\u00a0 So now you see two audio files instead of just one.<\/h2>\n<p>Sample why it is important&#8230;<\/p>\n<p>Click here:<\/p>\n<p><a href=\"https:\/\/www.christianlifegroups.com\/the-word-became-flesh-john-11-18-kjv\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.christianlifegroups.org\/the-word-became-flesh-john-11-18-kjv\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Each Topic, story, has a Text File (for the d\/Deaf community) and the Audio File (for the Blind Community also).\u00a0 I will be creating another Audio Bible that is not &#8220;plugin dependent&#8221; &#8211; I already wrote the codes last week and will just have to upload each and every file, but that will be &#8220;future-proofing it&#8221;, so even if I switch webhosts, or if I graduate from life or something, the next full stack developer who would inherit this project can have documentation on how I built this.\u00a0 (With God&#8217;s help!\u00a0 \ud83d\ude42 )<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, this weird codes showed up &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-804","post","type-post","status-publish","format-standard","hentry","category-digital-ministry"],"_links":{"self":[{"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/posts\/804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/comments?post=804"}],"version-history":[{"count":1,"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/posts\/804\/revisions"}],"predecessor-version":[{"id":1446,"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/posts\/804\/revisions\/1446"}],"wp:attachment":[{"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/media?parent=804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/categories?post=804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.christianlifegroups.com\/blogs\/wp-json\/wp\/v2\/tags?post=804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}