Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @netaction,

    thanks for mentioning it, I will check that for a future release.
    Did you add your Open Graph Images with an SEO-Plugin? Which one?

    Best regards,
    Patrick

    Thread Starter netaction

    (@netaction)

    This META element is included on “wp_head” in a custom functions.php.

    add_action('wp_head', function() {
    	echo '<meta name="description" content="Klick dich durchs Spiel zu den Landtagswahlen">'."\n";
    	echo '<meta property="og:type" content="website">'."\n";
    	echo '<link rel="canonical" href="https://wie-entscheidest-du.de/"/>'."\n";
    	echo '<meta property="og:title" content="SWR - Wie entscheidest Du?"/>'."\n";
    	echo '<meta property="og:description" content="Klick dich durchs Spiel zu den Landtagswahlen">'."\n";
    	echo '<meta property="og:image" content="https://wie-entscheidest-du.de/wp-content/themes/erstwaehler/images/og-image.png">'."\n";
    }, 5);
    
    Plugin Author patrickposner

    (@patrickposner)

    Hey @netaction,

    thanks for your example.
    I created an issue in the repository and will check that for the next update: https://github.com/patrickposner/simply-static/issues/3

    Best regards,
    Patrick

    Plugin Author patrickposner

    (@patrickposner)

    Hey @netaction,

    this is fixed now in 2.1.3.

    Best regards,
    Patrick

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Open Graph OG Image still not included’ is closed to new replies.