Selaa lähdekoodia

remove footer and header-footer only templates (#6623)

Madhu Dollu 2 vuotta sitten
vanhempi
commit
943c7496b3
3 muutettua tiedostoa jossa 0 lisäystä ja 28 poistoa
  1. 0 3
      pixl/templates/footer-only.html
  2. 0 9
      pixl/templates/header-footer-only.html
  3. 0 16
      pixl/theme.json

+ 0 - 3
pixl/templates/footer-only.html

@@ -1,3 +0,0 @@
-<!-- wp:post-content {"layout":{"inherit":true},"lock":{"move":false,"remove":true}} /-->
-
-<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 0 - 9
pixl/templates/header-footer-only.html

@@ -1,9 +0,0 @@
-<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
-
-<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":true}} -->
-<main class="wp-block-group">
-    <!-- wp:post-content {"layout":{"inherit":true},"lock":{"move":false,"remove":true}} /-->
-</main>
-<!-- /wp:group -->
-
-<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 0 - 16
pixl/theme.json

@@ -8,22 +8,6 @@
                 "post"
             ],
             "title": "Blank"
-        },
-        {
-            "name": "header-footer-only",
-            "postTypes": [
-                "page",
-                "post"
-            ],
-            "title": "Header and Footer Only"
-        },
-        {
-            "name": "footer-only",
-            "postTypes": [
-                "page",
-                "post"
-            ],
-            "title": "Footer Only"
         }
     ],
     "settings": {