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
\n
\n
\\\"\\\"<\/a><\/figure><\/div>\n<\/div>\n\n\n\n
\n

\u85ac\u5e2b\u5bfa<\/span><\/h3>

YAKUSHIJI TEMPLE<\/p><\/div><\/div>\n\n\n\n

<\/div><\/div>\n\n\n\n

\u85ac\u5e2b\u5bfa\u306f\u3001\u5948\u826f\u770c\u5948\u826f\u5e02\u897f\u30ce\u4eac\u753a\u306b\u3042\u308b\u6cd5\u76f8\u5b97\u306e\u5927\u672c\u5c71\u306e\u5bfa\u9662\u3002\u5357\u90fd\u4e03\u5927\u5bfa\u306e1\u3064\u3002\u958b\u57fa\u306f\u5929\u6b66\u5929\u7687\u3001\u672c\u5c0a\u306f\u85ac\u5e2b\u5982\u6765\u3002<\/p>\n\n\n\n

\u6771\u5854\u306f\u5948\u826f\u6642\u4ee3\u304b\u3089\u306e\u552f\u4e00\u306e\u73fe\u5b58\u5efa\u7bc9\u3067\u56fd\u5b9d\u306b\u6307\u5b9a\u3057\u3066\u304a\u308a\u3001\u300c\u53e4\u90fd\u5948\u826f\u306e\u6587\u5316\u8ca1\u300d\u306e\u69cb\u6210\u8cc7\u7523\u306e1\u3064\u3068\u3057\u3066\u3001\u30e6\u30cd\u30b9\u30b3\u3088\u308a\u4e16\u754c\u907a\u7523\u306b\u3082\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n