How to auto-post thumbnail in wordpress

Discussion in 'WordPress' started by chocoholic1122, Oct 15, 2012.

  1. #1
    This is some what i have been searching for from a long time but can't find it.

    I want a plugin which can automatically post the first picture of a post as a featured thumbnail on home page.

    Any help would be appreciated.
     
    chocoholic1122, Oct 15, 2012 IP
  2. ironmankho

    ironmankho Active Member

    Messages:
    393
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    btw the i have no idea that type of plugin is exits .......... but this will be help full



    First, paste this function on your functions.php file.

    Once done, you can simply call the function within the loop to display the first image from the post:

     
    ironmankho, Oct 16, 2012 IP
  3. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #3
    adbox, Oct 16, 2012 IP