{"id":57064,"date":"2016-08-11T14:04:01","date_gmt":"2016-08-11T14:04:01","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=57064"},"modified":"2024-03-26T11:42:21","modified_gmt":"2024-03-26T11:42:21","slug":"load-custom-layout-controller-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/","title":{"rendered":"load custom layout at frontend from controller in magento 2"},"content":{"rendered":"\n<p>load custom layout at frontend from controller in magento 2 <\/p>\n\n\n\n<p>In this article we will learn how to load a custom layout from controller in Magento2.<\/p>\n\n\n\n<p>So at first, we will create a layout file which is to be loaded from other controller under\u00a0<strong>app\/code\/<em>Namespace<\/em>\/<em>Module<\/em>\/view\/frontend\/layout\/ ,<\/strong> let&#8217;s say<strong>\u00a0module_custom_customlayout.xml\u00a0<\/strong>Now write the following code in this file.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;page xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd&quot;&gt;\n    &lt;body&gt;\n        &lt;referenceContainer name=&quot;content&quot;&gt;\n            &lt;block class=&quot;Namespace\\Module\\Block\\Custom&quot; name=&quot;custom_layout_load&quot; template=&quot;Namespace_Module::custom.phtml&quot; cacheable=&quot;false&quot;\/&gt;\n        &lt;\/referenceContainer&gt;\n    &lt;\/body&gt;\n&lt;\/page&gt;<\/pre>\n\n\n\n<p>There is also a page called on this layout, i.e. <strong>custom.phtml<\/strong> under&nbsp;<strong>app\/code\/<em>Namespace<\/em>\/<em>Module<\/em>\/view\/frontend\/templates\/&nbsp;<\/strong>. In this file I have only written the php code to print some <strong>string<\/strong>. You may change it according to your need.<\/p>\n\n\n\n<p>Now the major part is to load\u00a0this layout from a controller.<br>So create a controller , let&#8217;s say in my case the controller name is &#8220;<strong>Custom<\/strong>&#8221; under <strong>app\/code\/<strong><em>Namespace<\/em>\/<em>Module\/<\/em><\/strong>Controller\/<\/strong> and then create its action file, &#8220;<strong>Custom.php<\/strong>&#8221; under\u00a0<strong>app\/code\/<strong><strong><em>Namespace<\/em>\/<em>Module\/<\/em><\/strong><\/strong>Controller\/Custom\/.<br><\/strong>Here is the code snippet that will be written in file\u00a0<strong>app\/code\/<strong><strong><em>Namespace<\/em>\/<em>Module\/<\/em><\/strong><\/strong>Controller\/Custom\/<strong>Custom.php\u00a0<\/strong><\/strong>to load layout\u00a0of\u00a0<strong>app\/code\/<em>Namespace<\/em>\/<em>Module<\/em>\/view\/frontend\/layout\/<strong>module_custom_customlayout.xml\u00a0<\/strong><\/strong>file.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\nnamespace Namespace\\Module\\Controller\\Custom;\n\nuse Magento\\Framework\\App\\Action\\Action;\nuse Magento\\Framework\\App\\Action\\Context;\nuse Magento\\Framework\\View\\Result\\PageFactory;\n\nclass Custom extends Action\n{\n    \/**\n     * @var \\Magento\\Framework\\View\\Result\\PageFactory\n     *\/\n    protected $_resultPageFactory;\n\n    \/**\n     * &#091;__construct]\n     * @param Context                          $context\n     * @param PageFactory                      $resultPageFactory\n     *\/\n    public function __construct(\n        Context $context,\n        PageFactory $resultPageFactory,\n    ) {\n        $this-&gt;_resultPageFactory = $resultPageFactory;\n        parent::__construct(\n            $context\n        );\n    }\n\n    \/**\n     * loads custom layout\n     *\n     * @return \\Magento\\Framework\\View\\Result\\Page\n     *\/\n    public function execute()\n    {\n       $resultPage = $this-&gt;_resultPageFactory-&gt;create();\n       $resultPage-&gt;addHandle(&#039;module_custom_customlayout&#039;); \/\/loads the layout of module_custom_customlayout.xml file with its name\n       return $resultPage;\n    }\n}<\/pre>\n\n\n\n<p>Above code will load the file&nbsp;<strong>app\/code\/<em>Namespace<\/em>\/<em>Module<\/em>\/view\/frontend\/templates\/custom.phtml &nbsp;<\/strong>and then prints the string written in this file at frontend.<\/p>\n\n\n\n<p>That&#8217;s all in this article, hope it will help you to load&nbsp;a layout file at frontend.Ttry the above code and&nbsp;if you have any issue just comment below. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>load custom layout at frontend from controller in magento 2 In this article we will learn how to load a custom layout from controller in Magento2. So at first, we will create a layout file which is to be loaded from other controller under\u00a0app\/code\/Namespace\/Module\/view\/frontend\/layout\/ , let&#8217;s say\u00a0module_custom_customlayout.xml\u00a0Now write the following code in this file. There <a href=\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":103,"featured_media":54828,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,302],"tags":[3515],"class_list":["post-57064","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento","category-magento2","tag-load-custom-layout-at-frontend-from-controller-in-magento-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>load custom layout at frontend from controller in magento 2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"load custom layout at frontend from controller in magento 2\" \/>\n<meta property=\"og:description\" content=\"load custom layout at frontend from controller in magento 2 In this article we will learn how to load a custom layout from controller in Magento2. So at first, we will create a layout file which is to be loaded from other controller under\u00a0app\/code\/Namespace\/Module\/view\/frontend\/layout\/ , let&#8217;s say\u00a0module_custom_customlayout.xml\u00a0Now write the following code in this file. There [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-11T14:04:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-26T11:42:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pranjali Goel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pranjali Goel\" \/>\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:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/\"},\"author\":{\"name\":\"Pranjali Goel\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/c1964884ceb33a5ffdf322ee5424f692\"},\"headline\":\"load custom layout at frontend from controller in magento 2\",\"datePublished\":\"2016-08-11T14:04:01+00:00\",\"dateModified\":\"2024-03-26T11:42:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/\"},\"wordCount\":260,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png\",\"keywords\":[\"load custom layout at frontend from controller in magento 2\"],\"articleSection\":[\"magento\",\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/\",\"name\":\"load custom layout at frontend from controller in magento 2\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png\",\"datePublished\":\"2016-08-11T14:04:01+00:00\",\"dateModified\":\"2024-03-26T11:42:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"load custom layout at frontend from controller in magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/c1964884ceb33a5ffdf322ee5424f692\",\"name\":\"Pranjali Goel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e670273251719f83735534af186231dd99fbe378466fef356d4e55de5b46244f?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e670273251719f83735534af186231dd99fbe378466fef356d4e55de5b46244f?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Pranjali Goel\"},\"description\":\"Believes in simple lifestyle and follow a simple logic to make herself better than yesterday.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/pranjali968\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"load custom layout at frontend from controller in magento 2","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:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"load custom layout at frontend from controller in magento 2","og_description":"load custom layout at frontend from controller in magento 2 In this article we will learn how to load a custom layout from controller in Magento2. So at first, we will create a layout file which is to be loaded from other controller under\u00a0app\/code\/Namespace\/Module\/view\/frontend\/layout\/ , let&#8217;s say\u00a0module_custom_customlayout.xml\u00a0Now write the following code in this file. There [...]","og_url":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-08-11T14:04:01+00:00","article_modified_time":"2024-03-26T11:42:21+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png","type":"image\/png"}],"author":"Pranjali Goel","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Pranjali Goel","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/"},"author":{"name":"Pranjali Goel","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/c1964884ceb33a5ffdf322ee5424f692"},"headline":"load custom layout at frontend from controller in magento 2","datePublished":"2016-08-11T14:04:01+00:00","dateModified":"2024-03-26T11:42:21+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/"},"wordCount":260,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png","keywords":["load custom layout at frontend from controller in magento 2"],"articleSection":["magento","Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/","url":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/","name":"load custom layout at frontend from controller in magento 2","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png","datePublished":"2016-08-11T14:04:01+00:00","dateModified":"2024-03-26T11:42:21+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/07\/Magneto-Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/load-custom-layout-controller-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"load custom layout at frontend from controller in magento 2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/c1964884ceb33a5ffdf322ee5424f692","name":"Pranjali Goel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e670273251719f83735534af186231dd99fbe378466fef356d4e55de5b46244f?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e670273251719f83735534af186231dd99fbe378466fef356d4e55de5b46244f?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Pranjali Goel"},"description":"Believes in simple lifestyle and follow a simple logic to make herself better than yesterday.","url":"https:\/\/webkul.com\/blog\/author\/pranjali968\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/57064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/103"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=57064"}],"version-history":[{"count":6,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/57064\/revisions"}],"predecessor-version":[{"id":429560,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/57064\/revisions\/429560"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/54828"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=57064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=57064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=57064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}