{"id":60903,"date":"2020-09-28T16:34:38","date_gmt":"2020-09-28T20:34:38","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=60903"},"modified":"2025-05-15T17:26:37","modified_gmt":"2025-05-15T21:26:37","slug":"featured-image-leaderboard","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/","title":{"rendered":"Adding a Featured Image to Leaderboard of Web Design Serivces Website"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-1024x538.jpg\" alt=\"featured leaderboard image\" class=\"wp-image-61600\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>A leaderboard can be a nice visual addition to website pages. So, how can we add this to a WordPress site, and make it easy for a customer to as well? The answer is to pull in the Featured Image into our page using a little PHP recipe and a dash of CSS styling:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#Standard-Featured-Image-Leaderboard-with-Fallback\">Standard Featured Image Leaderboard with Fallback<\/a><\/li><li><a href=\"#Adding-a-Link-to-the-Featured-Image-Leaderboard\">Adding a Link to the Featured Image Leaderboard<\/a><\/li><\/ul>\n\n\n\n<p class=\"alert alert-info\">A modern, user-friendly website can boost your online engagement and help build your business. Contact our Professional Web Design Team today for a beautiful, <a href=\"https:\/\/www.inmotionhosting.com\/services\/wordpress-website-design\">custom WordPress website<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Standard-Featured-Image-Leaderboard-with-Fallback\"><strong>Standard Featured Image Leaderboard with Fallback<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"341\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/AdobeStock_328727076-1024x341.jpg\" alt=\"Contact Us page leaderboard image\" class=\"wp-image-61338\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/AdobeStock_328727076-1024x341.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/AdobeStock_328727076-300x100.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/AdobeStock_328727076-768x256.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/AdobeStock_328727076.jpg 1500w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><figcaption>Example of a Contact Us page leaderboard image.<\/figcaption><\/figure>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<ol class=\"article_list wp-block-list\"><li>Check functions.php in the theme directory to make sure support for Post Thumbnails on posts and pages is enabled. Look for:\n\n<pre class=\"wp-block-code\">add_theme_support( 'post-thumbnails' );<\/pre>\n\n<p>If that code isn\u2019t part of functions.php, add the code to functions.php to enable post thumbnails support.<\/p>\n<\/li>\n<li>For each page you want to add a leaderboard image to, look for the Featured Image box on the right side of the editor and assign a featured image.<\/li>\n<li>Add the code below to your WordPress page template where you want the leaderboard image to appear. Note the else statement that provides a different class if a featured image isn\u2019t assigned; more on that in the next step:\n\n<pre class=\"wp-block-code\">&lt;?php\n    if(has_post_thumbnail()){\n        echo '&lt;div class=\"leaderboard-image\"&gt;';\n        the_post_thumbnail('full');\n        echo '&lt;\/div&gt;';\n    }\n    else{\n        echo '&lt;div class=\"leaderboard-without-image\"&gt;&lt;\/div&gt;';\n    }\n?&gt;<\/pre>\n<\/li>\n<li>In your theme\u2019s style sheet, add your desired styling for the leaderboard image. Below is an example that includes a fall back for Pages where a featured image isn\u2019t assigned. Adjust the styles as needed for the site you are working on:\n\n<pre class=\"wp-block-preformatted\">\/* Featured image as leaderboard*\/\n.leaderboard-image, \n.leaderboard-without-image {\nborder: 5px solid #ffffff;\n    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);\n    margin-bottom: 60px;\n    margin-top: 15px;\n}\n.leaderboard-without-image {\nbackground: url(images\/default-leaderboard.jpg) center top no-repeat;\nheight:350px;\n}<\/pre>\n<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Adding-a-Link-to-the-Featured-Image-Leaderboard\"><strong>Adding a Link to the Featured Image Leaderboard<\/strong><\/h2>\n\n\n\n<p>Inspired by a request from a customer, I found some code and merged it with our standard leaderboard code to make it possible to add a link to a featured image in the leaderboard using built-in WordPress custom fields. That\u2019s right, Advanced Custom Fields is not needed for this.<\/p>\n\n\n\n<p>Note: The code below assumes you are adding an external link. If you are adding an internal link, modify the code\u00a0and remove the\u00a0\u201ctarget=\u201d_blank\u201d portion so the link will open in the same tab\/window.<\/p>\n\n\n\n<p>Here\u2019s the updated code\u00a0to add to your WordPress page template:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php $name = get_post_meta($post-&gt;ID, 'ExternalUrl', true);\nif( $name ) { ?&gt;\n&lt;div class=\"leaderboard-image\"&gt;\n&lt;a href=\"&lt;?php echo $name; ?&gt;\" target=\"_blank\"&gt;&lt;?php the_post_thumbnail(); ?&gt;&lt;\/a&gt;\n&lt;\/div&gt;\n&lt;?php } else {\necho '&lt;div class=\"leaderboard-image\"&gt;';\nthe_post_thumbnail('full');\necho '&lt;\/div&gt;';\n} ?&gt;<\/pre>\n\n\n\n<p>Once that has been added:<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Create or edit the page where you are adding the leaderboard and link.<\/li><li>Make sure custom fields are visible by clicking on Screen Options in the upper right corner and that the box next to Custom Fields is checked.<\/li><li>Click on Screen Options again to close the panel and scroll down past the page editor until you see the Custom Fields box.<\/li><li>Under the Name field, click the Enter New link and type <strong>ExternalURL<\/strong> into the Name field.<\/li><li>Place the link you want the featured image leaderboard to link to in the value field.<\/li><li>Save or Update the page.<\/li><\/ol>\n\n\n\n<p class=\"alert alert-warning\"><strong>Please note:<\/strong> When you copy the code from these areas, that they will properly indent and each line will have the correct format when you paste it into your code editor program.<\/p>\n\n\n\n<p>For more tutorials and information on how you can customize your website, please check our <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/\">Web Design Services<\/a> guides.<\/p>\n\n\n\n<p>Need assistance? From Website Rebuilds to <a href=\"https:\/\/www.inmotionhosting.com\/services\/wordpress-site-maintenance\">Monthly Maintenance Plans<\/a>, our <a href=\"https:\/\/www.inmotionhosting.com\/services\">Professional Website Services<\/a> team is here to help you succeed.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>A leaderboard can be a nice visual addition to website pages. So, how can we add this to a WordPress site, and make it easy for a customer to as well? The answer is to pull in the Featured Image into our page using a little PHP recipe and a dash of CSS styling: Standard<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4417],"tags":[],"class_list":["post-60903","post","type-post","status-publish","format-standard","hentry","category-web-design-services"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add a Featured Image to WordPress Pages | Support Center<\/title>\n<meta name=\"description\" content=\"A leaderboard can be a nice visual addition to website pages. So, how can we add this to a WordPress site, and make it easy for a customer to as well? The answer is to pull in the Featured Image Leaderboard into our page using a little PHP recipe and a dash of CSS styling.\" \/>\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.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add a Featured Image to WordPress Pages | Support Center\" \/>\n<meta property=\"og:description\" content=\"A leaderboard can be a nice visual addition to website pages. So, how can we add this to a WordPress site, and make it easy for a customer to as well? The answer is to pull in the Featured Image Leaderboard into our page using a little PHP recipe and a dash of CSS styling.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-28T20:34:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-15T21:26:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-1024x538.jpg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Adding a Featured Image to Leaderboard of Web Design Serivces Website\",\"datePublished\":\"2020-09-28T20:34:38+00:00\",\"dateModified\":\"2025-05-15T21:26:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/\"},\"wordCount\":494,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-1024x538.jpg\",\"articleSection\":[\"Web Design Services\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/\",\"name\":\"Add a Featured Image to WordPress Pages | Support Center\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-1024x538.jpg\",\"datePublished\":\"2020-09-28T20:34:38+00:00\",\"dateModified\":\"2025-05-15T21:26:37+00:00\",\"description\":\"A leaderboard can be a nice visual addition to website pages. So, how can we add this to a WordPress site, and make it easy for a customer to as well? The answer is to pull in the Featured Image Leaderboard into our page using a little PHP recipe and a dash of CSS styling.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image.jpg\",\"width\":1200,\"height\":630,\"caption\":\"featured leaderboard image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding a Featured Image to Leaderboard of Web Design Serivces Website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add a Featured Image to WordPress Pages | Support Center","description":"A leaderboard can be a nice visual addition to website pages. So, how can we add this to a WordPress site, and make it easy for a customer to as well? The answer is to pull in the Featured Image Leaderboard into our page using a little PHP recipe and a dash of CSS styling.","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.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/","og_locale":"en_US","og_type":"article","og_title":"Add a Featured Image to WordPress Pages | Support Center","og_description":"A leaderboard can be a nice visual addition to website pages. So, how can we add this to a WordPress site, and make it easy for a customer to as well? The answer is to pull in the Featured Image Leaderboard into our page using a little PHP recipe and a dash of CSS styling.","og_url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-09-28T20:34:38+00:00","article_modified_time":"2025-05-15T21:26:37+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-1024x538.jpg","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Adding a Featured Image to Leaderboard of Web Design Serivces Website","datePublished":"2020-09-28T20:34:38+00:00","dateModified":"2025-05-15T21:26:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/"},"wordCount":494,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-1024x538.jpg","articleSection":["Web Design Services"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/","url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/","name":"Add a Featured Image to WordPress Pages | Support Center","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image-1024x538.jpg","datePublished":"2020-09-28T20:34:38+00:00","dateModified":"2025-05-15T21:26:37+00:00","description":"A leaderboard can be a nice visual addition to website pages. So, how can we add this to a WordPress site, and make it easy for a customer to as well? The answer is to pull in the Featured Image Leaderboard into our page using a little PHP recipe and a dash of CSS styling.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/09\/featured-leaderboard-image.jpg","width":1200,"height":630,"caption":"featured leaderboard image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/featured-image-leaderboard\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Adding a Featured Image to Leaderboard of Web Design Serivces Website"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4417,"name":"Web Design Services","slug":"web-design-services","link":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/web-design-services\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/60903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=60903"}],"version-history":[{"count":16,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/60903\/revisions"}],"predecessor-version":[{"id":64101,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/60903\/revisions\/64101"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=60903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=60903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=60903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}