Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
fb:image handled by WordPress custom fields
<?php if ( get_post_meta($post->ID, 'fbimage', true) ) : ?>
<meta property="og:image" content="<?php echo(get_post_meta($post->ID, "fbimage", true)); ?>" />
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.