Categories
CMS Mastering Development Wordpress

Replace word in “the_content” only for index.php

I have some posts with video tag that contains autoplay (they should autoplay when you access the post page). I am using the the_content to show these videos on index page. The problem is that when you access the home page, all the videos start playing. I have used the following function to remove it: […]