Yeah, I thought it may have been because of that. I did that because I didn’t find an easy way to make the layout for single.php be on the front page. So, I just made a duplicate of the single.php code for the front page.
That said, and as I said in the email I sent, I did save the old index.php code and tested your plugin with the original code. I get the same result with the original index.php.
Yes, no hard feelings. You’ve spent enough time on it already. I’ll figure it out on my own. Thanks for your help.