WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I set a featured image for the homepage? I am not concerned with the outcome of having or not having a featured image within wordpress itself. I want to control the featured image when it gets used via an external link, for example facebook.

share|improve this question

closed as off topic by Chip Bennett, Michael, Brian Fegter, Wyck, kaiser Sep 12 '12 at 23:29

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

What do you mean by "control"? – Joseph Leedy Sep 5 '12 at 2:24
This appears to be a Facebook API question, rather than a WordPress question... – Chip Bennett Sep 5 '12 at 3:20
@Joseph control means set and change the image. – Gaia Sep 5 '12 at 14:07
@ChipBennett it's for FB mainly, but I would like to also control it for other services. – Gaia Sep 5 '12 at 14:08

If it's only for Facebook purposes that you need it, you could add the following code to your header.php file (between <head> and </head>):

<meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>

Of course replace the URL in content="..." with your own image URL.

A reference for all the Facebook meta tags is here: http://developers.facebook.com/docs/opengraphprotocol/

share|improve this answer
Thanks. It's mainly for FB, but I would like to also control it for other services. – Gaia Sep 5 '12 at 14:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.