{"id":264,"date":"2022-03-21T22:18:37","date_gmt":"2022-03-21T15:18:37","guid":{"rendered":"https:\/\/magerubik.com\/blog\/?p=264"},"modified":"2023-04-24T08:43:32","modified_gmt":"2023-04-24T01:43:32","slug":"magento-2-how-to-get-config-value","status":"publish","type":"post","link":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/","title":{"rendered":"Magento 2 how to get config value"},"content":{"rendered":"\n<div class=\"magerubik-quote\">\n\t<p>The transmission of configuration values from the backend to the front end of the website makes it easy for store owners to choose the configuration for each of their stores. In the following article, we will learn Magento 2 how to get config value.<\/p>\n<\/div>\n<p>If you still don\u2019t know how to Create Magento 2 theme options please <a href=\"https:\/\/magerubik.com\/blog\/create-magento-2-theme-options\/\" title=\"Magento 2 theme options\">click here<\/a> to read it before.<\/p>\n<h2 class=\"h3\"><strong>1. Get config from file layout<\/strong><\/h2>\n<p>Continue our example, we will get value off config enable default banner on <span class=\"code\">default.xml<\/span><\/p>\n<p>Crate <span class=\"code\">app\/code\/Magerubik\/ThemeOptions\/default.xml<\/span> file with below content<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;page xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd\">\n    &lt;body>\n        &lt;referenceBlock name=\"page.top\">\n            &lt;block ifconfig=\"mrThemes\/general\/defaul_top_banner_enable\" class=\"Magento\\Framework\\View\\Element\\Template\" name=\"magerubik-topbanner\" template=\"Magerubik_ThemeOptions::topbanner.phtml\"\/>\n        &lt;\/referenceBlock>\n    &lt;\/body>\n&lt;\/page><\/pre>\n\n\n\n<p>Then create <span class=\"code\">app\/code\/Magerubik\/Themeoptions\/view\/frontend\/templates\/topbanner.phtml<\/span> file with below content to check it working<\/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=\"\">add banner here<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/cdn2.magerubik.com\/media\/theme\/default_config_value.jpg\" alt=\"Magento default config value\"><\/figure>\t\n<p>Go to backend change config value then clear cache to check it working<\/p>\n<p>If you see the below screen evrything is fine.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/cdn2.magerubik.com\/media\/theme\/default_config_test.jpg\" alt=\"Magento default config test\"><\/figure>\t\n<h2 class=\"h3\"><strong>2. Create helper to get config value<\/strong><\/h2>\n<p>Continue our example, we will Crate <span class=\"code\">app\/code\/Magerubik\/Themeoptions\/Helper\/Data.php<\/span> file with below content<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\nnamespace Magerubik\\Themeoptions\\Helper;\nclass Data extends \\Magento\\Framework\\App\\Helper\\AbstractHelper\n{\n    public function getConfig($cfg=null)\n    {\n        if($cfg) return $this->scopeConfig->getValue( $cfg, \\Magento\\Store\\Model\\ScopeInterface::SCOPE_STORE );\n        return $this->scopeConfig;\n    }\n}<\/pre>\n\n\n\n<p>Then update <span class=\"code\">app\/code\/Magerubik\/Themeoptions\/view\/frontend\/templates\/topbanner.phtml<\/span> file with below content to check it working<\/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\n$themeConfig = $this->helper('Magerubik\\Themeoptions\\Helper\\Data');\n$media = $this->helper('\\Magento\\Cms\\Helper\\Wysiwyg\\Images')->getBaseUrl();\n?>\n&lt;div class=\"top_banner\">\n\t&lt;img src=\"&lt;?= $media . 'themeoptions\/' .$themeConfig-> getConfig('mrThemes\/general\/top_banner_image');?>\"\/>\n&lt;\/div><\/pre>\n\n\n\n<p>Clear cache then go to frontend<\/p>\n<p>If you see the below screen evrything is fine.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/cdn2.magerubik.com\/media\/theme\/default_config_test2.jpg\" alt=\"Magento default config test\"><\/figure>\t\n<h2 class=\"h3\"><strong>3. Get config value by block Layout<\/strong><\/h2>\n<p>Go to <span class=\"code\">app\/code\/Magerubik\/Themeoptions\/view\/frontend\/templates\/topbanner.phtml<\/span> file add below content then clear cache to check it working<\/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 \n$config = $block->getLayout()->createBlock(\\Magento\\Config\\Block\\System\\Config\\Form::class);\necho $config->getConfigValue('mrThemes\/general\/top_banner_image');<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote\">\n\t<p>Ok now you know Magento 2 how to get config value. In the <a href=\"https:\/\/magerubik.com\/blog\/magento-2-how-to-override-template\" title=\"Magento 2 how to override template\">next posts<\/a> we will learn how to Override Magento 2 template. <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\/rubikshop\" title=\"demo code on github\" rel=\"nofollow noopener\">GitHub<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The transmission of configuration values from the backend to the front end of the website makes it easy for store<\/p>\n","protected":false},"author":1,"featured_media":266,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-264","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-theme-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Magento 2 how to get config value | MageRubik<\/title>\n<meta name=\"description\" content=\"Magento 2 how to get config value to apply config from the backend to each store. We will learn three solutions rhree solutions to do it.\" \/>\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\/magento-2-how-to-get-config-value\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 how to get config value | MageRubik\" \/>\n<meta property=\"og:description\" content=\"Magento 2 how to get config value to apply config from the backend to each store. We will learn three solutions rhree solutions to do it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/\" \/>\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=\"2022-03-21T15:18:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-24T01:43:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/\"},\"author\":{\"name\":\"Hilary howard\",\"@id\":\"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8\"},\"headline\":\"Magento 2 how to get config value\",\"datePublished\":\"2022-03-21T15:18:37+00:00\",\"dateModified\":\"2023-04-24T01:43:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/\"},\"wordCount\":270,\"publisher\":{\"@id\":\"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8\"},\"image\":{\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.jpg\",\"articleSection\":[\"Magento 2 Theme Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/\",\"url\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/\",\"name\":\"Magento 2 how to get config value | MageRubik\",\"isPartOf\":{\"@id\":\"https:\/\/magerubik.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.jpg\",\"datePublished\":\"2022-03-21T15:18:37+00:00\",\"dateModified\":\"2023-04-24T01:43:32+00:00\",\"description\":\"Magento 2 how to get config value to apply config from the backend to each store. We will learn three solutions rhree solutions to do it.\",\"breadcrumb\":{\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#primaryimage\",\"url\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.jpg\",\"contentUrl\":\"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.jpg\",\"width\":800,\"height\":445,\"caption\":\"Magento 2 how to get config vaule\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Magerubik blog site\",\"item\":\"https:\/\/magerubik.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magento 2 how to get config value\"}]},{\"@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":"Magento 2 how to get config value | MageRubik","description":"Magento 2 how to get config value to apply config from the backend to each store. We will learn three solutions rhree solutions to do it.","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\/magento-2-how-to-get-config-value\/","og_locale":"en_US","og_type":"article","og_title":"Magento 2 how to get config value | MageRubik","og_description":"Magento 2 how to get config value to apply config from the backend to each store. We will learn three solutions rhree solutions to do it.","og_url":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/","og_site_name":"MageRubik","article_publisher":"https:\/\/www.facebook.com\/magerubik","article_author":"https:\/\/www.facebook.com\/magerubik","article_published_time":"2022-03-21T15:18:37+00:00","article_modified_time":"2023-04-24T01:43:32+00:00","og_image":[{"width":800,"height":445,"url":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#article","isPartOf":{"@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/"},"author":{"name":"Hilary howard","@id":"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8"},"headline":"Magento 2 how to get config value","datePublished":"2022-03-21T15:18:37+00:00","dateModified":"2023-04-24T01:43:32+00:00","mainEntityOfPage":{"@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/"},"wordCount":270,"publisher":{"@id":"https:\/\/magerubik.com\/blog\/#\/schema\/person\/dad797dc557c925c92436706db1359d8"},"image":{"@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#primaryimage"},"thumbnailUrl":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.jpg","articleSection":["Magento 2 Theme Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/","url":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/","name":"Magento 2 how to get config value | MageRubik","isPartOf":{"@id":"https:\/\/magerubik.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#primaryimage"},"image":{"@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#primaryimage"},"thumbnailUrl":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.jpg","datePublished":"2022-03-21T15:18:37+00:00","dateModified":"2023-04-24T01:43:32+00:00","description":"Magento 2 how to get config value to apply config from the backend to each store. We will learn three solutions rhree solutions to do it.","breadcrumb":{"@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#primaryimage","url":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.jpg","contentUrl":"https:\/\/magerubik.com\/blog\/wp-content\/uploads\/2022\/03\/magento-how-to-get-config-value.jpg","width":800,"height":445,"caption":"Magento 2 how to get config vaule"},{"@type":"BreadcrumbList","@id":"https:\/\/magerubik.com\/blog\/magento-2-how-to-get-config-value\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magerubik blog site","item":"https:\/\/magerubik.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Magento 2 how to get config value"}]},{"@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\/264","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=264"}],"version-history":[{"count":16,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/posts\/264\/revisions"}],"predecessor-version":[{"id":621,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/posts\/264\/revisions\/621"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/media\/266"}],"wp:attachment":[{"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/categories?post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magerubik.com\/blog\/wp-json\/wp\/v2\/tags?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}