• Resolved yarr2

    (@yarr2)


    Hi,

    Is there any rather easy way to change twitter card from summary to summary_large_image for all posts, not only new ones, without changing social settings for each post in editor?

    For now I see the only way to use something like:

    update wp_postmeta set meta_value=replace(meta_value,’s:7:”summary”‘,’s:19:”summary_large_image”‘) where meta_key=”_aioseop_opengraph_settings”;

    But i’m not sure.

    The same question is also about “Automatically Generate Article Tags” for Facebook.

    Thank you

    • This topic was modified 5 years, 7 months ago by yarr2.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    You can change the default Twitter card behaviour in the Social Meta settings menu, although I’m not sure that will affect your existing posts.

    Thread Starter yarr2

    (@yarr2)

    That’s why this question appeared, because changed settings will only affect new posts. For all old posts is necessary to change twitter card type for each post in social media settings tab. And this can be not so easy if the number of posts on the site is about 2000.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    We don’t have a feature for this, but if you know your way around SQL, you could write a query to change the post meta.

    Thread Starter yarr2

    (@yarr2)

    That’s why I wrote sql query sample for changing post settings directly in database as I hope that you know better how they can be handled. So is it the correct way or will this query break plugin configuration?

    Thread Starter yarr2

    (@yarr2)

    Also why did you change status to Resolved while there was not any solution proposed and still even impossible to understand if the solution exist?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change twitter card to summary_large_image for all posts’ is closed to new replies.