{"id":12168,"date":"2017-01-05T14:55:34","date_gmt":"2017-01-05T11:55:34","guid":{"rendered":"http:\/\/blog.belvg.com\/?p=12168"},"modified":"2021-02-18T15:22:34","modified_gmt":"2021-02-18T13:22:34","slug":"adding-image-attribute-to-a-category-in-magento-2-alternative-version","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html","title":{"rendered":"Adding Image Attribute To a Category in Magento 2: Alternative Version"},"content":{"rendered":"\n<p><strong>UPDATED<\/strong> 10.10.17. Beginning from Magento 2.1.8 change from <code>disabled=\"false\"<\/code> to <code>disabled=\"true\"<\/code> here:&nbsp;<em>app\/code\/BelVG\/AdditionalImageTemplate\/etc\/events.xml<\/em>&nbsp;or in your adapted module.&nbsp;It will fix the bug with category&rsquo;s image.&nbsp;Be sure to flush Magento cache after making the change.<\/p>\n<p><span style=\"font-weight: 400;\">Recently we published an article dedicated to<\/span><a href=\"http:\/\/belvg.com\/blog\/how-to-add-image-attribute-to-a-category-in-magento-2.html\"><span style=\"font-weight: 400;\"> adding of image attribute to a category in Magento 2<\/span><\/a><span style=\"font-weight: 400;\">. So now, I&rsquo;d like to share with another way that uses an amazing mechanism in Magento 2, that is called Plugin.<\/span><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">In order to add an image to a category, we have to perform the following steps:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">To add a required attribute to a category (by Setup during module installation);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">To create a controller, which will upload selected image;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">To expand category form, using<\/span><i><span style=\"font-weight: 400;\"> ui_component<\/span><\/i><span style=\"font-weight: 400;\"> (Magento 2 merges configuration files, which let you easily expand particular forms; <\/span><i><span style=\"font-weight: 400;\">app\/code\/BelVG\/AdditionalImageTemplate\/view\/adminhtml\/ui_component\/category_form.xml<\/span><\/i><span style=\"font-weight: 400;\">);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">To implement a handler to a category saving event;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Do not forget to wrap <\/span><i><span style=\"font-weight: 400;\">\\Magento\\Catalog\\Model\\Category\\DataProvider::getData, <\/span><\/i><span style=\"font-weight: 400;\">using plugin system, for proper image attribute processing.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">That&rsquo;s all concerns backend works, so now let&rsquo;s get down to frontend.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To display an image on the category page, it&rsquo;s preferable when <\/span><i><span style=\"font-weight: 400;\">$category-&gt;getAdditionalImage()<\/span><\/i><span style=\"font-weight: 400;\"> method is being called, it returns a link to the image, but not an attribute value. This is rather convenient for using in templates, that&rsquo;s why we will create a plugin. It will wrap <\/span><i><span style=\"font-weight: 400;\">getData<\/span><\/i><span style=\"font-weight: 400;\"> method in <\/span><i><span style=\"font-weight: 400;\">\\Magento\\Catalog\\Model\\Category <\/span><\/i><span style=\"font-weight: 400;\">models, and when <\/span><i><span style=\"font-weight: 400;\">getData<\/span><\/i><span style=\"font-weight: 400;\"> is called with a key, which is an attribute, it will process and return the link to the image.<\/span><br>\n<span style=\"font-weight: 400;\">In order to easily navigate in code (link to that code is placed below) you should get acquainted with several parts of Magento 2 Developer Documentation:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\"><a href=\"http:\/\/devdocs.magento.com\/guides\/v2.0\/extension-dev-guide\/events-and-observers.html\">Events and observers<\/a> <\/span><\/li>\n<li><span style=\"font-weight: 400;\"><a href=\"http:\/\/devdocs.magento.com\/guides\/v2.0\/extension-dev-guide\/plugins.html\">Plugins (Interceptors)<\/a><\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">To look through and download the source code, please check our GitHub&nbsp;<a href=\"https:\/\/github.com\/belvg-public\/Magento2_AdditionalImageTemplate\">repository<\/a>.<\/span><\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/magento-custom-development\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/01\/magento-custom-development.png\" width=\"120\" height=\"120\" alt=\"magento custom development\" class=\"module_image\" title=\"Adding Image Attribute To a Category in Magento 2: Alternative Version\"><div class=\"module_content_part\"><h3 class=\"title\">Magento Custom Development<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento Custom Development<\/p><a href=\"https:\/\/belvg.com\/magento-custom-development\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"UPDATED 10.10.17. Beginning from Magento 2.1.8 change from disabled=&#8221;false&#8221; to disabled=&#8221;true&#8221; here:&#160;app\/code\/BelVG\/AdditionalImageTemplate\/etc\/events.xml&#160;or in your adapted &#8230;","protected":false},"author":82,"featured_media":12169,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,389,526,34],"tags":[],"class_list":["post-12168","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-magento","category-magento2-development","category-magento-theme","category-tipstricks","post_format-post-format-image"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Recently we published an article dedicated to adding of image attribute to a category in Magento 2. So now, I\u2019d like to share with another way that uses an amazing mechanism in Magento 2, that is called Plugin.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Andrey Litvin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#article\",\"name\":\"Adding Image Attribute To a Category in Magento 2 | BelVG Blog\",\"headline\":\"Adding Image Attribute To a Category in Magento 2: Alternative Version\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/Adding-Image-Attribute-To-a-Category-in-Magento-2-Alternative-Version.jpg\",\"width\":770,\"height\":209},\"datePublished\":\"2017-01-05T14:55:34+02:00\",\"dateModified\":\"2021-02-18T15:22:34+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":17,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#webpage\"},\"articleSection\":\"Magento, Magento 2 Development, Magento Theme, Tips&amp;Tricks, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"position\":2,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#listItem\",\"name\":\"Adding Image Attribute To a Category in Magento 2: Alternative Version\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#listItem\",\"position\":3,\"name\":\"Adding Image Attribute To a Category in Magento 2: Alternative Version\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin\",\"name\":\"Andrey Litvin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e1a6e3c80cb940fddb65016d94b015cd951b4a8a9cd7227565131f28ea95c7a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Andrey Litvin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html\",\"name\":\"Adding Image Attribute To a Category in Magento 2 | BelVG Blog\",\"description\":\"Recently we published an article dedicated to adding of image attribute to a category in Magento 2. So now, I\\u2019d like to share with another way that uses an amazing mechanism in Magento 2, that is called Plugin.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/Adding-Image-Attribute-To-a-Category-in-Magento-2-Alternative-Version.jpg\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html\\\/#mainImage\",\"width\":770,\"height\":209},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#mainImage\"},\"datePublished\":\"2017-01-05T14:55:34+02:00\",\"dateModified\":\"2021-02-18T15:22:34+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Adding Image Attribute To a Category in Magento 2 | BelVG Blog","description":"Recently we published an article dedicated to adding of image attribute to a category in Magento 2. So now, I\u2019d like to share with another way that uses an amazing mechanism in Magento 2, that is called Plugin.","canonical_url":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#article","name":"Adding Image Attribute To a Category in Magento 2 | BelVG Blog","headline":"Adding Image Attribute To a Category in Magento 2: Alternative Version","author":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2017\/01\/Adding-Image-Attribute-To-a-Category-in-Magento-2-Alternative-Version.jpg","width":770,"height":209},"datePublished":"2017-01-05T14:55:34+02:00","dateModified":"2021-02-18T15:22:34+02:00","inLanguage":"en-US","commentCount":17,"mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#webpage"},"articleSection":"Magento, Magento 2 Development, Magento Theme, Tips&amp;Tricks, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","position":2,"name":"Magento","item":"https:\/\/belvg.com\/blog\/category\/magento","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#listItem","name":"Adding Image Attribute To a Category in Magento 2: Alternative Version"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#listItem","position":3,"name":"Adding Image Attribute To a Category in Magento 2: Alternative Version","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author","url":"https:\/\/belvg.com\/blog\/author\/andrey-litvin","name":"Andrey Litvin","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e1a6e3c80cb940fddb65016d94b015cd951b4a8a9cd7227565131f28ea95c7a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Andrey Litvin"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#webpage","url":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html","name":"Adding Image Attribute To a Category in Magento 2 | BelVG Blog","description":"Recently we published an article dedicated to adding of image attribute to a category in Magento 2. So now, I\u2019d like to share with another way that uses an amazing mechanism in Magento 2, that is called Plugin.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2017\/01\/Adding-Image-Attribute-To-a-Category-in-Magento-2-Alternative-Version.jpg","@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html\/#mainImage","width":770,"height":209},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html#mainImage"},"datePublished":"2017-01-05T14:55:34+02:00","dateModified":"2021-02-18T15:22:34+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"12168","title":"Adding Image Attribute To a Category in Magento 2 | #site_title","description":"Recently we published an article dedicated to adding of image attribute to a category in Magento 2. So now, I\u2019d like to share with another way that uses an amazing mechanism in Magento 2, that is called Plugin.","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:37:24","updated":"2026-11-03 18:37:24"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/magento\" title=\"Magento\">Magento<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAdding Image Attribute To a Category in Magento 2: Alternative Version\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Magento","link":"https:\/\/belvg.com\/blog\/category\/magento"},{"label":"Adding Image Attribute To a Category in Magento 2: Alternative Version","link":"https:\/\/belvg.com\/blog\/adding-image-attribute-to-a-category-in-magento-2-alternative-version.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/12168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=12168"}],"version-history":[{"count":-1,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/12168\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/12169"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=12168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=12168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=12168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}