{"id":9726,"date":"2022-10-27T14:51:44","date_gmt":"2022-10-27T09:21:44","guid":{"rendered":"https:\/\/www.skynats.com\/?p=9726"},"modified":"2023-06-15T17:02:37","modified_gmt":"2023-06-15T11:32:37","slug":"default-fallback-image-for-wordpress-post-thumbnails","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/","title":{"rendered":"Default Fallback Image for WordPress Post Thumbnails"},"content":{"rendered":"\n<p>How do I change the default post thumbnail for WordPress? Let&#8217;s use this article to discover the answer. Skynats responds to inquiries about WordPress as part of our <a href=\"https:\/\/www.skynats.com\/blog\/\" target=\"_blank\" rel=\"noreferrer noopener\">Server Management Services<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-can-the-default-fallback-image-for-wordpress-post-thumbnails-be-set\">How can the default fallback image for WordPress post thumbnails be set?<\/h2>\n\n\n\n<p>A WordPress theme feature called post thumbnails also referred to as featured pictures, enables users to link an image to a blog post or article. Based on the theme, this image is then added to the homepage, archives, or sidebar widgets. If we fail to include one, the picture won&#8217;t be in the article. The layout will therefore appear flawed.<\/p>\n\n\n\n<p>When no post thumbnail is found, the default fallback image will be used to avoid such occurrences. Let&#8217;s examine how to quickly set up a fallback image for WordPress post thumbnails.<\/p>\n\n\n\n<p><strong>Solution 1<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>To begin, you will need to download the WordPress Default Featured Image plugin and then install it.<\/li><li>To change the plugin settings, navigate to the Settings \u00bb Media page.<\/li><li>To upload or choose the image we want to use as the fallback post thumbnail, click the &#8216;Select default featured image&#8217; option on the new page.<\/li><li>Select &#8220;Save changes&#8221; from the menu.<\/li><li>Finally, we can go to the website to see how it works.<\/li><\/ol>\n\n\n\n<p><strong>Solution 2<\/strong><\/p>\n\n\n\n<p>This approach makes use of codes on the WordPress theme files. Setting the default fallback image for WordPress post thumbnails involves the steps listed below:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>First, make the image that we want to use the default image.<\/li><li>Then, using any FTP client, upload it to the images folder of the WordPress theme. The images folder for the theme is located in \/wp-content\/themes\/yur-theme\/. If it doesn&#8217;t already have an image, we&#8217;ll need to make one.<\/li><li>If a post lacks its post thumbnail, instruct WordPress to search for this image. Post thumbnails can be found displayed in multiple locations across the WordPress theme. Look for the post thumbnail() in the theme files. Generally, it can be found in single.php, archive.php, or content templates.<\/li><\/ol>\n\n\n\n<p>Include the code below where you want the thumbnail to appear.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php if( has_post_thumbnail() ) {the_post_thumbnail();} else{ ?&gt;&lt;img<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>src=\u201d&lt;?php bloginfo(\u2018template_directory\u2019); ?>\/images\/default-image.jpg\u201dalt=\u201d&lt;?\r\n\r\nphp the_title(); ?>\u201d\/>&lt;?php } ?><\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Additionally, substitute our image file name for default-image.jpg.<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>To see it in action, we can finally visit the website.<\/li><\/ol>\n\n\n\n<p>Are you looking for an answer to another query?\u00a0<a href=\"https:\/\/www.skynats.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener\">Contact<\/a>\u00a0our technical support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do I change the default post thumbnail for WordPress? Let&#8217;s use this article to discover the answer. Skynats responds to inquiries about WordPress as part of our Server Management Services. How can the default fallback image for WordPress post thumbnails be set? A WordPress theme feature called post thumbnails also referred to as featured [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[284],"class_list":["post-9726","post","type-post","status-publish","format-standard","hentry","category-blog","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Default Fallback Image for WordPress Post Thumbnails | Skynats<\/title>\n<meta name=\"description\" content=\"How to change the default post thumbnail for WordPress? To begin, download the WordPress Default Featured Image plugin and then install it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Default Fallback Image for WordPress Post Thumbnails\" \/>\n<meta property=\"og:description\" content=\"How to change the default post thumbnail for WordPress? To begin, download the WordPress Default Featured Image plugin and then install it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/\" \/>\n<meta property=\"og:site_name\" content=\"Server Management Services | Cloud Management | Skynats\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/skynats\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-27T09:21:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-15T11:32:37+00:00\" \/>\n<meta name=\"author\" content=\"Kevin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:site\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kevin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/default-fallback-image-for-wordpress-post-thumbnails\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/default-fallback-image-for-wordpress-post-thumbnails\\\/\"},\"author\":{\"name\":\"Kevin\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/749ae0470320eb759ff1e07b8ea7fbe3\"},\"headline\":\"Default Fallback Image for WordPress Post Thumbnails\",\"datePublished\":\"2022-10-27T09:21:44+00:00\",\"dateModified\":\"2023-06-15T11:32:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/default-fallback-image-for-wordpress-post-thumbnails\\\/\"},\"wordCount\":390,\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"keywords\":[\"wordpress\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/default-fallback-image-for-wordpress-post-thumbnails\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/default-fallback-image-for-wordpress-post-thumbnails\\\/\",\"name\":\"Default Fallback Image for WordPress Post Thumbnails | Skynats\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\"},\"datePublished\":\"2022-10-27T09:21:44+00:00\",\"dateModified\":\"2023-06-15T11:32:37+00:00\",\"description\":\"How to change the default post thumbnail for WordPress? To begin, download the WordPress Default Featured Image plugin and then install it.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/default-fallback-image-for-wordpress-post-thumbnails\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.skynats.com\\\/blog\\\/default-fallback-image-for-wordpress-post-thumbnails\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/default-fallback-image-for-wordpress-post-thumbnails\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Default Fallback Image for WordPress Post Thumbnails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"name\":\"Server Management Services | Cloud Management | Skynats\",\"description\":\"Server Management and Cloud Management\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\",\"name\":\"Skynats Technologies\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"contentUrl\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"width\":989,\"height\":367,\"caption\":\"Skynats Technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/skynats\",\"https:\\\/\\\/x.com\\\/skynatstech\",\"https:\\\/\\\/www.instagram.com\\\/skynatstech\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/skynats-technologies\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCvTAjrFJ4_E2MJKwlDHomlg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/749ae0470320eb759ff1e07b8ea7fbe3\",\"name\":\"Kevin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/37a006382b218eff478403065cc9d903f85dd0085cb2af7fee95b4537b581c13?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/37a006382b218eff478403065cc9d903f85dd0085cb2af7fee95b4537b581c13?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/37a006382b218eff478403065cc9d903f85dd0085cb2af7fee95b4537b581c13?s=96&d=mm&r=g\",\"caption\":\"Kevin\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Default Fallback Image for WordPress Post Thumbnails | Skynats","description":"How to change the default post thumbnail for WordPress? To begin, download the WordPress Default Featured Image plugin and then install it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/","og_locale":"en_US","og_type":"article","og_title":"Default Fallback Image for WordPress Post Thumbnails","og_description":"How to change the default post thumbnail for WordPress? To begin, download the WordPress Default Featured Image plugin and then install it.","og_url":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/","og_site_name":"Server Management Services | Cloud Management | Skynats","article_publisher":"https:\/\/www.facebook.com\/skynats","article_published_time":"2022-10-27T09:21:44+00:00","article_modified_time":"2023-06-15T11:32:37+00:00","author":"Kevin","twitter_card":"summary_large_image","twitter_creator":"@skynatstech","twitter_site":"@skynatstech","twitter_misc":{"Written by":"Kevin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/#article","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/"},"author":{"name":"Kevin","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/749ae0470320eb759ff1e07b8ea7fbe3"},"headline":"Default Fallback Image for WordPress Post Thumbnails","datePublished":"2022-10-27T09:21:44+00:00","dateModified":"2023-06-15T11:32:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/"},"wordCount":390,"publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"keywords":["wordpress"],"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/","url":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/","name":"Default Fallback Image for WordPress Post Thumbnails | Skynats","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/#website"},"datePublished":"2022-10-27T09:21:44+00:00","dateModified":"2023-06-15T11:32:37+00:00","description":"How to change the default post thumbnail for WordPress? To begin, download the WordPress Default Featured Image plugin and then install it.","breadcrumb":{"@id":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.skynats.com\/blog\/default-fallback-image-for-wordpress-post-thumbnails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.skynats.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Default Fallback Image for WordPress Post Thumbnails"}]},{"@type":"WebSite","@id":"https:\/\/www.skynats.com\/blog\/#website","url":"https:\/\/www.skynats.com\/blog\/","name":"Server Management Services | Cloud Management | Skynats","description":"Server Management and Cloud Management","publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.skynats.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.skynats.com\/blog\/#organization","name":"Skynats Technologies","url":"https:\/\/www.skynats.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","contentUrl":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","width":989,"height":367,"caption":"Skynats Technologies"},"image":{"@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/skynats","https:\/\/x.com\/skynatstech","https:\/\/www.instagram.com\/skynatstech\/","https:\/\/www.linkedin.com\/company\/skynats-technologies","https:\/\/www.youtube.com\/channel\/UCvTAjrFJ4_E2MJKwlDHomlg"]},{"@type":"Person","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/749ae0470320eb759ff1e07b8ea7fbe3","name":"Kevin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/37a006382b218eff478403065cc9d903f85dd0085cb2af7fee95b4537b581c13?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/37a006382b218eff478403065cc9d903f85dd0085cb2af7fee95b4537b581c13?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/37a006382b218eff478403065cc9d903f85dd0085cb2af7fee95b4537b581c13?s=96&d=mm&r=g","caption":"Kevin"}}]}},"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/9726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=9726"}],"version-history":[{"count":0,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/9726\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=9726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=9726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=9726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}