{"id":19218,"date":"2014-01-31T15:01:04","date_gmt":"2014-01-31T07:01:04","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=19218"},"modified":"2025-04-04T01:42:07","modified_gmt":"2025-04-03T17:42:07","slug":"modal-windows-vex","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/","title":{"rendered":"Create, Control, &#038; Customize Your Website&#8217;s Modal Window with Vex"},"content":{"rendered":"<p>A <strong>modal window<\/strong> can greatly enhance user interaction on your website. Often referred to as a modal box, this feature is essentially a <strong>dialog box displayed within your webpage<\/strong>. We previously offered a tutorial on creating modal windows with the Bootstrap Plugin in a <a href=\"https:\/\/www.hongkiat.com\/blog\/bootstrap-plugin-modal-window\/\">previous article<\/a>.<\/p>\n<p>This article will introduce you to <strong>Vex<\/strong>, another fantastic tool for crafting modal windows, which utilizes the jQuery library for seamless integration.<\/p>\n<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.hubspot.com\/vex\/docs\/welcome\/\">Vex<\/a> stands out as a fully <strong>customizable Javascript library<\/strong>, facilitating the easy creation of modal windows. This lightweight jQuery plugin offers an alternative to the native dialog box provided by browsers.<\/p>\n<h2>Getting Started<\/h2>\n<p>First off, let\u2019s get the Vex script ready. It\u2019s available for download <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/HubSpot\/vex\">here<\/a>. After downloading, ensure to include the latest version of jQuery in the header of your webpage using the script below.<\/p>\n<pre>\r\n&lt;script src=\"http:\/\/code.jquery.com\/jquery-latest.min.js\"&gt;&lt;\/script&gt;\r\n<\/pre>\n<p>To integrate Vex into your project, you must include both the <code>vex.js<\/code> and <code>vex.css<\/code> files in your site\u2019s header. For simplicity, instead of separately adding <code>vex.js<\/code> and <code>vex.dialog.js<\/code>, you can use <code>vex.combined.js<\/code> or its minified version, <code>vex.combined.min.js<\/code>.<\/p>\n<p>Let\u2019s proceed by including the necessary Vex library files in the header as shown below.<\/p>\n<pre>\r\n&lt;script src=\"vex.combined.min.js\"&gt;&lt;\/script&gt;\r\n&lt;link rel=\"stylesheet\" href=\"vex.css\" \/&gt;\r\n&lt;link rel=\"stylesheet\" href=\"vex-theme-os.css\" \/&gt;\r\n<\/pre>\n<p>In the script above, <code>vex-theme-os.css<\/code> is a pre-designed Vex theme that\u2019s ready to use. If you\u2019re interested in exploring other themes, the documentation and demo <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.hubspot.com\/vex\/api\/themes\/\">here<\/a> can guide you through the available options.<\/p>\n<h2>Applying Vex<\/h2>\n<p>The foundational methods within Vex include <code>vex.dialog.alert<\/code>, <code>vex.dialog.confirm<\/code>, and <code>vex.dialog.prompt<\/code>. Additionally, there\u2019s <code>vex.dialog.open<\/code>, a versatile method that combines these functions for advanced applications, such as creating forms, login interfaces, or multiple modal windows.<\/p>\n<p>Next, let\u2019s construct a straightforward login modal window using the <code>vex.dialog.open<\/code> method. Before diving into the method, it\u2019s crucial to set our theme via the <code>defaultOptions.className<\/code> option. Applying the theme is straightforward \u2013 simply assign the theme name to the option like this:<\/p>\n<pre>\r\n vex.defaultOptions.className = 'vex-theme-os';\r\n <\/pre>\n<p class=\"note\">For additional options and API documentation, visit the Vex <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.hubspot.com\/vex\/api\/advanced\/\">advanced documentation page<\/a>.<\/p>\n<p>As previously mentioned, <code>vex.dialog.open<\/code> essentially integrates three other methods for a more complex use-case. Below is a sophisticated example where we internally utilize <code>alert<\/code>, <code>confirm<\/code>, and <code>prompt<\/code> to create a login dialog.<\/p>\n<pre>\r\n&lt;script&gt;\r\n  vex.defaultOptions.className = 'vex-theme-os';\r\n  vex.dialog.open({\r\n    message: 'Please enter your username and password:',\r\n    input: \"&lt;input name=\\\"username\\\" type=\\\"text\\\" placeholder=\\\"Username\\\" required \/&gt;\\n&lt;input name=\\\"password\\\" type=\\\"password\\\" placeholder=\\\"Password\\\" required \/&gt;\",\r\n    buttons: [\r\n      $.extend({}, vex.dialog.buttons.YES, { text: 'Login' }),\r\n      $.extend({}, vex.dialog.buttons.NO, { text: 'Back' })\r\n    ]\r\n  });\r\n&lt;\/script&gt;\r\n <\/pre>\n<p>Thus, our login modal appears as follows.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/modal-windows-vex\/login-box-demo.jpg\" alt=\"Login Box Demo\" width=\"500\" height=\"400\"><\/figure>\n<p>&lt;script&gt;\n  vex.defaultOptions.className = \u2018vex-theme-os\u2019;\n  vex.dialog.open({\n    message: \u2018Please enter your username and password:\u2019,\n    input: \u201c&lt;input name=\\\u201dusername\\\u201d type=\\\u201dtext\\\u201d placeholder=\\\u201dUsername\\\u201d required \/&gt;\\n&lt;input name=\\\u201dpassword\\\u201d type=\\\u201dpassword\\\u201d placeholder=\\\u201dPassword\\\u201d required \/&gt;\u201d,\n    buttons: [\n      $.extend({}, vex.dialog.buttons.YES, { text: \u2018Login\u2019 }),\n      $.extend({}, vex.dialog.buttons.NO, { text: \u2018Back\u2019 })\n    ]\n  });\n&lt;\/script&gt; <\/p>","protected":false},"excerpt":{"rendered":"<p>A modal window can greatly enhance user interaction on your website. Often referred to as a modal box, this feature is essentially a dialog box displayed within your webpage. We previously offered a tutorial on creating modal windows with the Bootstrap Plugin in a previous article. This article will introduce you to Vex, another fantastic&hellip;<\/p>\n","protected":false},"author":136,"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":[352],"tags":[4117,2957],"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.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Create, Control, &amp; Customize Your Website&#039;s Modal Window with Vex - Hongkiat<\/title>\n<meta name=\"description\" content=\"A modal window can greatly enhance user interaction on your website. Often referred to as a modal box, this feature is essentially a dialog box displayed\" \/>\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\/modal-windows-vex\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create, Control, &amp; Customize Your Website&#039;s Modal Window with Vex\" \/>\n<meta property=\"og:description\" content=\"A modal window can greatly enhance user interaction on your website. Often referred to as a modal box, this feature is essentially a dialog box displayed\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/\" \/>\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=\"2014-01-31T07:01:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T17:42:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/modal-windows-vex\/login-box-demo.jpg\" \/>\n<meta name=\"author\" content=\"Irfan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@IrfanFza\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Irfan\" \/>\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\\\/modal-windows-vex\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/\"},\"author\":{\"name\":\"Irfan\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/483b1092b8017f37d977331e91935d8c\"},\"headline\":\"Create, Control, &#038; Customize Your Website&#8217;s Modal Window with Vex\",\"datePublished\":\"2014-01-31T07:01:04+00:00\",\"dateModified\":\"2025-04-03T17:42:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/\"},\"wordCount\":407,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/modal-windows-vex\\\/login-box-demo.jpg\",\"keywords\":[\"Javascripts\",\"Modal Window\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/\",\"name\":\"Create, Control, & Customize Your Website's Modal Window with Vex - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/modal-windows-vex\\\/login-box-demo.jpg\",\"datePublished\":\"2014-01-31T07:01:04+00:00\",\"dateModified\":\"2025-04-03T17:42:07+00:00\",\"description\":\"A modal window can greatly enhance user interaction on your website. Often referred to as a modal box, this feature is essentially a dialog box displayed\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/modal-windows-vex\\\/login-box-demo.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/modal-windows-vex\\\/login-box-demo.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/modal-windows-vex\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create, Control, &#038; Customize Your Website&#8217;s Modal Window with Vex\"}]},{\"@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\\\/483b1092b8017f37d977331e91935d8c\",\"name\":\"Irfan\",\"description\":\"Irfan is a writer for hongkiat.com and tech enthusiast all-around. He also appreciates much on minimalist and clean design. Movie and football lovers and enjoy to travel around in his free time.\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/IrfanFza\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/irfan_fauzii\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create, Control, & Customize Your Website's Modal Window with Vex - Hongkiat","description":"A modal window can greatly enhance user interaction on your website. Often referred to as a modal box, this feature is essentially a dialog box displayed","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\/modal-windows-vex\/","og_locale":"en_US","og_type":"article","og_title":"Create, Control, & Customize Your Website's Modal Window with Vex","og_description":"A modal window can greatly enhance user interaction on your website. Often referred to as a modal box, this feature is essentially a dialog box displayed","og_url":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2014-01-31T07:01:04+00:00","article_modified_time":"2025-04-03T17:42:07+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/modal-windows-vex\/login-box-demo.jpg","type":"","width":"","height":""}],"author":"Irfan","twitter_card":"summary_large_image","twitter_creator":"@IrfanFza","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Irfan","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/"},"author":{"name":"Irfan","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/483b1092b8017f37d977331e91935d8c"},"headline":"Create, Control, &#038; Customize Your Website&#8217;s Modal Window with Vex","datePublished":"2014-01-31T07:01:04+00:00","dateModified":"2025-04-03T17:42:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/"},"wordCount":407,"commentCount":6,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/modal-windows-vex\/login-box-demo.jpg","keywords":["Javascripts","Modal Window"],"articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/","url":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/","name":"Create, Control, & Customize Your Website's Modal Window with Vex - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/modal-windows-vex\/login-box-demo.jpg","datePublished":"2014-01-31T07:01:04+00:00","dateModified":"2025-04-03T17:42:07+00:00","description":"A modal window can greatly enhance user interaction on your website. Often referred to as a modal box, this feature is essentially a dialog box displayed","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/modal-windows-vex\/login-box-demo.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/modal-windows-vex\/login-box-demo.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/modal-windows-vex\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create, Control, &#038; Customize Your Website&#8217;s Modal Window with Vex"}]},{"@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\/483b1092b8017f37d977331e91935d8c","name":"Irfan","description":"Irfan is a writer for hongkiat.com and tech enthusiast all-around. He also appreciates much on minimalist and clean design. Movie and football lovers and enjoy to travel around in his free time.","sameAs":["https:\/\/x.com\/IrfanFza"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/irfan_fauzii\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-4ZY","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19218","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\/136"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=19218"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19218\/revisions"}],"predecessor-version":[{"id":73657,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19218\/revisions\/73657"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=19218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=19218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=19218"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=19218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}