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

XF 1.5 Twitter card meta tags

Discussion in 'Styling and Customization Questions' started by RandyRS, Sep 25, 2015.

  1. RandyRS

    RandyRS New Member

    Hi...

    I want to add Twitter meta tag but i don't know how to change the value.
    Does anyone know how to make it dynamic ?

    I just tried to make it like this but it didn't work.

     
  2. Chris D

    Chris D XenForo Developer Staff Member

    What didn't work exactly? The replacements you made look correct. What template did you add that to?
     
  3. RandyRS

    RandyRS New Member

    Hi @Chris D I added the code within <head> PAGE_CONTAINER.
    Twitter validator here shows

    Did i miss something ?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Only thing I can think of is the order of the tags. Maybe description has to come after title.
     
  5. RandyRS

    RandyRS New Member

    I tried to reorder the tags but the error is still there,
    When i changed the description into this
    <meta name="twitter:description" content="View the album on Flickr." />

    It works, but of course that is not what i want :D

     

Share This Page