How to add a base image for your posts that facebook recognizes with Theme Companion
When you’re posting your link to facebook you will notice that it can pick up any random image to use for your post. So what you want to do is have the ability to decide on a base image for Facebook to use. Most people do it as a site logo that encompasses everything for your site.
With the plugin: Theme Companion open it up and click on the [Add HTML code to the <head> area] – When you are in that area to edit add this line:
<meta property=”og:image” content=”http://urlpathtoimage.tld/image.jpg” />
In this case it’s:
<meta property=”og:image” content=”https://frumph.net/images/header/frumph.png” />
Where https://frumph.net/images/header/frumph.png (the urlpathtoimage) points to an image that I want to use for facebook to recognize.
And that’s it, next time you post something to Facebook, the base image ^ the one you pointed to in the content= line will be used as the image for your feed on facebook.
– Phil
Is there a way to specify in Theme Companion the comic strip for that particular page? So every time someone posts to Facebook, it pulls the comic image from whichever post is being shared?
Well if you’re got the facebook meta turned on in the options it should be doing that already (if you’re using comicpress)
Thank you Frumph! I had some conflicting plugin issues but you lead me to where I needed to go and I was able to work it out from there! Much obliged!
This doesn’t appear to be working for me. I don’t know if it is because I have other FB plug-ins to allow comments connected back to FB or not. Any thoughts? Also, when I post a link to FB for an entry, the subject shows up in the FB post but the text is not the first part of the entry but rather the subtitle for the page/website. Any thoughts on this?
How might I use theme companion to add a second sidebar to my theme?