{"id":17445,"date":"2018-11-27T14:48:51","date_gmt":"2018-11-27T12:48:51","guid":{"rendered":"https:\/\/belvg.com\/blog\/?p=17445"},"modified":"2025-02-11T10:36:14","modified_gmt":"2025-02-11T08:36:14","slug":"magento-2-areas-adminhtml-base-and-frontend","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html","title":{"rendered":"Magento 2 Areas: adminhtml, base and frontend"},"content":{"rendered":"\n<p>Today we will talk about Magento 2&nbsp;and answer the following Frontend certification questions:<\/p>\n<p><a href=\"#step_1\">Which design areas exist?<br>\n<\/a><a href=\"#step_2\">What is the difference between them, and what do design areas have in common?<br>\n<\/a><a href=\"#step_3\">What are design areas used for?<br>\n<\/a><a href=\"#step_4\">How can design areas be utilized for custom themes or customizations?<\/a><\/p>\n<p><!--more--><br>\n<a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/backround-3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-17480 background\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/backround-3.png\" alt=\"backround 3\" width=\"1110\" height=\"300\" title=\"Magento 2 Areas: adminhtml, base and frontend\"><\/a><\/p>\n<div class=\"h2text\">\n<h2><span style=\"font-weight: 400;\"><a id=\"step_1\"><\/a>Types of design areas in Magento 2<\/span><\/h2>\n<\/div>\n<p>In terms of frontend, the Magento 2 areas are components that determine which modules and resources will be shown in particular area.<\/p>\n<p>There are 3 types of areas in Magento 2:<\/p>\n<ul>\n<li><strong>Magento Admin (adminhtml)<\/strong> is used in the admin panel for displaying modules and resources that are used in the admin panel. The files are usually stored in <strong>\/app\/design\/adminhtml<\/strong>, and the module is stored in &lt;module_dir&gt;\/view\/adminhtml.<\/li>\n<\/ul>\n<ul>\n<li><strong>Basic (base)<\/strong> is used for the basic files in modules, <strong>&lt;module_dir&gt;\/view\/base<\/strong>.<\/li>\n<li><strong>Storefront (frontend)<\/strong> is used for the external part of your store, particularly for displaying modules and resources that are used directly in the external part of the store and are visible to the user.<\/li>\n<\/ul>\n<div class=\"h2text big\">\n<h2><span style=\"font-weight: 400;\"><a id=\"step_2\"><\/a>What is the difference between them, and what do design areas have in common?<\/span><\/h2>\n<\/div>\n<p>If we address the differences between these areas, we can identify some files from Basic (base) that can be used in adminhtml and frontend. However, the adminhtml files cannot be used in the frontend. What is more, UI components can be used in adminhml, but not in the frontend. One thing that they have in common is their structure. I have already addressed the folder structure in Magento 2 on our blog.<\/p>\n<div class=\"h2text\">\n<h2><span style=\"font-weight: 400;\"><a id=\"step_3\"><\/a>What design areas are used for?<\/span><\/h2>\n<\/div>\n<p>Areas most commonly used in <strong>adminhtml<\/strong> and <strong>frontend<\/strong>:<\/p>\n<ul>\n<li>in <strong>adminhtml<\/strong> &ndash; for creating admin panel themes;<\/li>\n<li>in <strong>frontend<\/strong> &ndash; for designing the exterior of your store using different modules, as well as for store customization.<\/li>\n<\/ul>\n<div class=\"h2text big\">\n<h2><span style=\"font-weight: 400;\"><a id=\"step_4\"><\/a>How can design areas be utilized for custom themes or customizations?<\/span><\/h2>\n<\/div>\n<p>Design areas can be used for:<\/p>\n<ul>\n<li>creating design for the admin panel;<\/li>\n<li>creating design for <strong>Storefront<\/strong>;<\/li>\n<li>separating letter templates from the admin panel and Storefront.<\/li>\n<\/ul>\n<p>In addition to that, let&rsquo;s look into how to create a theme for admin panel.<\/p>\n<p>To begin with, create a folder for the theme itself. I use the command line, but you can use your file manager for that purpose. Enter the following code in the command line:<\/p>\n<pre class=\"lang:default decode:true \">mkdir -p .\/app\/design\/adminhtml\/BelVG\/theme<\/pre>\n<p>Now we go to our folder and create the files with the following content:<\/p>\n<p><strong>registration.php, theme.xml.<\/strong><br>\n<strong>registration.php:<\/strong><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\\Magento\\Framework\\Component\\ComponentRegistrar::register(\r\n    \\Magento\\Framework\\Component\\ComponentRegistrar::THEME,\r\n    'adminhtml\/BelVG\/theme',\r\n    __DIR__\r\n);\r\n<\/pre>\n<p><strong>theme.xml:<\/strong><\/p>\n<pre class=\"lang:default decode:true \">&lt;theme xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Config\/etc\/theme.xsd\"&gt;\r\n     &lt;title&gt;BelVG Backend&lt;\/title&gt;\r\n     &lt;parent&gt;Magento\/backend&lt;\/parent&gt;\r\n&lt;\/theme&gt;\r\n<\/pre>\n<p><span style=\"font-weight: 400;\">Let&rsquo;s also create a module for the application of our theme. Write the following in the command line (make sure you do it in the root directory of Magento 2):<\/span><\/p>\n<pre class=\"lang:default decode:true \">mkdir -p .\/app\/code\/BelVG\/Theme\r\n<\/pre>\n<p>Create the following structure:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/the-structure.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-17493\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/the-structure.png\" alt=\"the structure\" width=\"286\" height=\"132\" title=\"Magento 2 Areas: adminhtml, base and frontend\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Now let&rsquo;s consider each file individually:<\/p>\n<ul>\n<li><b>registration.php (register our module):<\/b><\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\\Magento\\Framework\\Component\\ComponentRegistrar::register(\r\n    \\Magento\\Framework\\Component\\ComponentRegistrar::MODULE,\r\n    'BelVG_Theme',\r\n    __DIR__\r\n);\r\n<\/pre>\n<ul>\n<li><strong>module.xml (specify what we inherit our module from):<\/strong><\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\">&lt;?xml version=\"1.0\"?&gt;\r\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module\/etc\/module.xsd\"&gt;\r\n    &lt;module name=\"BelVG_Theme\" setup_version=\"1.0\"&gt;\r\n        &lt;sequence&gt;\r\n            &lt;module name=\"Magento_Theme\"\/&gt;\r\n        &lt;\/sequence&gt;\r\n    &lt;\/module&gt;\r\n&lt;\/config&gt;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>etc\/di.xml (now we apply our theme):<\/strong><\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \">&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:ObjectManager\/etc\/config.xsd\"&gt;\r\n    &lt;type name=\"Magento\\Theme\\Model\\View\\Design\"&gt;\r\n        &lt;arguments&gt;\r\n            &lt;argument name=\"themes\" xsi:type=\"array\"&gt;\r\n                &lt;item name=\"adminhtml\" xsi:type=\"string\"&gt;BelVG\/theme&lt;\/item&gt;\r\n            &lt;\/argument&gt;\r\n        &lt;\/arguments&gt;\r\n    &lt;\/type&gt;\r\n&lt;\/config&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>Now we can customize our theme a little, particularly change the logo. Create the following structure:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/create-the-following-structure.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-17492\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/create-the-following-structure.png\" alt=\"create the following structure\" width=\"269\" height=\"251\" title=\"Magento 2 Areas: adminhtml, base and frontend\"><\/a><\/p>\n<p>As you can see from the structure, the logo is located in the web\/logo.svg folder. You can read more on folder structure in Magento 2 (link) in my previous article. For now we are interested in the <strong>admin_login.xml<\/strong> file.<\/p>\n<p>Let&rsquo;s redefine the logo using <strong>&lt;referenceBlock&gt;<\/strong> (take a look at the article called <a href=\"https:\/\/belvg.com\/blog\/layout-xml-directives-and-their-arguments-in-magento-2.html\">Layout XML Directives and Their Arguments in Magento 2<\/a> to learn more about directives):<\/p>\n<pre class=\"lang:default decode:true \"> &lt;referenceBlock name=\"logo\"&gt;\r\n           &lt;arguments&gt;\r\n               &lt;argument name=\"logo_image_src\" xsi:type=\"string\"&gt;images\/logo.svg&lt;\/argument&gt;\r\n           &lt;\/arguments&gt;\r\n       &lt;\/referenceBlock&gt;\r\n<\/pre>\n<p>It is clear from the code where we indicated the logo:<\/p>\n<pre class=\"lang:default decode:true\">&lt;argument name=\"logo_image_src\" \r\nxsi:type=\"string\"&gt;images\/logo.svg&lt;\/argument&gt;\r\n<\/pre>\n<p>This is what the whole <strong>admin_login.xml<\/strong> file will look like:<\/p>\n<pre class=\"lang:default decode:true \">&lt;page xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" layout=\"admin-login\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd\"&gt;\r\n    &lt;update handle=\"styles\" \/&gt;\r\n    &lt;body&gt;\r\n        &lt;referenceBlock name=\"logo\"&gt;\r\n            &lt;arguments&gt;\r\n                &lt;argument name=\"logo_image_src\" xsi:type=\"string\"&gt;images\/logo.svg&lt;\/argument&gt;\r\n            &lt;\/arguments&gt;\r\n        &lt;\/referenceBlock&gt;\r\n    &lt;\/body&gt;\r\n&lt;\/page&gt;\r\n<\/pre>\n<p>After you performed everything described above, you need to update the configuration. To do this, write the following code in the command line:<\/p>\n<pre class=\"lang:default decode:true \">php bin\/magento setup:upgrade<\/pre>\n<p>After the upgrade, you will see your logo displayed in the admin panel:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/logo-at-the-login-page.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-17491\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/logo-at-the-login-page.png\" alt=\"logo at the login page\" width=\"743\" height=\"823\" title=\"Magento 2 Areas: adminhtml, base and frontend\"><\/a><\/p>\n<p>I hope this blog post answered all of your questions for this topic. Feel free to leave us a comment down below!<\/p>\n\n","protected":false},"excerpt":{"rendered":"Today we will talk about Magento 2&#160;and answer the following Frontend certification questions: Which design &#8230;","protected":false},"author":8,"featured_media":17453,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[491,469,473,524,526],"tags":[],"class_list":["post-17445","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-magento-2","category-magento2-tutorial","category-magento-front-end-developer","category-magento-speed-optimization","category-magento-theme","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=\"Find out more about Magento 2 areas key areas: adminhtml, base &amp; frontend and how to use them. Learn how to create and apply design areas in Magento 2.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Denis Guriyanov\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.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\\\/magento-2-areas-adminhtml-base-and-frontend.html#article\",\"name\":\"Magento 2 areas: adminhtml, base & frontend | BelVG Blog\",\"headline\":\"Magento 2 Areas: adminhtml, base and frontend\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/denis-guriyanov#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/Magento-2-Areas-adminhtml-base-and-frontend.png\",\"width\":1110,\"height\":590,\"caption\":\"Magento 2 Frontend Development\"},\"datePublished\":\"2018-11-27T14:48:51+02:00\",\"dateModified\":\"2025-02-11T10:36:14+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":4,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html#webpage\"},\"articleSection\":\"Magento 2, Magento 2 Tutorial, Magento Front End Developer, Magento Speed Optimization, Magento Theme, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.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\\\/magento2-tutorial#listItem\",\"name\":\"Magento 2 Tutorial\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento2-tutorial#listItem\",\"position\":2,\"name\":\"Magento 2 Tutorial\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento2-tutorial\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html#listItem\",\"name\":\"Magento 2 Areas: adminhtml, base and frontend\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html#listItem\",\"position\":3,\"name\":\"Magento 2 Areas: adminhtml, base and frontend\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento2-tutorial#listItem\",\"name\":\"Magento 2 Tutorial\"}}]},{\"@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\\\/denis-guriyanov#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/denis-guriyanov\",\"name\":\"Denis Guriyanov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cc371af19f9c419cb0c2033bd26757f6b08fce63e66c556d882502284fb0b8a1?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Denis Guriyanov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html\",\"name\":\"Magento 2 areas: adminhtml, base & frontend | BelVG Blog\",\"description\":\"Find out more about Magento 2 areas key areas: adminhtml, base & frontend and how to use them. Learn how to create and apply design areas in Magento 2.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/denis-guriyanov#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/denis-guriyanov#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/Magento-2-Areas-adminhtml-base-and-frontend.png\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html\\\/#mainImage\",\"width\":1110,\"height\":590,\"caption\":\"Magento 2 Frontend Development\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/magento-2-areas-adminhtml-base-and-frontend.html#mainImage\"},\"datePublished\":\"2018-11-27T14:48:51+02:00\",\"dateModified\":\"2025-02-11T10:36:14+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":"Magento 2 areas: adminhtml, base & frontend | BelVG Blog","description":"Find out more about Magento 2 areas key areas: adminhtml, base & frontend and how to use them. Learn how to create and apply design areas in Magento 2.","canonical_url":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#article","name":"Magento 2 areas: adminhtml, base & frontend | BelVG Blog","headline":"Magento 2 Areas: adminhtml, base and frontend","author":{"@id":"https:\/\/belvg.com\/blog\/author\/denis-guriyanov#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/Magento-2-Areas-adminhtml-base-and-frontend.png","width":1110,"height":590,"caption":"Magento 2 Frontend Development"},"datePublished":"2018-11-27T14:48:51+02:00","dateModified":"2025-02-11T10:36:14+02:00","inLanguage":"en-US","commentCount":4,"mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#webpage"},"articleSection":"Magento 2, Magento 2 Tutorial, Magento Front End Developer, Magento Speed Optimization, Magento Theme, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.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\/magento2-tutorial#listItem","name":"Magento 2 Tutorial"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento2-tutorial#listItem","position":2,"name":"Magento 2 Tutorial","item":"https:\/\/belvg.com\/blog\/category\/magento2-tutorial","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#listItem","name":"Magento 2 Areas: adminhtml, base and frontend"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#listItem","position":3,"name":"Magento 2 Areas: adminhtml, base and frontend","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento2-tutorial#listItem","name":"Magento 2 Tutorial"}}]},{"@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\/denis-guriyanov#author","url":"https:\/\/belvg.com\/blog\/author\/denis-guriyanov","name":"Denis Guriyanov","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/cc371af19f9c419cb0c2033bd26757f6b08fce63e66c556d882502284fb0b8a1?s=96&d=mm&r=g","width":96,"height":96,"caption":"Denis Guriyanov"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#webpage","url":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html","name":"Magento 2 areas: adminhtml, base & frontend | BelVG Blog","description":"Find out more about Magento 2 areas key areas: adminhtml, base & frontend and how to use them. Learn how to create and apply design areas in Magento 2.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/denis-guriyanov#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/denis-guriyanov#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/11\/Magento-2-Areas-adminhtml-base-and-frontend.png","@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html\/#mainImage","width":1110,"height":590,"caption":"Magento 2 Frontend Development"},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html#mainImage"},"datePublished":"2018-11-27T14:48:51+02:00","dateModified":"2025-02-11T10:36:14+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":"17445","title":"Magento 2 areas: adminhtml, base &amp; frontend | #site_title","description":"Find out more about Magento 2 areas key areas: adminhtml, base &amp; frontend and how to use them. Learn how to create and apply design areas in Magento 2.","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:00","updated":"2026-11-03 18:37:00"},"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\/magento2-tutorial\" title=\"Magento 2 Tutorial\">Magento 2 Tutorial<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMagento 2 Areas: adminhtml, base and frontend\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Magento 2 Tutorial","link":"https:\/\/belvg.com\/blog\/category\/magento2-tutorial"},{"label":"Magento 2 Areas: adminhtml, base and frontend","link":"https:\/\/belvg.com\/blog\/magento-2-areas-adminhtml-base-and-frontend.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/17445","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=17445"}],"version-history":[{"count":42,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/17445\/revisions"}],"predecessor-version":[{"id":28752,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/17445\/revisions\/28752"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/17453"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=17445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=17445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=17445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}