Last active
March 26, 2016 16:59
-
-
Save jillmugge/11182390 to your computer and use it in GitHub Desktop.
Select the Facebook Image to use as thumbnail. Check Facebook results here: https://developers.facebook.com/tools/debug/og/object/
Place code below in functions.php, then call function in <head></head>
This file contains hidden or 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
<?php | |
function facebook_thumbnail(){ | |
echo '<meta property="og:image" content="http://jmgmarketinggroup.com/jmg/wp-content/uploads/JMG-Logo-v4.png" /> | |
<meta property="og:type" content="website" /> | |
<meta property="og:title" content="JMG Marketing Group | Dedicated to Building Websites that Pay for Themselves" /> | |
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> | |
<link rel="icon" href="/favicon.ico" type="image/x-icon" > | |
'; | |
} | |
add_action('wp_head', 'facebook_thumbnail'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment