{"id":17492,"date":"2013-06-26T21:01:23","date_gmt":"2013-06-26T13:01:23","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=17492"},"modified":"2025-04-04T01:34:29","modified_gmt":"2025-04-03T17:34:29","slug":"wordpress-browser-type-detection","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/","title":{"rendered":"How to Detect a Visitor&#8217;s Browser in WordPress"},"content":{"rendered":"<p>There are times when you may need to deliver specific content or adjustments based on the web browser your site visitors are using. Various methods can help you achieve this. For instance, you can use the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.quirksmode.org\/js\/detect.html\">JavaScript <code>BrowserDetect.browser<\/code> function<\/a> or <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.quirksmode.org\/css\/condcom.html\">comment tags targeting Internet Explorer<\/a>.<\/p>\n<p><a href=\"https:\/\/www.hongkiat.com\/blog\/modernizr\/\">Modernizr<\/a> is another useful tool for browser feature detection. Although <a href=\"https:\/\/www.hongkiat.com\/blog\/responsive-for-mobile-screens\/\">CSS3 media queries<\/a> aren\u2019t designed to identify browser types, they can be helpful for optimizing website presentation on mobile devices.<\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-1\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/40-most-wanted-wordpress-tricks-and-hacks\/\" class=\"ref-block__link\" title=\"Read More: 60+ Most Wanted WordPress Tricks and Hacks (Updated)\" rel=\"bookmark\"><span class=\"screen-reader-text\">60+ Most Wanted WordPress Tricks and Hacks (Updated)<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/40-most-wanted-wordpress-tricks-and-hacks.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-1474 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/40-most-wanted-wordpress-tricks-and-hacks.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">60+ Most Wanted WordPress Tricks and Hacks (Updated)<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tHave you ever came across a WordPress blog, saw something you liked, and thought; how they did that,...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<h2>Using PHP for Browser Detection<\/h2>\n<p>While the above methods modify the front-end, the actual HTML markup remains the same. For example, if you have two <code>&lt;div&gt;<\/code> elements-one for Internet Explorer and another for other browsers-both will exist in the HTML document, regardless of the browser used.<\/p>\n<p>In cases where front-end methods aren\u2019t sufficient, server-side languages like <a href=\"https:\/\/www.hongkiat.com\/blog\/execute-php-in-wordpress-post-page-and-widget-sidebar\/\">PHP<\/a> offer a more robust solution. For WordPress users, the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/wordpress.org\/\/plugins\/php-browser-detection\/\">PHP Browser Detection plugin<\/a> makes this task easier.<\/p>\n<h3>Conditional Functions in PHP<\/h3>\n<p>Upon activation, this plugin doesn\u2019t show anything in the WordPress Dashboard. Instead, it offers conditional functions that you can use in your theme files like page.php or index.php. These functions can detect various desktop and mobile devices, including iPads and iPhones.<\/p>\n<h3>Basic Implementation<\/h3>\n<p>For example, if you want to display a notification only to Chrome users, you can add the following code in your <strong>header.php<\/strong> file, within the <code>&lt;body&gt;<\/code> tag:<\/p>\n<pre>\r\n&lt;?php if ( is_Chrome() ) {  \r\n$browserInfo = php_browser_info();\r\n$browser = $browserInfo['browser'];\r\n$version = $browserInfo['version'];\r\n\r\necho '&lt;div class=\"browser-notification\"&gt;You are using ' . $browser . ' ' . $version . '. Please update your browser for a better experience.&lt;\/div&gt;';\r\n} ?&gt;\r\n<\/pre>\n<p>In contrast, users of <strong>other browsers<\/strong> like Firefox, Opera and Safari will not see this notification.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/wordpress-browser-type-detection\/no-markup.jpg\" alt=\"No Markup for Other Browsers\" width=\"500\" height=\"200\"><\/figure>\n<p>Similarly, you can target mobile devices to optimize your WordPress site\u2019s performance. For instance, you can serve lower-resolution images on mobile devices and higher-resolution images on desktop browsers by adding the following function to your <strong>index.php<\/strong> file:<\/p>\n<pre>\r\n&lt;?php if ( is_mobile() ) { \r\n\tthe_post_thumbnail( 'small' );\r\n} else {\r\n\tthe_post_thumbnail( 'large' );\r\n} ?&gt;\r\n<\/pre>\n<p>For more details and examples, visit <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/wordpress.org\/\/extend\/plugins\/php-browser-detection\/\">the WordPress.org plugin page<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>There are times when you may need to deliver specific content or adjustments based on the web browser your site visitors are using. Various methods can help you achieve this. For instance, you can use the JavaScript BrowserDetect.browser function or comment tags targeting Internet Explorer. Modernizr is another useful tool for browser feature detection. Although&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"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.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Detect a Visitor&#039;s Browser in WordPress - Hongkiat<\/title>\n<meta name=\"description\" content=\"There are times when you may need to deliver specific content or adjustments based on the web browser your site visitors are using. Various methods can\" \/>\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-browser-type-detection\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Detect a Visitor&#039;s Browser in WordPress\" \/>\n<meta property=\"og:description\" content=\"There are times when you may need to deliver specific content or adjustments based on the web browser your site visitors are using. Various methods can\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/\" \/>\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=\"2013-06-26T13:01:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T17:34:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/wordpress-browser-type-detection\/no-markup.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\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.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"How to Detect a Visitor&#8217;s Browser in WordPress\",\"datePublished\":\"2013-06-26T13:01:23+00:00\",\"dateModified\":\"2025-04-03T17:34:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/\"},\"wordCount\":306,\"commentCount\":14,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wordpress-browser-type-detection\\\/no-markup.jpg\",\"keywords\":[\"ad-divi\",\"WordPress Tips\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/\",\"name\":\"How to Detect a Visitor's Browser in WordPress - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wordpress-browser-type-detection\\\/no-markup.jpg\",\"datePublished\":\"2013-06-26T13:01:23+00:00\",\"dateModified\":\"2025-04-03T17:34:29+00:00\",\"description\":\"There are times when you may need to deliver specific content or adjustments based on the web browser your site visitors are using. Various methods can\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wordpress-browser-type-detection\\\/no-markup.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/wordpress-browser-type-detection\\\/no-markup.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-browser-type-detection\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Detect a Visitor&#8217;s Browser in WordPress\"}]},{\"@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\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Detect a Visitor's Browser in WordPress - Hongkiat","description":"There are times when you may need to deliver specific content or adjustments based on the web browser your site visitors are using. Various methods can","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-browser-type-detection\/","og_locale":"en_US","og_type":"article","og_title":"How to Detect a Visitor's Browser in WordPress","og_description":"There are times when you may need to deliver specific content or adjustments based on the web browser your site visitors are using. Various methods can","og_url":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2013-06-26T13:01:23+00:00","article_modified_time":"2025-04-03T17:34:29+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-browser-type-detection\/no-markup.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"How to Detect a Visitor&#8217;s Browser in WordPress","datePublished":"2013-06-26T13:01:23+00:00","dateModified":"2025-04-03T17:34:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/"},"wordCount":306,"commentCount":14,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-browser-type-detection\/no-markup.jpg","keywords":["ad-divi","WordPress Tips"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/","url":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/","name":"How to Detect a Visitor's Browser in WordPress - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-browser-type-detection\/no-markup.jpg","datePublished":"2013-06-26T13:01:23+00:00","dateModified":"2025-04-03T17:34:29+00:00","description":"There are times when you may need to deliver specific content or adjustments based on the web browser your site visitors are using. Various methods can","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-browser-type-detection\/no-markup.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/wordpress-browser-type-detection\/no-markup.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-browser-type-detection\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Detect a Visitor&#8217;s Browser in WordPress"}]},{"@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\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-4y8","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/17492","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\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=17492"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/17492\/revisions"}],"predecessor-version":[{"id":73609,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/17492\/revisions\/73609"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=17492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=17492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=17492"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=17492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}