title: Overriding Wordpress OpenGraph meta-data and/or wp_head
body: <p>We've purchased a wordpress theme (Zerif Pro) and so far I haven't been impressed with it. Our team needed to add quite a bit of hackery to make the website behave correctly since the theme is fragile, hardcodes settings that should be configurable and misuses some of Wordpress's functionality (ideally we'd throw this theme out and boycott Themeisle for future themes but we've come too far with the website at this point).</p>
  
  <p>One of the things it misuses is the static front page. The theme does indeed build a static front page, but does so on top of "latest posts" page rather than doing it properly as Wordpress would expect. This means that when we pick the "Front page displays a static page" option within Wordpress settings, it breaks the theme. For that reason we have kept the main page as is and created a dummy page to contain latest posts instead.</p>
  
  <p>The problem now, however, is that the main page, despite being a cover page, still somehow thinks it's a blog page, which resulted in some other issues (like "share this post" links appearing on it, which we've hidden via css) and more recently the incorrect OpenGraph information, which is what this question is about.</p>
  
  <p>The meta-data populated into the cover page (which is really the latest posts page incorrectly styled by the theme into a cover page) matches that of our latest post. I'm assuming it's generated by <code>wp_head()</code>, but can't locate where this meta-data is coming from (the theme does not seem to override <code>wp_head()</code> and we're not using any SEO plugins that would be injecting <code>og</code> meta-data). At this point, here are the solutions I'm thinking of:</p>
  
  <ul>
  <li>Override wp_head() to exclude this data (I'm not familiar enough with the logic to do so)</li>
  <li>Let the WP platform somehow know that the main page is not a blog post (this will prevent irrelevant OpenGraph data being pulled from latest blog post, again I have no idea how to do that)</li>
  <li>Tweak the theme to inject its "static" content into a different page rather than into the default latest posts page, where we could control the meta data via plugins (again, no idea where this logic is done or if this theme would even cooperate)</li>
  <li>Find where the OpenGraph meta-data gets populated and override it</li>
  </ul>
  
  <p>Can someone suggest how to go about solving the problem (if you have a better solution than the 4 I mentioned above or any guidance on either of those 4, I'd appreciate it). If it helps, here are all currently installed plugins:</p>
  
  <ul>
  <li>Contact Form to Email</li>
  <li>Easy Twitter Feed Widget</li>
  <li>Featured Image From URL</li>
  <li>Google Analytics Dashboard for WP</li>
  <li>Posts in Page</li>
  <li>SendGrid</li>
  <li>Simple Custom CSS</li>
  <li>Social Share Buttons by Supsystic</li>
  <li>TC Custom JavaScript</li>
  <li>Typecase</li>
  <li>Widget Wrangler</li>
  <li>WP Client Logo Carousel</li>
  <li>WPide</li>
  </ul>