• Hello, great forums. I have a minor programming problem I’m trying to solve. I have successfully embedded a video in a WordPress blog https://www.BrokenCredit.com (specifically in sidebar.php), but I do this by setting page_id = 9999999 (for HI video) or page_id = 8888888 (for LO video). I then read that variable in sidebar.php — Problem is the rest of the blog doesn’t like the bogus page_id, so how can I get the blog to IGNORE the page_id when it is 9999999 or 8888888 and display the blog posts as normal?

    https://www.BrokenCredit.com

    You can click on the video (HI or LO) to see what I mean, I get a “Sorry, no posts matched your criteria” when the video is clicked. I think somewhere in index.php or “The Loop” I need to make it IGNORE the page_id when it is 9999999 or 8888888 (unless someone can think of a better way of embedding the video and getting it to play).

    Thanks!

    Phil P

  • The topic ‘Embedding Video in page’ is closed to new replies.