{"id":505,"date":"2023-02-11T22:58:46","date_gmt":"2023-02-11T15:58:46","guid":{"rendered":"https:\/\/magerubik.com\/blog\/?p=505"},"modified":"2023-04-24T09:31:37","modified_gmt":"2023-04-24T02:31:37","slug":"create-category-attribute-in-magento-2","status":"publish","type":"post","link":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/","title":{"rendered":"Create Category Attribute in Magento 2"},"content":{"rendered":"\n<div class=\"magerubik-quote\">\n\t<p>Let&#8217;s say you need to create a slide showing subcategories within the parent categories including their image information and names. Although Magento&#8217;s Category already has an image attribute, you want it to be a banner image so you need to create another image attribute. In this article, we will practice create category attribute in Magento.<\/p>\n<\/div>\n<p>Because in Magento already has an input form for the category, our job is just to expand it to add a new attribute.<\/p>\n<p>If you are just starting out, you can read the article <a href=\"https:\/\/magerubik.com\/blog\/create-magento-2-extension-step-by-step\/\" title=\"Create Magento 2 extension step by step\">Create Magento 2 extension step by step<\/a> first.<\/p>\n<h2 class=\"h3\"><strong>1. Create Install data file<\/strong><\/h2>\n<p>Now, Create an InstallData.php file and put it in the location <span class=\"code\">app\/code\/Magerubik\/simple\/Setup\/InstallData.php<\/span> and paste the below code.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\nnamespace Magerubik\\simple\\Setup;\nuse Magento\\Eav\\Setup\\EavSetupFactory;\nuse Magento\\Framework\\Setup\\InstallDataInterface;\nuse Magento\\Framework\\Setup\\ModuleContextInterface;\nuse Magento\\Framework\\Setup\\ModuleDataSetupInterface;\nclass InstallData implements InstallDataInterface\n{\n    private $eavSetupFactory;\n    public function __construct(EavSetupFactory $eavSetupFactory)\n    {\n        $this->eavSetupFactory = $eavSetupFactory;\n    }\n    public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)\n    {\n        $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]);\n        $eavSetup->addAttribute(\n            \\Magento\\Catalog\\Model\\Category::ENTITY,\n            'category_thumbnail',\n            [\n                'type'         => 'varchar',\n                'label'        => 'Category Thumbnail',\n                'input'        => 'image',\n\t\t\t\t'backend' => 'Magento\\Catalog\\Model\\Category\\Attribute\\Backend\\Image',\n                'sort_order'   => 5,\n                'global' => \\Magento\\Eav\\Model\\Entity\\Attribute\\ScopedAttributeInterface::SCOPE_STORE,\n                'visible'      => true,\n                'required'     => false,\n                'user_defined' => false,\n                'default'      => null,\n                'group' => 'General Information'\n            ]\n        );\n    }\n}<\/pre>\n\n\n\n<p>This file create new attribute in table \u2018eav_attribute\u2018 like below:<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/cdn2.magerubik.com\/media\/extensions\/magento-eav-attribute-table.jpg\" alt=\"Magento eav attribute table\" class=\"wp-image-80\"\/><\/figure>\t\n<h2 class=\"h3\"><strong>2. Show Image attribute field in admin<\/strong><\/h2>\n<p>Let&#8217;s create extened category_form.xml file put in <span class=\"code\">app\/code\/Magerubik\/simple\/view\/adminhtml\/ui_component\/category_form.xml<\/span> and paste the below code.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\" ?>\n&lt;form xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:module:Magento_Ui:etc\/ui_configuration.xsd\">\n    &lt;fieldset name=\"general\">\n\t\t&lt;field name=\"category_thumbnail\" sortOrder=\"40\" formElement=\"imageUploader\">\n            &lt;argument name=\"data\" xsi:type=\"array\">\n                &lt;item name=\"config\" xsi:type=\"array\">\n                    &lt;item name=\"source\" xsi:type=\"string\">category&lt;\/item>\n                &lt;\/item>\n            &lt;\/argument>\n            &lt;settings>\n                &lt;elementTmpl>ui\/form\/element\/uploader\/image&lt;\/elementTmpl>\n                &lt;dataType>string&lt;\/dataType>\n                &lt;label translate=\"true\">Category Thumbnail&lt;\/label>\n                &lt;visible>true&lt;\/visible>\n                &lt;required>false&lt;\/required>\n            &lt;\/settings>\n            &lt;formElements>\n                &lt;imageUploader>\n                    &lt;settings>\n                        &lt;required>false&lt;\/required>\n                        &lt;uploaderConfig>\n                            &lt;param xsi:type=\"url\" name=\"url\" path=\"catalog\/category_image\/upload\"\/>\n                        &lt;\/uploaderConfig>\n                        &lt;previewTmpl>Magento_Catalog\/image-preview&lt;\/previewTmpl>\n                        &lt;openDialogTitle>Media Gallery&lt;\/openDialogTitle>\n                        &lt;initialMediaGalleryOpenSubpath>catalog\/category&lt;\/initialMediaGalleryOpenSubpath>\n                        &lt;allowedExtensions>jpg jpeg gif png&lt;\/allowedExtensions>\n                        &lt;maxFileSize>4194304&lt;\/maxFileSize>\n                    &lt;\/settings>\n                &lt;\/imageUploader>\n            &lt;\/formElements>\n        &lt;\/field>\n    &lt;\/fieldset>\n&lt;\/form><\/pre>\n\n\n\n<p>Finally run the commands below and then go to the magento backend to see the result<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento setup:upgrade\nphp bin\/magento cache:flush\nphp bin\/magento indexer:reindex<\/code><\/pre>\n\n\n\n<p>If it looks like the screen below then everything is ok<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/cdn2.magerubik.com\/media\/extensions\/magento-create-image-attribute.jpg\" alt=\"Magento create image attribute\" class=\"wp-image-80\"\/><\/figure>\t\n<blockquote class=\"wp-block-quote\">\n\t<p>Please add knowledge of input data types in magento 2 and practice with it, good luck. In the next posts we will learn How to <a href=\"https:\/\/magerubik.com\/blog\/how-to-create-new-product-type-in-magento-2\" title=\"create product type in Magento 2\">create product type in Magento 2<\/a>. <a href=\"https:\/\/magerubik.com\/contact\" title=\"Contact Magerubik\">Contact us<\/a> if you face any problems during the installation process.<\/p>\n<\/blockquote>\n<p class=\"simple-note\">You can download the demo code for this entire series from <a href=\"https:\/\/github.com\/magerubik\/module-simple\" title=\"demo code on github\" rel=\"nofollow noopener\">GitHub<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s say you need to create a slide showing subcategories within the parent categories including their image information and names.<\/p>\n","protected":false},"author":1,"featured_media":506,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-505","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-extension-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create Category Attribute in Magento 2 | MageRubik<\/title>\n<meta name=\"description\" content=\"Work will always ask you for new ideas constantly and today we will find ways how to Create Category Attribute in Magento 2.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create Category Attribute in Magento 2 | MageRubik\" \/>\n<meta property=\"og:description\" content=\"Work will always ask you for new ideas constantly and today we will find ways how to Create Category Attribute in Magento 2.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"MageRubik\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/magerubik\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/magerubik\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-11T15:58:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-24T02:31:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"445\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hilary howard\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/www.twitter.com\/magerubik\" \/>\n<meta name=\"twitter:site\" content=\"@magerubik\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hilary howard\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/\"},\"author\":{\"name\":\"Hilary howard\",\"@id\":\"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8\"},\"headline\":\"Create Category Attribute in Magento 2\",\"datePublished\":\"2023-02-11T15:58:46+00:00\",\"dateModified\":\"2023-04-24T02:31:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/\"},\"wordCount\":250,\"publisher\":{\"@id\":\"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8\"},\"image\":{\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg\",\"articleSection\":[\"Magento 2 Extension Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/\",\"url\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/\",\"name\":\"Create Category Attribute in Magento 2 | MageRubik\",\"isPartOf\":{\"@id\":\"https:\/\/magerubik.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg\",\"datePublished\":\"2023-02-11T15:58:46+00:00\",\"dateModified\":\"2023-04-24T02:31:37+00:00\",\"description\":\"Work will always ask you for new ideas constantly and today we will find ways how to Create Category Attribute in Magento 2.\",\"breadcrumb\":{\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg\",\"contentUrl\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg\",\"width\":800,\"height\":445,\"caption\":\"Magento create category attribute\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Magerubik blog site\",\"item\":\"https:\/\/magerubik.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Category Attribute in Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/magerubik.com\/blog\/#website\",\"url\":\"https:\/\/magerubik.com\/blog\/\",\"name\":\"Magerubik\",\"description\":\"MageRubik blog site\",\"publisher\":{\"@id\":\"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8\"},\"alternateName\":\"Magento 2 Extension\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/magerubik.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8\",\"name\":\"Hilary howard\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/magerubik.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magerubik-logo.png\",\"contentUrl\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magerubik-logo.png\",\"width\":265,\"height\":90,\"caption\":\"Hilary howard\"},\"logo\":{\"@id\":\"https:\/\/magerubik.com\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/localhost\/blog\",\"https:\/\/www.facebook.com\/magerubik\",\"https:\/\/www.instagram.com\/magerubik\",\"https:\/\/www.linkedin.com\/magerubik\",\"https:\/\/www.pinterest.com\/magerubik\",\"https:\/\/twitter.com\/https:\/\/www.twitter.com\/magerubik\",\"https:\/\/www.myspace.com\/magerubik\",\"https:\/\/www.youtube.com\/magerubik\",\"https:\/\/www.soundcloud.com\/magerubik\",\"https:\/\/www.tumblr.com\/magerubik\",\"https:\/\/www.wikipedia.com\/magerubik\"],\"url\":\"https:\/\/magerubik.com\/blog\/author\/hilary-howard\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create Category Attribute in Magento 2 | MageRubik","description":"Work will always ask you for new ideas constantly and today we will find ways how to Create Category Attribute 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:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Create Category Attribute in Magento 2 | MageRubik","og_description":"Work will always ask you for new ideas constantly and today we will find ways how to Create Category Attribute in Magento 2.","og_url":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/","og_site_name":"MageRubik","article_publisher":"https:\/\/www.facebook.com\/magerubik","article_author":"https:\/\/www.facebook.com\/magerubik","article_published_time":"2023-02-11T15:58:46+00:00","article_modified_time":"2023-04-24T02:31:37+00:00","og_image":[{"width":800,"height":445,"url":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg","type":"image\/jpeg"}],"author":"Hilary howard","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/www.twitter.com\/magerubik","twitter_site":"@magerubik","twitter_misc":{"Written by":"Hilary howard","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/"},"author":{"name":"Hilary howard","@id":"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8"},"headline":"Create Category Attribute in Magento 2","datePublished":"2023-02-11T15:58:46+00:00","dateModified":"2023-04-24T02:31:37+00:00","mainEntityOfPage":{"@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/"},"wordCount":250,"publisher":{"@id":"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8"},"image":{"@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg","articleSection":["Magento 2 Extension Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/","url":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/","name":"Create Category Attribute in Magento 2 | MageRubik","isPartOf":{"@id":"https:\/\/magerubik.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg","datePublished":"2023-02-11T15:58:46+00:00","dateModified":"2023-04-24T02:31:37+00:00","description":"Work will always ask you for new ideas constantly and today we will find ways how to Create Category Attribute in Magento 2.","breadcrumb":{"@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#primaryimage","url":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg","contentUrl":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2023\/02\/magento-create-category-attribute.jpg","width":800,"height":445,"caption":"Magento create category attribute"},{"@type":"BreadcrumbList","@id":"https:\/\/magerubik.com\/blog\/create-category-attribute-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magerubik blog site","item":"https:\/\/magerubik.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create Category Attribute in Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/magerubik.com\/blog\/#website","url":"https:\/\/magerubik.com\/blog\/","name":"Magerubik","description":"MageRubik blog site","publisher":{"@id":"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8"},"alternateName":"Magento 2 Extension","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/magerubik.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8","name":"Hilary howard","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/magerubik.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magerubik-logo.png","contentUrl":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magerubik-logo.png","width":265,"height":90,"caption":"Hilary howard"},"logo":{"@id":"https:\/\/magerubik.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/localhost\/blog","https:\/\/www.facebook.com\/magerubik","https:\/\/www.instagram.com\/magerubik","https:\/\/www.linkedin.com\/magerubik","https:\/\/www.pinterest.com\/magerubik","https:\/\/twitter.com\/https:\/\/www.twitter.com\/magerubik","https:\/\/www.myspace.com\/magerubik","https:\/\/www.youtube.com\/magerubik","https:\/\/www.soundcloud.com\/magerubik","https:\/\/www.tumblr.com\/magerubik","https:\/\/www.wikipedia.com\/magerubik"],"url":"https:\/\/magerubik.com\/blog\/author\/hilary-howard\/"}]}},"_links":{"self":[{"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/posts\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":3,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/posts\/505\/revisions"}],"predecessor-version":[{"id":632,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/posts\/505\/revisions\/632"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/media\/506"}],"wp:attachment":[{"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/media?parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/categories?post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/tags?post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}