		{"id":13889,"date":"2012-06-07T21:02:28","date_gmt":"2012-06-07T13:02:28","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=13889"},"modified":"2025-04-04T01:06:45","modified_gmt":"2025-04-03T17:06:45","slug":"wordpress-related-posts-without-plugins","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/","title":{"rendered":"How to add WordPress Related Posts Without Plugins"},"content":{"rendered":"<p><strong>Note:<\/strong> This post was first published on the 7th June, 2012.<\/p>\n<p>One of the big advantages of using WordPress are the plugins. <a href=\"https:\/\/www.hongkiat.com\/blog\/tag\/wordpress-plugins\/\">WordPress plugins<\/a> cover almost anything you can imagine, from expanding your blog into a CMS, to adding nifty features and optimizing your blog for search engines \u2013 the possibilities are endless (and let\u2019s not forget all the different themes out there).<\/p>\n<p>But by using too many plugins, you run the risk of clogging up your WordPress blog, and at the very worst, you might \u2018break\u2019 it. There are many instances of plugins that are not compatible with one another, as well as plugins that slow down your blog.<\/p>\n<p>Some of the most popular WordPress plugin categories are based around adding \u201crelated posts\u201d to a blog. Since WordPress doesn\u2019t have anything standard for this, everyone is required to use some sort of plugin to display related posts on their site.<\/p>\n<p>This article will teach you how to add related posts with thumbnails to your blog without any plugins, keeping everything simple, light and accessible. Let\u2019s get started!<\/p>\n<h2>The no-plugin approach<\/h2>\n<p>There are a number of reasons why you should always try and use WordPress\u2019 built in code and services, rather than a plugin. The main benefit is that you don\u2019t have to rely on a third party (the plugin developer) for your blog to function.<\/p>\n<p>There are many cases of popular plugins being abandoned by their developers, leaving countless site owners stuck with outdated and potentially vulnerable software.<\/p>\n<p>Another reason is that you\u2019re not running the risk of using a bloated plugin that can slow your site to a grind, or even worse, contain a malicious piece of code, although this is rare provided you get your plugins from the official WordPress directory.<\/p>\n<h2>Getting startedails<\/h2>\n<p>This \"related posts\" feature, like most others, is designed to be placed on your main article page (single.php), but you can use it almost anywhere, as long as you keep it within the WordPress loop.<\/p>\n<p>In order to get the related posts, we\u2019ll be using the post tags that are given to individual articles.<\/p>\n<h2>Thumbnails<\/h2>\n<p>WordPress now features a built-in thumbnail system, which we\u2019ll need here. In order to enable it, add this code to your functions.php file in your theme folder (in most cases, it\u2019s already there).<\/p>\n<pre>\r\nadd_theme_support( 'post-thumbnails' );\r\n<\/pre>\n<p>You can also set the width and height of the thumbnails by adding another line to the code:<\/p>\n<pre>\r\nadd_theme_support( 'post-thumbnails' );\r\nset_post_thumbnail_size( 100, 50, true );\r\n<\/pre>\n<p><strong>Important:<\/strong> When adding images to posts, in order to create a thumbnail, you have to, in the image upload panel, select \u201cUse as featured image\u201d. This will create the thumbnail for the post.<\/p>\n<h2>The codes<\/h2>\n<pre>\r\n&lt;div class=\"relatedposts\"&gt;\r\n&lt;h4&gt;Related posts&lt;\/h4&gt;\r\n&lt;?php\r\n\t$orig_post = $post;\r\n\tglobal $post;\r\n\t$tags = wp_get_post_tags($post-&gt;ID);\r\n\t\r\n\tif ($tags) {\r\n\t$tag_ids = array();\r\n\tforeach($tags as $individual_tag) $tag_ids[] = $individual_tag-&gt;term_id;\r\n\t$args=array(\r\n\t'tag__in' =&gt; $tag_ids,\r\n\t'post__not_in' =&gt; array($post-&gt;ID),\r\n\t'posts_per_page'=&gt;4, \/\/ Number of related posts to display.\r\n\t'caller_get_posts'=&gt;1\r\n\t);\r\n\t\r\n\t$my_query = new wp_query( $args );\r\n\r\n\twhile( $my_query-&gt;have_posts() ) {\r\n\t$my_query-&gt;the_post();\r\n\t?&gt;\r\n\t\r\n\t&lt;div class=\"relatedthumb\"&gt;\r\n\t\t&lt;a rel=\"nofollow\" target=\"_blank\" href=\"&lt;? the_permalink()?&gt;\"&gt;&lt;?php the_post_thumbnail(array(150,100)); ?&gt;&lt;br \/&gt;\r\n\t\t&lt;?php the_title(); ?&gt;\r\n\t\t&lt;\/a&gt;\r\n\t&lt;\/div&gt;\r\n\t\r\n\t&lt;? }\r\n\t}\r\n\t$post = $orig_post;\r\n\twp_reset_query();\r\n\t?&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>The piece of code <code>the_post_thumbnail(array(150,100)<\/code> sets the size of the thumbnail which will be displayed, in this case, 150px width, 100px height.<\/p>\n<h2>The CSS<\/h2>\n<p>We have two divs classes here, \u201c.relatedposts\u201d, which is the overall div container, and \u201c.relatedthumb\u201d which is the individual thumbnail and link within the .relatedposts. We\u2019ll assume that the width of the post is the standard 640px. The CSS:<\/p>\n<pre>\r\n.relatedposts {width: 640px; margin: 0 0 20px 0; float: left; font-size: 12px;}\r\n.relatedposts h4 {font-size: 20px; margin: 0 0 5px 0; }\r\n.relatedthumb {margin: 0 1px 0 1px; float: left; }\r\n.relatedthumb img {margin: 0 0 3px 0; padding: 0;}\r\n.relatedthumb a {color :#333; text-decoration: none; display:block; padding: 4px; width: 150px;}\r\n.relatedthumb a:hover {background-color: #ddd; color: #000;}\r\n<\/pre>\n<p>The CSS above will render the post thumbnails with 150px in width, which means we\u2019ll need 4 thumbnails to fill the 640px width of the post (including the margin between them). You can adjust this as you wish; if you want 5 thumbnails, you\u2019ll need a .relatedthumb width of approximately 125px.<\/p>\n<p><b>Important:<\/b> Be sure to set the width of the thumbnails generated in your WordPress media settings to match the ones you set in CSS. Additionally, it has to match the size specified in the php code: <code>the_post_thumbnail(array(150,100)<\/code>.<\/p>\n<h2>Example of ouptut<\/h2>\n<p>The related posts should appear something like this, as used by gaming blog DigitalBattle (which uses the exact technique described in this article):<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/wp-related-post-without-plugins\/related-posts.jpg\" alt=\"\" width=\"600\" height=\"156\"><\/figure>\n<h2>Conclusion<\/h2>\n<p>We can do a lot with the built-in features that WordPress offers, and in many cases, we don\u2019t need to resort to third-party plugins to get the job done.<\/p>\n<p>Next time you need a plugin for your WordPress blog, see if you can achieve the same feature without the plugin. Dig around, search the Web for an alternative. You\u2019ll be surprised how much is possible with WordPress out of the box.<\/p>","protected":false},"excerpt":{"rendered":"<p>Note: This post was first published on the 7th June, 2012. One of the big advantages of using WordPress are the plugins. WordPress plugins cover almost anything you can imagine, from expanding your blog into a CMS, to adding nifty features and optimizing your blog for search engines \u2013 the possibilities are endless (and let\u2019s&hellip;<\/p>\n","protected":false},"author":30,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49],"tags":[4663,252],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to add WordPress Related Posts Without Plugins - Hongkiat<\/title>\n<meta name=\"description\" content=\"Note: This post was first published on the 7th June, 2012. One of the big advantages of using WordPress are the plugins. WordPress plugins cover almost\" \/>\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.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add WordPress Related Posts Without Plugins\" \/>\n<meta property=\"og:description\" content=\"Note: This post was first published on the 7th June, 2012. One of the big advantages of using WordPress are the plugins. WordPress plugins cover almost\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2012-06-07T13:02:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T17:06:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/wp-related-post-without-plugins\/related-posts.jpg\" \/>\n<meta name=\"author\" content=\"Darren Stevens\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Darren Stevens\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/\"},\"author\":{\"name\":\"Darren Stevens\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/945ef3e64e84bc2e5541128d3cb6854c\"},\"headline\":\"How to add WordPress Related Posts Without Plugins\",\"datePublished\":\"2012-06-07T13:02:28+00:00\",\"dateModified\":\"2025-04-03T17:06:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/\"},\"wordCount\":711,\"commentCount\":71,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wp-related-post-without-plugins\\\/related-posts.jpg\",\"keywords\":[\"ad-divi\",\"WordPress Tips\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/\",\"name\":\"How to add WordPress Related Posts Without Plugins - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wp-related-post-without-plugins\\\/related-posts.jpg\",\"datePublished\":\"2012-06-07T13:02:28+00:00\",\"dateModified\":\"2025-04-03T17:06:45+00:00\",\"description\":\"Note: This post was first published on the 7th June, 2012. One of the big advantages of using WordPress are the plugins. WordPress plugins cover almost\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wp-related-post-without-plugins\\\/related-posts.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wp-related-post-without-plugins\\\/related-posts.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-related-posts-without-plugins\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add WordPress Related Posts Without Plugins\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/945ef3e64e84bc2e5541128d3cb6854c\",\"name\":\"Darren Stevens\",\"description\":\"Darren is the founder of Blogvibe, a new, minimalistic design blog focusing on design, inspiration, showcases, and general articles about blogging and the like.\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/darrenstevens\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to add WordPress Related Posts Without Plugins - Hongkiat","description":"Note: This post was first published on the 7th June, 2012. One of the big advantages of using WordPress are the plugins. WordPress plugins cover almost","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.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/","og_locale":"en_US","og_type":"article","og_title":"How to add WordPress Related Posts Without Plugins","og_description":"Note: This post was first published on the 7th June, 2012. One of the big advantages of using WordPress are the plugins. WordPress plugins cover almost","og_url":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2012-06-07T13:02:28+00:00","article_modified_time":"2025-04-03T17:06:45+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/wp-related-post-without-plugins\/related-posts.jpg","type":"","width":"","height":""}],"author":"Darren Stevens","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Darren Stevens","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/"},"author":{"name":"Darren Stevens","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/945ef3e64e84bc2e5541128d3cb6854c"},"headline":"How to add WordPress Related Posts Without Plugins","datePublished":"2012-06-07T13:02:28+00:00","dateModified":"2025-04-03T17:06:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/"},"wordCount":711,"commentCount":71,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/wp-related-post-without-plugins\/related-posts.jpg","keywords":["ad-divi","WordPress Tips"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/","url":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/","name":"How to add WordPress Related Posts Without Plugins - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/wp-related-post-without-plugins\/related-posts.jpg","datePublished":"2012-06-07T13:02:28+00:00","dateModified":"2025-04-03T17:06:45+00:00","description":"Note: This post was first published on the 7th June, 2012. One of the big advantages of using WordPress are the plugins. WordPress plugins cover almost","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/wp-related-post-without-plugins\/related-posts.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/wp-related-post-without-plugins\/related-posts.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-related-posts-without-plugins\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to add WordPress Related Posts Without Plugins"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/945ef3e64e84bc2e5541128d3cb6854c","name":"Darren Stevens","description":"Darren is the founder of Blogvibe, a new, minimalistic design blog focusing on design, inspiration, showcases, and general articles about blogging and the like.","url":"https:\/\/www.hongkiat.com\/blog\/author\/darrenstevens\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-3C1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/13889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=13889"}],"version-history":[{"count":4,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/13889\/revisions"}],"predecessor-version":[{"id":73520,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/13889\/revisions\/73520"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=13889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=13889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=13889"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=13889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}