Glad you got it figured out. BTW, that particular code in the functions file is supposed to add the featured image above the title on “Single” pages. If you want, you can remove or comment that block of code out if you’d prefer not to have it show up on those pages.
It’s not a requirement for it to be there, I just added it in as an extra feature.