Support » Plugin: JM Twitter Cards » twitter card meta is loading before SEO

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author tweetpressfr

    (@jmlapam)

    Hi cecilywiggins, can you be more precise? I do not really understand what’s the problem here.

    Cecily

    (@cecilywiggins)

    HI there. I am using All-in-SEO along with JM Twitter Cards. The twitter card plugin in loads before the SEO meta data like so…

    <!– JM Twitter Cards by Julien Maury 3.1.4 –>
    <meta property=”twitter:card” content=”summary”/>
    <meta property=”twitter:creator” content=”@twitter”/>
    <meta property=”twitter:site” content=”@twitter”/>
    <meta property=”twitter:domain” content=”http://www.website.com”/>
    <meta property=”twitter:title” content=”Research yourself first”/>
    <meta property=”twitter:description” content=”x”/>
    <meta property=”twitter:image” content=”x”/>
    <!– /JM Twitter Cards –>

    <!– All in One SEO Pack 2.0 by Michael Torbert of Semper Fi Web Design[148,234] –>
    <link rel=”author” href=”https://plus.google.com/x” />
    <meta name=”description” content=”x” />

    <meta name=”keywords” content=”x” />

    <link rel=”canonical” href=”x” />
    <!– /all in one seo pack –>

    Plugin Author tweetpressfr

    (@jmlapam)

    I do not know why it’s annoying you. I guess it’s for SEO reasons. Anyway, you’re probably not the only one in this case. I’ll do some reasearch to see if it’s worth updating.

    In the meantime, you can change line 278 :
    add_action( 'wp_head', 'add_twitter_card_info');
    to this :
    add_action( 'wp_head', 'add_twitter_card_info',99);

    With this, Twitter meta should load after.

    Cecily

    (@cecilywiggins)

    Hi there. Thank you for looking into this I will try your suggestion. I find when I use facebook’s debugger it looks for meta data and if it interprets the twitter card data before the regular meta data it doesn’t recognize it. My clients intrepreted that as something being wrong….either way when I code I put the most important stuff at the top so naturally I would want the all-in-one seo data to display first then the open graph and twittercard data to follow.

    Cecily

    (@cecilywiggins)

    Btw…I’ll post open graphs exact response when I get to a computer….

    Plugin Author tweetpressfr

    (@jmlapam)

    oK hope this will solve your problem ^^

    Plugin Author tweetpressfr

    (@jmlapam)

    3.1.5 do the trick

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘twitter card meta is loading before SEO’ is closed to new replies.