diff --git a/patterns-data/category.json b/patterns-data/category.json index a9be145..0dee576 100755 --- a/patterns-data/category.json +++ b/patterns-data/category.json @@ -1,10 +1,23 @@ [ { - "term_id": 25, + "term_id": 535, + "name": "Section_PR", + "slug": "section_pr", + "term_group": 0, + "term_taxonomy_id": 535, + "taxonomy": "vk-managing-patterns-category", + "description": "", + "parent": 0, + "count": 1, + "filter": "raw", + "term_order": "0" + }, + { + "term_id": 513, "name": "UsingBlock_Core", "slug": "wordpress%e6%a8%99%e6%ba%96", "term_group": 0, - "term_taxonomy_id": 25, + "term_taxonomy_id": 513, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, @@ -13,63 +26,63 @@ "term_order": "0" }, { - "term_id": 33, - "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u30e1\u30cb\u30e5\u30fc", - "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc", + "term_id": 517, + "name": "UsingBlock_Core+VK Blocks", + "slug": "vk", "term_group": 0, - "term_taxonomy_id": 33, + "term_taxonomy_id": 517, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 0, + "count": 15, "filter": "raw", "term_order": "0" }, { - "term_id": 41, - "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u30d2\u30fc\u30ed\u30fc", - "slug": "%e3%83%92%e3%83%bc%e3%83%ad%e3%83%bc", + "term_id": 520, + "name": "UsingBlock_Core+VK Blocks Pro", + "slug": "vkp", "term_group": 0, - "term_taxonomy_id": 41, + "term_taxonomy_id": 520, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 2, + "count": 20, "filter": "raw", "term_order": "0" }, { - "term_id": 49, - "name": "\u5e45_\u901a\u5e38", - "slug": "%e5%b9%85_%e9%80%9a%e5%b8%b8", + "term_id": 523, + "name": "Width_Normal", + "slug": "width_normal", "term_group": 0, - "term_taxonomy_id": 49, + "term_taxonomy_id": 523, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 18, + "count": 1, "filter": "raw", "term_order": "0" }, { - "term_id": 26, - "name": "UsingBlock_Core+VK Blocks", - "slug": "vk", + "term_id": 526, + "name": "\u30ab\u30e9\u30e0", + "slug": "columns", "term_group": 0, - "term_taxonomy_id": 26, + "term_taxonomy_id": 526, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 15, + "count": 10, "filter": "raw", "term_order": "0" }, { - "term_id": 34, - "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u4f1a\u793e\u6848\u5185", - "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e4%bc%9a%e7%a4%be%e6%a1%88%e5%86%85", + "term_id": 529, + "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u30b5\u30fc\u30d3\u30b9\u7d39\u4ecb", + "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e7%b4%b9%e4%bb%8b", "term_group": 0, - "term_taxonomy_id": 34, + "term_taxonomy_id": 529, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, @@ -78,50 +91,50 @@ "term_order": "0" }, { - "term_id": 42, - "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u3088\u304f\u3042\u308b\u8cea\u554f", - "slug": "%e3%82%bb%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3_%e3%82%88%e3%81%8f%e3%81%82%e3%82%8b%e8%b3%aa%e5%95%8f", + "term_id": 532, + "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\/LP", + "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e3%83%88%e3%83%83%e3%83%97%e3%83%9a%e3%83%bc%e3%82%b8-lp", "term_group": 0, - "term_taxonomy_id": 42, + "term_taxonomy_id": 532, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 1, + "count": 2, "filter": "raw", "term_order": "0" }, { - "term_id": 27, - "name": "UsingBlock_Core+VK Blocks Pro", - "slug": "vkp", + "term_id": 536, + "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u30dd\u30ea\u30b7\u30fc", + "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e3%83%97%e3%83%a9%e3%82%a4%e3%83%90%e3%82%b7%e3%83%bc%e3%83%9d%e3%83%aa%e3%82%b7%e3%83%bc", "term_group": 0, - "term_taxonomy_id": 27, + "term_taxonomy_id": 536, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 20, + "count": 1, "filter": "raw", "term_order": "0" }, { - "term_id": 35, - "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u63a1\u7528\u60c5\u5831", - "slug": "%e3%83%9a%e3%83%bc%e3%82%b8-%e6%8e%a1%e7%94%a8%e6%83%85%e5%a0%b1", + "term_id": 514, + "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u30e1\u30cb\u30e5\u30fc", + "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc", "term_group": 0, - "term_taxonomy_id": 35, + "term_taxonomy_id": 514, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 2, + "count": 0, "filter": "raw", "term_order": "0" }, { - "term_id": 43, - "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u6295\u7a3f\u30ea\u30b9\u30c8", - "slug": "%e3%82%a8%e3%83%aa%e3%82%a2_%e6%8a%95%e7%a8%bf%e3%83%aa%e3%82%b9%e3%83%88", + "term_id": 518, + "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u4f1a\u793e\u6848\u5185", + "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e4%bc%9a%e7%a4%be%e6%a1%88%e5%86%85", "term_group": 0, - "term_taxonomy_id": 43, + "term_taxonomy_id": 518, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, @@ -130,24 +143,24 @@ "term_order": "0" }, { - "term_id": 28, - "name": "Width_Normal", - "slug": "width_normal", + "term_id": 521, + "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u63a1\u7528\u60c5\u5831", + "slug": "%e3%83%9a%e3%83%bc%e3%82%b8-%e6%8e%a1%e7%94%a8%e6%83%85%e5%a0%b1", "term_group": 0, - "term_taxonomy_id": 28, + "term_taxonomy_id": 521, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 1, + "count": 2, "filter": "raw", "term_order": "0" }, { - "term_id": 36, + "term_id": 524, "name": "\u30bb\u30af\u30b7\u30e7\u30f3_CTA", "slug": "%e3%82%a8%e3%83%aa%e3%82%a2_cta", "term_group": 0, - "term_taxonomy_id": 36, + "term_taxonomy_id": 524, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, @@ -156,63 +169,63 @@ "term_order": "0" }, { - "term_id": 44, - "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u6d41\u308c", - "slug": "%e3%82%bb%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3_%e6%b5%81%e3%82%8c", + "term_id": 527, + "name": "\u30bb\u30af\u30b7\u30e7\u30f3_PR", + "slug": "%e3%82%a8%e3%83%aa%e3%82%a2_pr", "term_group": 0, - "term_taxonomy_id": 44, + "term_taxonomy_id": 527, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 2, + "count": 14, "filter": "raw", "term_order": "0" }, { - "term_id": 29, - "name": "\u30ab\u30e9\u30e0", - "slug": "columns", + "term_id": 530, + "name": "\u30bb\u30af\u30b7\u30e7\u30f3_SNS", + "slug": "%e3%82%a8%e3%83%aa%e3%82%a2_sns", "term_group": 0, - "term_taxonomy_id": 29, + "term_taxonomy_id": 530, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 10, + "count": 3, "filter": "raw", "term_order": "0" }, { - "term_id": 37, - "name": "\u30bb\u30af\u30b7\u30e7\u30f3_PR", - "slug": "%e3%82%a8%e3%83%aa%e3%82%a2_pr", + "term_id": 533, + "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u30b9\u30bf\u30c3\u30d5", + "slug": "%e3%82%bb%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3_%e3%82%b9%e3%82%bf%e3%83%83%e3%83%95", "term_group": 0, - "term_taxonomy_id": 37, + "term_taxonomy_id": 533, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 14, + "count": 1, "filter": "raw", "term_order": "0" }, { - "term_id": 45, - "name": "\u30da\u30fc\u30b8_\u5168\u5e45", - "slug": "full-width", + "term_id": 537, + "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u30bf\u30a4\u30c8\u30eb", + "slug": "%e8%a6%8b%e5%87%ba%e3%81%97", "term_group": 0, - "term_taxonomy_id": 45, + "term_taxonomy_id": 537, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 6, + "count": 1, "filter": "raw", "term_order": "0" }, { - "term_id": 30, - "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u30b5\u30fc\u30d3\u30b9\u7d39\u4ecb", - "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e7%b4%b9%e4%bb%8b", + "term_id": 515, + "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u30d2\u30fc\u30ed\u30fc", + "slug": "%e3%83%92%e3%83%bc%e3%83%ad%e3%83%bc", "term_group": 0, - "term_taxonomy_id": 30, + "term_taxonomy_id": 515, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, @@ -221,24 +234,24 @@ "term_order": "0" }, { - "term_id": 38, - "name": "\u30bb\u30af\u30b7\u30e7\u30f3_SNS", - "slug": "%e3%82%a8%e3%83%aa%e3%82%a2_sns", + "term_id": 519, + "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u3088\u304f\u3042\u308b\u8cea\u554f", + "slug": "%e3%82%bb%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3_%e3%82%88%e3%81%8f%e3%81%82%e3%82%8b%e8%b3%aa%e5%95%8f", "term_group": 0, - "term_taxonomy_id": 38, + "term_taxonomy_id": 519, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 3, + "count": 1, "filter": "raw", "term_order": "0" }, { - "term_id": 46, - "name": "\u30da\u30fc\u30b8_\u901a\u5e38\u5e45", - "slug": "%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%82%bf%e3%82%a4%e3%83%97_%e3%83%9a%e3%83%bc%e3%82%b8_%e9%80%9a%e5%b8%b8%e5%b9%85", + "term_id": 522, + "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u6295\u7a3f\u30ea\u30b9\u30c8", + "slug": "%e3%82%a8%e3%83%aa%e3%82%a2_%e6%8a%95%e7%a8%bf%e3%83%aa%e3%82%b9%e3%83%88", "term_group": 0, - "term_taxonomy_id": 46, + "term_taxonomy_id": 522, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, @@ -247,11 +260,11 @@ "term_order": "0" }, { - "term_id": 31, - "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\/LP", - "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e3%83%88%e3%83%83%e3%83%97%e3%83%9a%e3%83%bc%e3%82%b8-lp", + "term_id": 525, + "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u6d41\u308c", + "slug": "%e3%82%bb%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3_%e6%b5%81%e3%82%8c", "term_group": 0, - "term_taxonomy_id": 31, + "term_taxonomy_id": 525, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, @@ -260,50 +273,37 @@ "term_order": "0" }, { - "term_id": 39, - "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u30b9\u30bf\u30c3\u30d5", - "slug": "%e3%82%bb%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3_%e3%82%b9%e3%82%bf%e3%83%83%e3%83%95", - "term_group": 0, - "term_taxonomy_id": 39, - "taxonomy": "vk-managing-patterns-category", - "description": "", - "parent": 0, - "count": 1, - "filter": "raw", - "term_order": "0" - }, - { - "term_id": 47, - "name": "\u30d8\u30c3\u30c0\u30fc", - "slug": "%e3%83%98%e3%83%83%e3%83%80%e3%83%bc", + "term_id": 528, + "name": "\u30da\u30fc\u30b8_\u5168\u5e45", + "slug": "full-width", "term_group": 0, - "term_taxonomy_id": 47, + "term_taxonomy_id": 528, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 1, + "count": 6, "filter": "raw", "term_order": "0" }, { - "term_id": 24, - "name": "Section_PR", - "slug": "section_pr", + "term_id": 531, + "name": "\u30da\u30fc\u30b8_\u901a\u5e38\u5e45", + "slug": "%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%82%bf%e3%82%a4%e3%83%97_%e3%83%9a%e3%83%bc%e3%82%b8_%e9%80%9a%e5%b8%b8%e5%b9%85", "term_group": 0, - "term_taxonomy_id": 24, + "term_taxonomy_id": 531, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 1, + "count": 2, "filter": "raw", "term_order": "0" }, { - "term_id": 32, - "name": "\u30b3\u30f3\u30c6\u30f3\u30c4_\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u30dd\u30ea\u30b7\u30fc", - "slug": "%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84_%e3%83%97%e3%83%a9%e3%82%a4%e3%83%90%e3%82%b7%e3%83%bc%e3%83%9d%e3%83%aa%e3%82%b7%e3%83%bc", + "term_id": 534, + "name": "\u30d8\u30c3\u30c0\u30fc", + "slug": "%e3%83%98%e3%83%83%e3%83%80%e3%83%bc", "term_group": 0, - "term_taxonomy_id": 32, + "term_taxonomy_id": 534, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, @@ -312,24 +312,24 @@ "term_order": "0" }, { - "term_id": 40, - "name": "\u30bb\u30af\u30b7\u30e7\u30f3_\u30bf\u30a4\u30c8\u30eb", - "slug": "%e8%a6%8b%e5%87%ba%e3%81%97", + "term_id": 538, + "name": "\u5e45_\u5168\u5e45", + "slug": "%e5%b9%85_%e5%85%a8%e5%b9%85", "term_group": 0, - "term_taxonomy_id": 40, + "term_taxonomy_id": 538, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, - "count": 1, + "count": 18, "filter": "raw", "term_order": "0" }, { - "term_id": 48, - "name": "\u5e45_\u5168\u5e45", - "slug": "%e5%b9%85_%e5%85%a8%e5%b9%85", + "term_id": 516, + "name": "\u5e45_\u901a\u5e38", + "slug": "%e5%b9%85_%e9%80%9a%e5%b8%b8", "term_group": 0, - "term_taxonomy_id": 48, + "term_taxonomy_id": 516, "taxonomy": "vk-managing-patterns-category", "description": "", "parent": 0, diff --git a/patterns-data/class-register-patterns-from-json.php b/patterns-data/class-register-patterns-from-json.php index 4be5736..0cb9171 100755 --- a/patterns-data/class-register-patterns-from-json.php +++ b/patterns-data/class-register-patterns-from-json.php @@ -139,6 +139,7 @@ public static function register_template() { 'title' => $val['title'], 'categories' => $val['categories'], 'content' => $val['content'], + 'blockTypes' => $val['blockTypes'], ) ); } @@ -154,6 +155,7 @@ public static function register_template() { 'title' => $val['title'], 'categories' => $val['categories'], 'content' => $val['content'], + 'blockTypes' => $val['blockTypes'], ) ); } diff --git a/patterns-data/template-all.json b/patterns-data/template-all.json index dc44ffe..234f168 100755 --- a/patterns-data/template-all.json +++ b/patterns-data/template-all.json @@ -1,754 +1,46 @@ [ { - "title": "\u30e1\u30c7\u30a3\u30a2\u30ab\u30e9\u30e0", - "post_status": "publish", - "post_name": "2334", - "description": "", - "content": "\n