Navigation

Main Menu

Skip to Primary Content
  • Home
  • Articles
  • About Me
  • Contact Me
  • WordPress Themes

PattonWebz


Did you know that faster sites get more conversions, page speed is a ranking factor and that users on Mobile expect pages to be as fast, or faster, than on their computers at home?

Try the beta PageSpeed tool

How to use a Fallback Image and set Default Post Thumbnail in WordPress

Setting default post thumbnails in WordPress themes is actually pretty simple. All you need to do is use the built-in WordPress methods to see if a thumbnail exists and if it doesn’t simply use a default image.

written by William Patton on January 6, 2013 in WordPress Custom with no comments

Recent Posts

  • Using the Singleton Pattern in PHP or WordPress
  • Adding a Custom Color Palette Blocks to a Gutenberg-Ready Theme
  • Using WordPress Post Formats
  • WordPress Theme Minimum PHP Support Check
  • Making A Bootstrap Modal Plugin For WordPress

Recent Comments

  • William Patton on Putting WordPress Docker Containers in Production – Building WordPress Images
  • Salim Said on Putting WordPress Docker Containers in Production – Building WordPress Images
  • William Patton on Build a Bootstrap WordPress Responsive Menu in 10 Minutes
  • Sakanax on Build a Bootstrap WordPress Responsive Menu in 10 Minutes
  • William Patton on Build a Bootstrap WordPress Responsive Menu in 10 Minutes

Get More WordPress Articles Like This Delivered To Your Inbox

  • This field is for validation purposes and should be left unchanged.

© 2008-2020 PattonWebz - This site is SUPER-powered by NinjaWebz.

  • Home
  • Testimonials
  • Contact Me
  • Privacy Policy