1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Twitter Card Meta

Discussion in 'XenForo Suggestions' started by akia, Aug 15, 2013.

  1. akia

    akia Well-Known Member

    I'd like to suggestion for the Twitter Card Meta tags be added into Xenforo by default. We've got Facebook tags already so makes sense to have the twitter tags.

    Axel B, Mouth, wcbryant and 5 others like this.
  2. soloarquitectura

    soloarquitectura Well-Known Member

    I agree. This could complete social features of XenForo.
    HenrikHansen likes this.
  3. Mouth

    Mouth Well-Known Member

    I agree. For example, add the following to open_graph_meta template ...
        <xen:if is="{$avatar}"><meta property="twitter:image:src" content="{$avatar}" /></xen:if>
        <meta property="twitter:image:src" content="{xen:helper fullurl, @ogLogoPath, 1}" />
        <meta name="twitter:card" content="summary_large_image" />
        <meta name="twitter:site" content="<site twitter account @name from ACP>" />
        <meta property="twitter:url" content="{xen:raw $url}" />
        <meta property="twitter:title" content="{xen:raw $title}" />
        <xen:if is="{$description}"><meta property="twitter:description" content="{xen:raw $description}" /></xen:if>
    eva2000 and Melvin Garcia like this.

Share This Page