 <p>This is a WordPress site I believe?</p> <p>If so you need to look at editing the theme template file that is responsible for showing the preview of your post on the category pages and remove the section where it is showing images/videos from the post.</p> <p>Unfortunately not knowing what theme it is you are using or what the file names are called it's hard to tell but look for a page template which has the word home or categories in it or open up the category.php from within your activated theme folder if you have them to see if you can find something related to this and comment it out to see if it fixes it.</p> <p>Also try adding the following inside your custom function:</p> <pre><code>$content = preg_replace("/&lt;embed[^&gt;]+&gt;/i", "", $content, 1); </code></pre>