Featured Image for Facebook

Discussion in 'Dzonia WordPress Theme' started by zbostrom, Oct 4, 2013.

  1. zbostrom

    zbostrom New Member

    Joined:
    Aug 21, 2013
    Messages:
    8
    Likes Received:
    0
    When I post the link to my website on Facebook the default image (and the others to choose from if I scroll) are the images I use for my slider bar. Can I adjust this or add a code to set my default featured image to something else? I have a .png file specifically for this just like my favicon. Thank you.
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Please explain your issue little more.
     
  3. zbostrom

    zbostrom New Member

    Joined:
    Aug 21, 2013
    Messages:
    8
    Likes Received:
    0
    When on facebook and I put my web page address www.bodybyzach.com a thumbnail of the site along with a small paragraph will pop up as a description of the site. When I put my website in, the thumbnails to choose from are only what are used as my slider images, no other images on my site or main page. Also the small paragraph is taken from the testimonial section. I was wondering how I may customize these two things so that when I post my website I can choose other images, the paragraph blurb is less important because I can remove it and type in what I want when posting, but the image I can either remove the thumbnail or only cycle through what I'm using as slider images.
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to header.php present in your theme directory and add the code given below

    Code:
    <link rel="image_src" href="image of the page" />
    <meta property="og:title" content="Enter your  title" />
    <meta property="og:site_name" content="Enter your site name" />
    <meta property="og:image" content="Enter your image address here" />
    <meta property="og:description" content="Enter your description text here" />
    2013-10-14_1129.png


    *There is no need to put anything in first line
    *In second line put your Title
    *In third line enter site name or any thing else that you want to show there
    *In fourth line put image address
    *In fifth line put description text.

    Note:- These changes take some time to show changes in your facebook page. But you can check your the website url in the [debugger](https://developers.facebook.com/tools/debug). It should re-scrape with the new parameters.
     

Share This Page