Embedded Video Doesn’t Display
-
I’m developing a custom theme that is supposed to display a YouTube video on
front-page.php
. The theme uses a custom loop to pull the most recent post with a specific category name and display it. The posts in this category just contain an embedded YouTube video which I’m embedding by simply entering the URL for the video in the post without any sort of formatting added. The weird part is the video displays properly in the post editor and in the single post view, but the front page template is just displaying the URL as text. I would suspect a problem with the template but my development box has not had this issue. I updated both my development box and the non-production server to WordPress 4.8 and the issue persisted. I found somewhere on the web that it might have to do with the https in the URL so I tried removing the ‘s’ with no change. My question is whether anyone else has run into this issue and if so what in the world is going on? Thanks!
- The topic ‘Embedded Video Doesn’t Display’ is closed to new replies.