Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Setting social media button share tag for widgetized homepage WordPress

  • SOLVED

Hey guys,

Willing to pay $20 to anyone who can resolve this for me - or more if you think it reasonably requires more.

I am using a Genesis Modern News theme.

The homepage of the theme is totally widgetized - home-top, home middle-left, home middle-right, home-bottom and primary side bar.

The problem with this is when I paste my homepage url into a facebook message, the tag image that comes up is one that is randomly chosen from the images featuring in the widgets – currently actually it generates two: one is from my latest blog and the other from my social media icons widget (weirdly, i deleted this social media icon [bandcamp] from the widget and my media library and replaced it with a created social media icon using image I want generated when i share, but the bandcamp icon is still getting generated).

I am using the jetpack sharedaddy plugin for my FB shares along with a the Easy Facebook Share that sets a automatic tag for pages or posts that don't have a feature image. This is working well for sharing all my pages and posts. The only problem is the homepage.

So anyway, what I want is for someone to show me how to set a homepage share tag. This may sound weird, but my marketing strategy relies on social media and an image of Bjork in a swan dress for my page works against rather than for me.

Will love you long time and give you $20 if you can fix this problem for me :-)

Cheers,

Ben

Answers (2)

2013-02-15

Arnav Joy answers:

Hi ,

To see your actual problem I have to check your site , can you provide me link and access to your site ?

also let me know how i can test it.


benjaminconnor comments:

Hi Arnav,

I'm the same guy you have been helping with the page number issue.

Have you not received my email with my deets?

Ben


benjaminconnor comments:

The website is www.benconnormusic.com

2013-02-15

Plugarized answers:

Hello Ben you can set a default image for the homepage using two methods, one is you can add the following code inside your <head> tags.

<?php if ( is_home() ) : ?>
<meta property="og:image" content="http://yoursite.com/youimage.jpg" />
<meta property="http://ogp.me/ns#description" content="<?php bloginfo( 'description' ); ?>" />
<?php endif; ?>


Add the link to your default icon or logo or photo, you can even use a function inside the content="<?php bloginfo( 'description' ); ?>" to get the blog's description,title or name you can check here for more info [[LINK href="http://codex.wordpress.org/Function_Reference/get_bloginfo"]]codex[[/LINK]]

Here are some other meta property that facebook looks for: https://developers.facebook.com/docs/opengraphprotocol/

The other option would be to use some free plugins that allow you to have control over this.
1.The best WordPress SEO plugin comes with opengraph settings and tons more of options to get your website ranking high and the author has some tips and extras for genesis users http://wordpress.org/extend/plugins/wordpress-seo/

Here are some others.
2. http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/
3. http://wordpress.org/extend/plugins/facebook-revised-open-graph-meta-tag/
4. http://wordpress.org/extend/plugins/opengraph-and-microdata-generator/

I hope this helps you Ben

Cheers


benjaminconnor comments:

Hi Latin Unit,

I'm really sorry about this, but I didn't see this message.

Arnav Joy has solved this issue for me as well as an issue with pagination buttons and my server.

I will have to award the money to him.

Thanks for you time.

Apologies,

Cheers,

Ben