Hi, Thank you for your advice.
However, I don't use widgets so I can not do that.
I'd like to make my own custom 'videogallery' (your 'register_post_type' function) template.
In this template I would like to add my og video tags like:
<meta property="og:video" content="https://www.youtube.com/v/S3_AwK3ujQI&fs=1" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video:width" content="560" />
<meta property="og:video:height" content="315" />
In my single.php I have some content and within the content I also have 2 social buttons (fb and twitter). These social button are now being displayed at buttom of the custom post type 'videogallery'.
I don't want those buttons to be displayed, so how can I make my own videogallery template?
Also I want the information for the og and twitter comming from the header tags (from my own videogallery template)
So instead of this long url:
I want it to be like:
and all the other information in the header tags (from my videogallery-template).