Social Open Graph meta data?
-
Hi team.
There is a plan to add meta data for any major social network? like Facebook, Twitter and Google. At last 3 important data like:
Title
Summary
Image (firs image in the topic/no image, use the user avatar)Cheers!
-
Hello @n3k0
Open Graph meta data is already implemented. Here an example for a forum at the official website:
<!-- Asgaros Forum: BEGIN --> <link rel="canonical" href="https://www.asgaros.de/support/forum/announcements/" /> <meta name="description" content="Latest news and announcements about Asgaros Forum." /> <meta property="og:url" content="https://www.asgaros.de/support/forum/announcements/" /> <meta property="og:title" content="Announcements" /> <meta property="og:description" content="Latest news and announcements about Asgaros Forum." /> <meta property="og:site_name" content="Asgaros Forum" /> <meta name="twitter:title" content="Announcements" /> <meta name="twitter:description" content="Latest news and announcements about Asgaros Forum." /> <!-- Asgaros Forum: END -->
That forum code does not appear on my website.
I am using Easy Social share and YOAST SEO and both place their codes, but on the forum page it does not add anything ??
<meta property="og:locale" content="es_MX" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Foros de Discusión" /> <meta property="og:url" content="https://www.degeneracionx.com/foro/" /> <meta property="og:site_name" content="Degeneraciónx" /> <meta property="article:publisher" content="https://www.facebook.com/Degeneracionxcom/" /> <meta property="fb:app_id" content="271684836195926" /> <meta property="og:image" content="https://www.degeneracionx.com/wp-content/uploads/2012/07/BANNER-SOCIAL-2.png" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="Degeneracionx" /> <meta name="twitter:domain" content="Degeneraciónx" /> <meta name="twitter:title" content="Foros de Discusión" /> <meta name="twitter:url" content="https://www.degeneracionx.com/foro/" /> <meta name="twitter:image:src" content="https://www.degeneracionx.com/wp-content/uploads/2012/07/BANNER-SOCIAL-2.png" /> <!-- This site is optimized with the Yoast SEO plugin v7.6.1 - https://yoast.com/wordpress/plugins/seo/ --> <!-- Admin only notice: this page does not show a meta description because it does not have one, either write it for this page specifically or go into the [SEO - Search Appearance] menu and set up a template. --> <link rel="canonical" href="https://www.degeneracionx.com/foro/" /> <link rel="publisher" href="https://plus.google.com/+Degeneracionx"/> <meta property="og:locale" content="es_MX" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Foros de Discusión | Degeneraciónx" /> <meta property="og:url" content="https://www.degeneracionx.com/foro/" /> <meta property="og:site_name" content="Degeneraciónx" /> <meta property="article:publisher" content="https://www.facebook.com/pages/Degeneracionx/113426178832" /> <meta property="article:author" content="https://www.facebook.com/LoliN3k0" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:title" content="Foros de Discusión | Degeneraciónx" /> <meta name="twitter:site" content="@Degeneracionx" /> <meta name="twitter:creator" content="@LoliN3k0" /> <!-- / Yoast SEO plugin. -->
This is the link
https://www.degeneracionx.com/foro/topic/test-de-mensaje/?part=1#postid-1(im still testing te forums :P)
Cheers!Hello @n3k0
It is somewhere around line 155 in your sourcecode. The problem is that some of your seo-extensions put additional og-tags there. In this case usually the first tags are used.
Please check the settings of your seo-extension and disable them for the page on which the forum-shortcode is located at.
I managed to get rid of the YOAST code, but I did not find individual option per page to not allow the insertion of the easy social share, and this one if use to share my content in social networks ??
Cheers!
Its possible to add the metatags from the forum if I Make a custom page with other header?
Cheers!
Hello @n3k0
It should be fine as long it uses the wp_head function because this is needed to add the dynamic meta-tags.
Regarding Yoast: There should be an option which allows you to exclude certain pages from yoast. Maybe you can ask in their support forums for it. I dont use yoast but I heard from other users it must be somewhere. ??
thanks @asgaros
I will be contacting the support of Yoast to ask this option.
Also to ask, there’s a way to add the asgaros code after the title tag o prioritize over the other meta codes ??
</script><!-- Asgaros Forum: BEGIN --> <link rel="canonical" href="https://www.degeneracionx.com/foros/" /> <meta name="description" content="Foros de Discusión" /> <meta property="og:url" content="https://www.degeneracionx.com/foros/" /> <meta property="og:title" content="Foros de Discusión" /> <meta property="og:description" content="Foros de Discusión" /> <meta property="og:site_name" content="Degeneraciónx" /> <meta name="twitter:title" content="Foros de Discusión" /> <meta name="twitter:description" content="Foros de Discusión" /> <!-- Asgaros Forum: END -->
cheers!
- The topic ‘Social Open Graph meta data?’ is closed to new replies.