No, I understand what you mean, they have been appended and prepended with jQuery. He likes it like that and prefers if they’re there, so I am just letting him do what he wants with it. I told him that navigation should really be at the top of the page but he prefers it where it is.
Here you can see how mine is setup. If you scroll down, look for ‘My Custom Meta Box’, that content displays in my sidebar as a description. You would add that under the input field for your YT videos if he requires that to be a feature.
The whole of the PHP code is meant to go into my sidebar.php file? When I did that I got a load of errors. And if I put the code in my functions.php file how does it know to output to the sidebar.php file? It’s confusing, haha.