Created
June 23, 2013 05:07
-
-
Save AbhishekGhosh/5843870 to your computer and use it in GitHub Desktop.
Open Graph Protocol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// No images were available | |
if ( empty( $wpfbogp_images ) && ! $fallback ) { | |
echo '<meta property="og:image" content="http://thecustomizewindows.com/TheCustomizeWindows.png" />' . "\n"; | |
} | |
// do locale // make lower case cause facebook freaks out and shits parser mismatched metadata warning | |
echo '<meta property="og:locale" content="' . strtolower( esc_attr( get_locale() ) ) . '" />' . "\n"; | |
echo "<!-- // end wpfbogp -->\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment