• WordPress Website development
  • SEO
  • Portfolio
  • About
  • Contact

Set custom sizes (beyond the $size argument) to WordPress Feature Image/thumbnail

by morena | Aug 20, 2014 | blog

get_the_post_thumbnail() is a very useful WordPress function, but I tried to cheat and set up an image of a X size to then resize it to half the size so that it would look good on Retina displays. Shame get_the-post_thumbnail() returns the full <img> tag rather...

Recent Posts

  • Kodes Generator day 4
  • Kodes Generator day 2 and 3
  • Kodes Generator Day #1
  • Getting back into Kodes Generator
  • Hello world!

Recent Comments

    Archives

    • September 2019
    • February 2018
    • May 2016
    • September 2015
    • June 2015
    • March 2015
    • February 2015
    • August 2014
    • September 2013
    • January 2013
    • December 2012
    • November 2012

    Categories

    • blog
    • JavaScript
    • Mustache.js
    • React
    • Redux
    • Uncategorised
    • Uncategorized
    • wordpress

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Call For A Free Consultation

    07789 866 809

    Get In Touch



      Trading as Kirbys of London LTD, Company numberĀ 09776312

      Email

      Hello@morenafiore.com

      Phone

      07789 866 809

      • Follow
      • Follow