Hi there,
I want to add…
<meta property=”og:image” content=”http://ia.media-imdb.com/images/rock.jpg” />
..to just my homepage (since all the other pages, Facebook seems to be grabbing the correct image when I share it) using the Pav theme.
Obviously I will replace the image with the one that I need. I presume that I will need to edit the home.tpl (not the footer or header, since that will affect every page) but I am having difficulties.
Please help!
-
This reply was modified 2672 days ago by Cdcstudios.
-
This reply was modified 2672 days ago by Cdcstudios.
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
Thank you, I will give this a try in my header.php file.
|
|
Hi there,
Just realized, I don’t have /common/home since I have an SEO module that just rewrites my site to example.com.
I am actually thinking of removing the OpenGraph code from the header. Then just adding one instance of the code (with the correct default image) to home.tpl and another instance of the code to the product.tpl file.
Would that work?
I just want a default facebook share image for the homepage, and the product image for the product page (second one works fine by default).
|
|
Hi,
The above check should work even if SEO urls are used.
BR,
ThemeBurn team
|
|
Glad we’ve helped
BR,
ThemeBurn team
|
|