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:
<a href=”https://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D=GI%20JOE%202%20Retaliation%20Trailer%202%20-%202013%20Movie%20-%20Official%20%5BHD%5D&p%5Bsummary%5D=..etc..etc
I want it to be like:
&t=’video-title'”>Facebook
and all the other information in the header tags (from my videogallery-template).