{"id":4178,"date":"2024-10-27T23:49:23","date_gmt":"2024-10-27T15:49:23","guid":{"rendered":"https:\/\/www.openbyt.com\/?p=4178"},"modified":"2024-10-27T23:50:28","modified_gmt":"2024-10-27T15:50:28","slug":"a-comprehensive-guide-to-simplifying-elementor-editing-with-json-files","status":"publish","type":"post","link":"https:\/\/www.openbyt.com\/zh\/\u7c21\u5316\u4f7f\u7528-json-\u6a94\u6848\u9032\u884c-elementor-\u7de8\u8f2f\u7684\u5168\u9762\u6307\u5357","title":{"rendered":"\u4f7f\u7528 JSON \u6a94\u6848\u7c21\u5316 Elementor \u7de8\u8f2f\u7684\u5168\u9762\u6307\u5357"},"content":{"rendered":"<h2 class=\"wp-block-heading\">1.\u7c21\u4ecb<\/h2><p>\u5728\u4e0d\u65b7\u767c\u5c55\u7684\u7db2\u9801\u958b\u767c\u74b0\u5883\u4e2d\uff0c\u6548\u7387\u548c\u53ef\u64f4\u5c55\u6027\u662f\u6700\u91cd\u8981\u7684\u3002Elementor \u662f\u9818\u5148\u7684 WordPress \u9801\u9762\u69cb\u5efa\u5668\uff0c\u63d0\u4f9b\u7121\u8207\u502b\u6bd4\u7684\u8a2d\u8a08\u9748\u6d3b\u6027\u3002\u7136\u800c\uff0c\u96a8\u8457\u5c08\u6848\u8907\u96dc\u5ea6\u7684\u589e\u52a0\uff0c\u7ba1\u7406\u5167\u5bb9\u548c\u7248\u9762\u53ef\u80fd\u6703\u8b8a\u5f97\u5f88\u9ebb\u7169\u3002\u9019\u5c31\u662f JSON\uff08JavaScript Object Notation\uff0cJavaScript \u7269\u4ef6\u7b26\u865f\uff09\u767c\u63ee\u4f5c\u7528\u7684\u5730\u65b9\u3002\u900f\u904e\u5229\u7528 JSON \u6a94\u6848\uff0c\u958b\u767c\u4eba\u54e1\u53ef\u4ee5\u7c21\u5316\u548c\u7cbe\u7c21 Elementor \u7684\u7de8\u8f2f\u6d41\u7a0b\uff0c\u5f9e\u800c\u52a0\u5feb\u958b\u767c\u9031\u671f\u4e26\u63d0\u9ad8\u4ee3\u78bc\u5eab\u7684\u53ef\u7dad\u8b77\u6027\u3002<\/p><figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4.webp\" alt=\"\" class=\"wp-image-4179\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/1-4-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h3 class=\"wp-block-heading\">1.1 \u4e86\u89e3 Elementor<\/h3><p>Elementor \u5f15\u5165\u4e86\u53ef\u8996\u5316\u7684\u62d6\u653e\u4ecb\u9762\uff0c\u5fb9\u5e95\u6539\u8b8a\u4e86\u6211\u5011\u5efa\u7acb WordPress \u7db2\u7ad9\u7684\u65b9\u5f0f\u3002\u5b83\u5141\u8a31\u5373\u6642\u7de8\u8f2f\uff0c\u4e26\u63d0\u4f9b\u4e86\u9f90\u5927\u7684 widget \u548c\u7bc4\u672c\u5eab\u3002\u5118\u7ba1 Elementor \u5177\u5099\u53cb\u5584\u7684\u4f7f\u7528\u8005\u4ecb\u9762\uff0c\u4f46\u9032\u968e\u7684\u5ba2\u88fd\u5316\u4ecd\u53ef\u80fd\u76f8\u7576\u8017\u6642\uff0c\u5c24\u5176\u662f\u5728\u8655\u7406\u91cd\u8907\u6027\u5de5\u4f5c\u6216\u8907\u96dc\u4f48\u5c40\u6642\u3002<\/p><figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3.webp\" alt=\"\" class=\"wp-image-4180\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/2-3-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h3 class=\"wp-block-heading\">1.2 JSON \u5728 Web \u958b\u767c\u4e2d\u7684\u4f5c\u7528<\/h3><p>JSON \u662f\u4e00\u7a2e\u8f15\u91cf\u7d1a\u7684\u8cc7\u6599\u4ea4\u63db\u683c\u5f0f\uff0c\u4eba\u985e\u5bb9\u6613\u8b80\u5beb\uff0c\u6a5f\u5668\u4e5f\u5bb9\u6613\u89e3\u6790\u548c\u7522\u751f\u3002\u7531\u65bc\u5176\u7c21\u55ae\u6027\u53ca\u8207 JavaScript \u7684\u76f8\u5bb9\u6027\uff0cJSON \u5df2\u7d93\u6210\u70ba\u7db2\u8def\u8cc7\u6599\u4ea4\u63db\u7684\u4e8b\u5be6\u6a19\u6e96\u3002<\/p><figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2.webp\" alt=\"\" class=\"wp-image-4181\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/3-2-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h3 class=\"wp-block-heading\">1.3 \u70ba\u4f55\u7d50\u5408 JSON \u8207 Elementor\uff1f<\/h3><p>\u5c07 JSON \u6574\u5408\u81f3 Elementor \u6709\u5e7e\u500b\u512a\u9ede\uff1a<\/p><ul class=\"wp-block-list\"><li><strong>\u81ea\u52d5\u5316<\/strong>:\u900f\u904e\u5728 JSON \u4e2d\u5b9a\u7fa9\u7d50\u69cb\u548c\u5167\u5bb9\uff0c\u81ea\u52d5\u57f7\u884c\u91cd\u8907\u6027\u5de5\u4f5c\u3002<\/li>\n\n<li><strong>\u64f4\u5145\u6027<\/strong>:\u8f15\u9b06\u7ba1\u7406\u5927\u91cf\u8cc7\u6599\u548c\u8907\u96dc\u7684\u4f48\u5c40\u3002<\/li>\n\n<li><strong>\u52d5\u614b\u5167\u5bb9<\/strong>:\u5f9e\u5916\u90e8\u4f86\u6e90\u6216 API \u6293\u53d6\u4e26\u986f\u793a\u8cc7\u6599\u3002<\/li>\n\n<li><strong>\u53ef\u651c\u6027<\/strong>:\u5728\u4e0d\u540c\u5c08\u6848\u4e4b\u9593\u7121\u7e2b\u532f\u51fa\u548c\u532f\u5165\u7bc4\u672c\u3002<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2.webp\" alt=\"\" class=\"wp-image-4182\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4-2-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h2 class=\"wp-block-heading\">2.\u958b\u59cb\u4f7f\u7528 JSON<\/h2><p>\u5728\u6df1\u5165\u77ad\u89e3\u6574\u5408\u4e4b\u524d\uff0c\u77ad\u89e3 JSON \u7684\u57fa\u672c\u77e5\u8b58\u4ee5\u53ca\u5982\u4f55\u6709\u6548\u5730\u4f7f\u7528 JSON \u662f\u81f3\u95dc\u91cd\u8981\u7684\u3002<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1.webp\" alt=\"\" class=\"wp-image-4183\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5-1-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h3 class=\"wp-block-heading\">2.1 JSON \u8a9e\u6cd5\u57fa\u790e<\/h3><p>JSON \u4f7f\u7528\u9375\u503c\u5c0d\u548c\u6709\u5e8f\u6e05\u55ae\u4f86\u5efa\u7acb\u8cc7\u6599\u7d50\u69cb\u3002<\/p><ul class=\"wp-block-list\"><li><strong>\u7269\u4ef6<\/strong>:\u4f7f\u7528\u5927\u62ec\u5f27\u5b9a\u7fa9 <code>{}<\/code> \u4e26\u5305\u542b\u9375\u503c\u5c0d\u3002<\/li>\n\n<li><strong>\u9663\u5217<\/strong>:\u4f7f\u7528\u65b9\u62ec\u865f\u5b9a\u7fa9 <code>[]<\/code> \u4e26\u5305\u542b\u503c\u7684\u6709\u5e8f\u6e05\u55ae\u3002<\/li><\/ul><pre class=\"wp-block-code\"><code>{\n  \"title\"\uff1a\u300c\u6b61\u8fce\u4f86\u5230\u6211\u7684\u7db2\u7ad9\u300d\u3001\n  \"pages\"\uff1a[\n    {\n      \"name\"\uff1a\"Home\"\u3001\n      \"url\"\uff1a\"\/home\"\n    },\n    {\n      \u300c\u540d\u7a31\u300d\uff1a\u300c\u95dc\u65bc\u300d\u3001\n      \"url\"\uff1a\"\/about\"\n    }\n  ]\n}\n<\/code><\/pre><h3 class=\"wp-block-heading\">2.2 \u7de8\u8f2f JSON \u6a94\u6848\u7684\u5de5\u5177<\/h3><ul class=\"wp-block-list\"><li><strong>\u6587\u5b57\u7de8\u8f2f\u5668<\/strong>:Visual Studio Code\u3001Sublime Text\u3001Atom\u3002<\/li>\n\n<li><strong>JSON \u9a57\u8b49\u5668<\/strong>:JSONLint, JSON Formatter.<\/li>\n\n<li><strong>\u700f\u89bd\u5668\u64f4\u5145\u5957\u4ef6<\/strong>:JSON \u6aa2\u8996\u5668\u3001JSON \u7de8\u8f2f\u5668\u3002<\/li><\/ul><h2 class=\"wp-block-heading\">3.\u6df1\u5165\u4e86\u89e3 Elementor \u7684\u7d50\u69cb<\/h2><p>\u4e86\u89e3 Elementor \u5982\u4f55\u5132\u5b58\u548c\u7ba1\u7406\u8cc7\u6599\u5c0d\u65bc\u6709\u6548\u6574\u5408\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002<\/p><h3 class=\"wp-block-heading\">3.1 Elementor \u5982\u4f55\u5132\u5b58\u8cc7\u6599<\/h3><p>Elementor \u5728 WordPress \u8cc7\u6599\u5eab\u4e2d\uff0c\u7279\u5225\u662f\u5728 <code>post_meta<\/code> \u8868\u3002\u7576\u60a8\u532f\u51fa\u6a21\u677f\u6642\uff0cElementor \u6703\u7522\u751f\u4e00\u500b\u5305\u542b\u9019\u4e9b\u8cc7\u6599\u7684 JSON \u6a94\u6848\u3002<\/p><h3 class=\"wp-block-heading\">3.2 \u532f\u51fa\u548c\u532f\u5165\u7bc4\u672c<\/h3><ul class=\"wp-block-list\"><li><strong>\u51fa\u53e3<\/strong>:<ul class=\"wp-block-list\"><li>\u5c0e\u89bd\u5230 <strong>\u7bc4\u672c &gt; \u5132\u5b58\u7684\u7bc4\u672c<\/strong>.<\/li>\n\n<li>\u9078\u53d6\u7bc4\u672c\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b <strong>\u51fa\u53e3<\/strong>.<\/li><\/ul><\/li>\n\n<li><strong>\u532f\u5165<\/strong>:<ul class=\"wp-block-list\"><li>\u524d\u5f80 <strong>\u7bc4\u672c &gt; \u5132\u5b58\u7684\u7bc4\u672c<\/strong>.<\/li>\n\n<li>\u6309\u4e00\u4e0b <strong>\u532f\u5165\u7bc4\u672c<\/strong> \u4e26\u4e0a\u50b3\u60a8\u7684 JSON \u6a94\u6848\u3002<\/li><\/ul><\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2.webp\" alt=\"\" class=\"wp-image-4184\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6-2-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><hr class=\"wp-block-separator has-alpha-channel-opacity\"\/><h2 class=\"wp-block-heading\">4.\u70ba Elementor \u5efa\u7acb\u81ea\u8a02 JSON \u6a94\u6848<\/h2><p>\u900f\u904e\u624b\u52d5\u5efa\u7acb\u6216\u7de8\u8f2f JSON \u6a94\u6848\uff0c\u60a8\u53ef\u4ee5\u5b9a\u7fa9\u81ea\u8a02\u7684\u9801\u9762\u4f48\u5c40\u548c\u5167\u5bb9\u3002<\/p><h3 class=\"wp-block-heading\">4.1 \u5b9a\u7fa9\u9801\u9762\u7d50\u69cb<\/h3><p>\u5148\u52fe\u52d2\u51fa\u5340\u6bb5\u3001\u6b04\u4f4d\u548c\u5c0f\u5de5\u5177\u3002<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1.webp\" alt=\"\" class=\"wp-image-4185\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.1-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>\u7d50\u69cb\u7bc4\u4f8b\uff1a<\/strong><\/p><pre class=\"wp-block-code\"><code>{\n  \"sections\"\uff1a[\n    {\n      \"id\"\uff1a\"section1\"\u3001\n      \u300c\u8a2d\u5b9a\u300d\uff1a{},\n      \"elements\"\uff1a[\n        {\n          \"id\"\uff1a\"column1\"\u3001\n          \u300c\u8a2d\u5b9a\u300d\uff1a{},\n          \"elements\"\uff1a[\n            {\n              \"id\"\uff1a\"widget1\"\u3001\n              \"widgetType\"\uff1a\"heading\"\u3001\n              \u300c\u8a2d\u5b9a\u300d\uff1a{\n                \"title\"\uff1a\"Hello World\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}\n<\/code><\/pre><h3 class=\"wp-block-heading\">4.2 \u81ea\u8a02 Widget \u8207\u5143\u4ef6<\/h3><p>\u900f\u904e\u6307\u5b9a <code>widgetType<\/code> \u53ca\u76f8\u95dc\u8a2d\u5b9a\u3002<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2.webp\" alt=\"\" class=\"wp-image-4186\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.2-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>\u7bc4\u4f8b\uff1a<\/strong><\/p><pre class=\"wp-block-code\"><code>{\n  \"id\"\uff1a\"widget2\"\u3001\n  \"widgetType\"\uff1a\"image\"\u3001\n  \u300c\u8a2d\u5b9a\u300d\uff1a{\n    \"image\"\uff1a{\n      \"url\"\uff1a\"https:\/\/example.com\/image.jpg\"\n    },\n    \u300c\u6a19\u984c\u300d\uff1a\u300c\u7bc4\u4f8b\u5716\u7247\u300d\n  }\n}\n<\/code><\/pre><h3 class=\"wp-block-heading\">4.3 \u9020\u578b\u8207\u5168\u5c40\u8a2d\u5b9a<\/h3><p>\u5957\u7528\u5168\u5c40\u6216\u7279\u5b9a\u5143\u7d20\u7684\u6a23\u5f0f\u3002<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3.webp\" alt=\"\" class=\"wp-image-4187\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/4.3-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>\u5168\u7403\u98a8\u683c\uff1a<\/strong><\/p><pre class=\"wp-block-code\"><code>{\n  \"global\"\uff1a{\n    \"typography\"\uff1a{\n      \"font_family\"\uff1a\"Arial\"\u3001\n      \"font_size\"\uff1a\"16px\"\n    },\n    \"colors\"\uff1a{\n      \"primary\"\uff1a\"#3498db\"\u3001\n      \u300c\u6b21\u8981\u300d\uff1a\"#2ecc71\"\n    }\n  }\n}\n<\/code><\/pre><p>\u5143\u7d20\u6a23\u5f0f\uff1a<\/p><pre class=\"wp-block-code\"><code>{\n  \"id\"\uff1a\"widget3\"\u3001\n  \"widgetType\"\uff1a\"button\"\u3001\n  \u300c\u8a2d\u5b9a\u300d\uff1a{\n    \"text\"\uff1a\"Click Me\"\u3001\n    \"style\"\uff1a{\n      \"background_color\"\uff1a\"#e74c3c\"\u3001\n      \"text_color\"\uff1a\"#ffffff\"\n    }\n  }\n}\n<\/code><\/pre><p>\u5143\u7d20\u6a23\u5f0f\uff1a<\/p><pre class=\"wp-block-code\"><code>{\n  \"id\"\uff1a\"widget3\"\u3001\n  \"widgetType\"\uff1a\"button\"\u3001\n  \u300c\u8a2d\u5b9a\u300d\uff1a{\n    \"text\"\uff1a\"Click Me\"\u3001\n    \"style\"\uff1a{\n      \"background_color\"\uff1a\"#e74c3c\"\u3001\n      \"text_color\"\uff1a\"#ffffff\"\n    }\n  }\n}\n<\/code><\/pre><h2 class=\"wp-block-heading\">5.\u9032\u968e\u6280\u8853<\/h2><p>\u7d50\u5408\u5148\u9032\u7684 JSON \u7b56\u7565\uff0c\u63d0\u5347\u60a8\u7684 Elementor \u5c08\u6848\u3002<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1.webp\" alt=\"\" class=\"wp-image-4188\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.1-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h3 class=\"wp-block-heading\">5.1 \u4f7f\u7528 JSON \u7684\u52d5\u614b\u5167\u5bb9<\/h3><p>\u5229\u7528\u52d5\u614b\u6a19\u7c64\u4f86\u63d2\u5165\u6839\u64da\u4e0a\u4e0b\u6587\u6539\u8b8a\u7684\u8cc7\u6599\u3002<\/p><p><strong>\u7bc4\u4f8b\uff1a<\/strong><\/p><pre class=\"wp-block-code\"><code>{\n  \"id\"\uff1a\"widget4\"\u3001\n  \"widgetType\"\uff1a\"text-editor\"\u3001\n  \u300c\u8a2d\u5b9a\u300d\uff1a{\n    \"content\"\uff1a\"{{dynamic_tag}}\"\n  }\n}\n<\/code><\/pre><h3 class=\"wp-block-heading\">5.2 \u6574\u5408 API \u8207\u5916\u90e8\u8cc7\u6599<\/h3><p>\u5f9e API \u64f7\u53d6\u8cc7\u6599\uff0c\u4e26\u4f7f\u7528\u81ea\u8a02 widget \u986f\u793a\u3002<\/p><p><strong>\u64f7\u53d6\u8cc7\u6599\uff1a<\/strong><\/p><pre class=\"wp-block-code\"><code>{\n    &quot;id&quot;: &quot;widget5&quot;,\n    &quot;widgetType&quot;: &quot;html&quot;,\n    &quot;settings&quot;: {\n        &quot;html&quot;: &quot;&lt;div id='api-data'&gt;&lt;\\\/div&gt;&quot;,\n        &quot;custom_js&quot;: &quot;fetch('https:\\\/\\\/api.example.com\\\/data').then(response =&gt; response.json()).then(data =&gt; { document.getElementById('api-data').innerText = data.value; });&quot;\n    }\n}\n<\/code><\/pre><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5.webp\" alt=\"\" class=\"wp-image-4189\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/5.5-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h3 class=\"wp-block-heading\">5.3 \u81ea\u52d5\u5316\u8207\u6279\u6b21\u8655\u7406<\/h3><p>\u4f7f\u7528\u8173\u672c\u81ea\u52d5\u5efa\u7acb JSON \u6a94\u6848\u3002<\/p><ul class=\"wp-block-list\"><li><strong>\u8173\u672c\u8a9e\u8a00<\/strong>:Python, Node.js.<\/li>\n\n<li><strong>\u4f7f\u7528\u6848\u4f8b<\/strong>:\u5f9e\u8cc7\u6599\u96c6\u7522\u751f\u591a\u500b\u9801\u9762\u3002<\/li><\/ul><p><strong>Python \u7bc4\u4f8b\uff1a<\/strong><\/p><pre class=\"wp-block-code\"><code>\u532f\u5165 json\n\npages = [ \u300c\u9996\u9801\u300d, \u300c\u95dc\u65bc\u300d, \u300c\u670d\u52d9\u300d, \u300c\u806f\u7d61\u6211\u5011\u300d]\nfor page in pages\uff1a\n    data = {\n        \"title\": page\u3001\n        \"sections\"\uff1a[]\n    }\n    with open(f'{page.lower()}.json', 'w') as file\uff1a\n        json.dump(data, file)\n<\/code><\/pre><h2 class=\"wp-block-heading\">6.\u6848\u4f8b\u7814\u7a76\uff1a\u5efa\u7acb\u52d5\u614b\u6295\u8cc7\u7d44\u5408\u7db2\u7ad9<\/h2><p>\u61c9\u7528\u6240\u6db5\u84cb\u6982\u5ff5\u7684\u5be6\u4f8b\u3002<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6.webp\" alt=\"\" class=\"wp-image-4193\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/6.6-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h3 class=\"wp-block-heading\">6.1 \u5c08\u6848\u6982\u8ff0<\/h3><p>\u4f7f\u7528 JSON \u548c Elementor \u5efa\u7acb\u53ef\u81ea\u52d5\u66f4\u65b0\u65b0\u5c08\u6848\u7684\u4f5c\u54c1\u96c6\u7db2\u7ad9\u3002<\/p><h3 class=\"wp-block-heading\">6.2 \u5206\u6b65\u5be6\u65bd<\/h3><ol class=\"wp-block-list\"><li><strong>\u5b9a\u7fa9\u8cc7\u6599\u7d50\u69cb<\/strong>:<ul class=\"wp-block-list\"><li>\u5efa\u7acb\u4e00\u500b JSON \u6a94\u6848\uff0c\u5217\u51fa\u6240\u6709\u5c08\u6848\u3002<\/li>\n\n<li>\u5305\u62ec\u4ee5\u4e0b\u6b04\u4f4d <code>\u540d\u7a31<\/code>, <code>\u63cf\u8ff0<\/code>, <code>image_url<\/code>\u4ee5\u53ca <code>\u5c08\u6848URL<\/code>.<\/li><\/ul><\/li>\n\n<li><strong>\u5728 Elementor \u4e2d\u5efa\u7acb\u7bc4\u672c<\/strong>:<ul class=\"wp-block-list\"><li>\u8a2d\u8a08\u55ae\u4e00\u5c08\u6848\u7248\u9762\u3002<\/li>\n\n<li>\u4f7f\u7528\u52d5\u614b\u6a19\u7c64\u4f86\u586b\u5145\u8cc7\u6599\u3002<\/li><\/ul><\/li>\n\n<li><strong>\u64f7\u53d6\u8207\u986f\u793a\u8cc7\u6599<\/strong>:<ul class=\"wp-block-list\"><li>\u4f7f\u7528\u81ea\u8a02 widget \u4f86\u5faa\u74b0\u6aa2\u8996\u5c08\u6848\u3002<\/li>\n\n<li>\u57f7\u884c JavaScript \u4f86\u5448\u73fe\u6bcf\u500b\u5c08\u6848\u3002<\/li><\/ul><\/li><\/ol><p><strong>JSON \u8cc7\u6599\u7bc4\u4f8b\uff1a<\/strong><\/p><pre class=\"wp-block-code\"><code>[\n  {\n    \u300c\u6a19\u984c\u300d\uff1a\"Project One\"\u3001\n    \"description\"\uff1a\u300c\u9805\u76ee\u4e00\u7684\u63cf\u8ff0\u300d\u3001\n    \"image_url\"\uff1a\"https:\/\/example.com\/project1.jpg\"\u3001\n    \"project_url\"\uff1a\"https:\/\/example.com\/project1\"\n  },\n  {\n    \"title\"\uff1a\u300c\u5c08\u6848\u4e8c\u300d\u3001\n    \"description\"\uff1a\u300c\u5c08\u6848\u4e8c\u7684\u8aaa\u660e\u300d\u3001\n    \"image_url\"\uff1a\"https:\/\/example.com\/project2.jpg\"\u3001\n    \"project_url\"\uff1a\"https:\/\/example.com\/project2\"\n  }\n]\n<\/code><\/pre><h3 class=\"wp-block-heading\">6.3 \u6311\u6230\u8207\u89e3\u6c7a\u65b9\u6848<\/h3><ul class=\"wp-block-list\"><li><strong>\u6311\u6230<\/strong>:\u78ba\u4fdd\u8cc7\u6599\u4e00\u81f4\u6027\u3002<ul class=\"wp-block-list\"><li><strong>\u89e3\u6c7a\u65b9\u6848<\/strong>:\u532f\u5165\u524d\u9a57\u8b49 JSON \u6a94\u6848\u3002<\/li><\/ul><\/li>\n\n<li><strong>\u6311\u6230<\/strong>:\u8655\u7406\u7570\u6b65\u8cc7\u6599\u8f09\u5165\u3002<ul class=\"wp-block-list\"><li><strong>\u89e3\u6c7a\u65b9\u6848<\/strong>:\u5728 JavaScript \u4e2d\u5be6\u4f5c\u8f09\u5165\u72c0\u614b\u548c\u932f\u8aa4\u8655\u7406\u3002<\/li><\/ul><\/li><\/ul><h2 class=\"wp-block-heading\">7.\u6548\u80fd\u6700\u4f73\u5316<\/h2><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1.webp\" alt=\"\" class=\"wp-image-4192\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/7-1-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p>\u9ad8\u6548\u7387\u7684\u7db2\u7ad9\u53ef\u63d0\u4f9b\u66f4\u597d\u7684\u4f7f\u7528\u8005\u7d93\u9a57\u548c SEO \u512a\u52e2\u3002<\/p><h3 class=\"wp-block-heading\">7.1 \u6700\u5c0f\u5316\u6a94\u6848\u5927\u5c0f<\/h3><ul class=\"wp-block-list\"><li><strong>\u58d3\u7e2e<\/strong>:\u4f7f\u7528\u5de5\u5177\u58d3\u7e2e JSON \u6a94\u6848\u3002<\/li>\n\n<li><strong>\u9078\u64c7\u6027\u88dd\u8f09<\/strong>:\u53ea\u70ba\u6bcf\u500b\u9801\u9762\u8f09\u5165\u5fc5\u8981\u7684\u8cc7\u6599\u3002<\/li><\/ul><h3 class=\"wp-block-heading\">7.2 \u61f6\u60f0\u8f09\u5165\u8207\u975e\u540c\u6b65\u8cc7\u6599<\/h3><ul class=\"wp-block-list\"><li><strong>\u5716\u7247<\/strong>:\u5c0d\u5716\u7247\u5be6\u65bd\u5ef6\u9072\u8f09\u5165\uff0c\u4ee5\u6539\u5584\u521d\u59cb\u8f09\u5165\u6642\u9593\u3002<\/li>\n\n<li><strong>\u8cc7\u6599<\/strong>:\u4ee5\u975e\u540c\u6b65\u65b9\u5f0f\u64f7\u53d6\u8cc7\u6599\uff0c\u4ee5\u9632\u6b62\u963b\u585e\u6e32\u67d3\u7a0b\u5e8f\u3002<\/li><\/ul><h3 class=\"wp-block-heading\">7.3 \u5feb\u53d6\u7b56\u7565<\/h3><ul class=\"wp-block-list\"><li><strong>\u700f\u89bd\u5668\u5feb\u53d6<\/strong>:\u8a2d\u5b9a\u9069\u7576\u7684\u6a19\u982d\uff0c\u4ee5\u5feb\u53d6\u975c\u614b\u8cc7\u6e90\u3002<\/li>\n\n<li><strong>\u4f3a\u670d\u5668\u7aef\u5feb\u53d6<\/strong>:\u4f7f\u7528\u5916\u639b\u7a0b\u5f0f\u6216\u4f3a\u670d\u5668\u8a2d\u5b9a\u4f86\u5feb\u53d6\u52d5\u614b\u5167\u5bb9\u3002<\/li><\/ul><hr class=\"wp-block-separator has-alpha-channel-opacity\"\/><h2 class=\"wp-block-heading\">8.\u5e38\u898b\u554f\u984c\u7684\u7591\u96e3\u6392\u89e3<\/h2><p>\u5373\u4f7f\u7d93\u904e\u4ed4\u7d30\u898f\u5283\uff0c\u554f\u984c\u9084\u662f\u53ef\u80fd\u767c\u751f\u3002<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1.webp\" alt=\"\" class=\"wp-image-4191\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/8-1-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><h3 class=\"wp-block-heading\">8.1 JSON \u89e3\u6790\u932f\u8aa4<\/h3><ul class=\"wp-block-list\"><li><strong>\u75c7\u72c0<\/strong>:\u532f\u5165 JSON \u6a94\u6848\u6642\u767c\u751f\u932f\u8aa4\u3002<\/li>\n\n<li><strong>\u89e3\u6c7a\u65b9\u6848<\/strong>:<ul class=\"wp-block-list\"><li>\u4f7f\u7528 JSON \u9a57\u8b49\u5668\u3002<\/li>\n\n<li>\u6aa2\u67e5\u662f\u5426\u907a\u5931\u9017\u865f\u3001\u62ec\u865f\u6216\u5f15\u865f\u3002<\/li><\/ul><\/li><\/ul><h3 class=\"wp-block-heading\">8.2 \u76f8\u5bb9\u6027\u554f\u984c<\/h3><ul class=\"wp-block-list\"><li><strong>\u75c7\u72c0<\/strong>:\u5c0f\u5de5\u5177\u7121\u6cd5\u6b63\u78ba\u986f\u793a\u3002<\/li>\n\n<li><strong>\u89e3\u6c7a\u65b9\u6848<\/strong>:<ul class=\"wp-block-list\"><li>\u78ba\u4fdd Elementor \u548c WordPress \u70ba\u6700\u65b0\u7248\u672c\u3002<\/li>\n\n<li>\u78ba\u8a8d\u81ea\u8a02 Widget \u5df2\u7d93\u6b63\u78ba\u8a3b\u518a\u3002<\/li><\/ul><\/li><\/ul><h3 class=\"wp-block-heading\">8.3 \u8cc7\u6599\u5b89\u5168\u6027\u8003\u91cf<\/h3><ul class=\"wp-block-list\"><li><strong>\u75c7\u72c0<\/strong>:\u672a\u7d93\u6388\u6b0a\u5b58\u53d6\u654f\u611f\u8cc7\u6599\u3002<\/li>\n\n<li><strong>\u89e3\u6c7a\u65b9\u6848<\/strong>:<ul class=\"wp-block-list\"><li>\u5c0d\u6240\u6709\u8f38\u5165\u9032\u884c\u6d88\u6bd2\u3002<\/li>\n\n<li>\u907f\u514d\u5728 JSON \u6a94\u6848\u4e2d\u66b4\u9732\u654f\u611f\u8cc7\u8a0a\u3002<\/li><\/ul><\/li><\/ul><hr class=\"wp-block-separator has-alpha-channel-opacity\"\/><h2 class=\"wp-block-heading\">9.\u672a\u4f86\u8da8\u52e2<\/h2><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1.webp\" alt=\"\" class=\"wp-image-4190\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1-768x768.webp 768w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1-12x12.webp 12w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/9-1-96x96.webp 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p>\u77ad\u89e3\u7522\u696d\u767c\u5c55\u65b9\u5411\uff0c\u4fdd\u6301\u9818\u5148\u5730\u4f4d\u3002<\/p><h3 class=\"wp-block-heading\">9.1 Elementor \u8207 JSON \u7684\u6f14\u9032<\/h3><ul class=\"wp-block-list\"><li><strong>\u589e\u5f37\u52d5\u614b\u5167\u5bb9<\/strong>:\u8207\u5916\u90e8\u8cc7\u6599\u4f86\u6e90\u7684\u66f4\u591a\u6574\u5408\u3002<\/li>\n\n<li><strong>\u6539\u9032\u7684\u958b\u767c\u4eba\u54e1\u5de5\u5177<\/strong>:\u66f4\u597d\u5730\u652f\u63f4\u81ea\u8a02 widget \u548c\u7bc4\u672c\u3002<\/li><\/ul><h3 class=\"wp-block-heading\">9.2 \u503c\u5f97\u95dc\u6ce8\u7684\u65b0\u8208\u6280\u8853<\/h3><ul class=\"wp-block-list\"><li><strong>\u7121\u982d CMS<\/strong>:\u5c07\u524d\u7aef\u8207\u5f8c\u7aef\u89e3\u8026\uff0c\u589e\u52a0\u5f48\u6027\u3002<\/li>\n\n<li><strong>GraphQL<\/strong>:\u53ef\u88dc\u5145\u6216\u53d6\u4ee3 REST API \u7684\u9ad8\u6548\u8cc7\u6599\u67e5\u8a62\u3002<\/li><\/ul><hr class=\"wp-block-separator has-alpha-channel-opacity\"\/><h2 class=\"wp-block-heading\">10.\u7e3d\u7d50<\/h2><p>\u5c07 JSON \u6a94\u6848\u8207 Elementor \u6574\u5408\uff0c\u53ef\u5c07\u7db2\u9801\u958b\u767c\u7684\u6548\u7387\u548c\u53ef\u64f4\u5c55\u6027\u63d0\u5347\u5230\u4e00\u500b\u65b0\u7684\u5c64\u6b21\u3002\u900f\u904e\u81ea\u52d5\u5316\u91cd\u8986\u6027\u5de5\u4f5c\u3001\u555f\u7528\u52d5\u614b\u5167\u5bb9\u4ee5\u53ca\u7c21\u5316\u8907\u96dc\u7684\u4f48\u5c40\uff0c\u958b\u767c\u4eba\u54e1\u53ef\u4ee5\u5c08\u6ce8\u65bc\u5275\u9020\u5f15\u4eba\u5165\u52dd\u7684\u4f7f\u7528\u8005\u9ad4\u9a57\u3002\u96a8\u8457 Elementor \u548c Web \u6280\u8853\u7684\u4e0d\u65b7\u767c\u5c55\uff0c\u4fdd\u6301\u8cc7\u8a0a\u7684\u9748\u901a\u6027\u548c\u9069\u61c9\u6027\u5c07\u78ba\u4fdd\u5728\u5efa\u7acb\u9ad8\u54c1\u8cea\u7db2\u7ad9\u65b9\u9762\u6301\u7e8c\u53d6\u5f97\u6210\u529f\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>1.\u7c21\u4ecb \u5728\u4e0d\u65b7\u767c\u5c55\u7684\u7db2\u9801\u958b\u767c\u74b0\u5883\u4e2d\uff0c\u6548\u7387\u548c\u53ef\u64f4\u5c55\u6027\u662f\u6700\u91cd\u8981\u7684\u3002Elementor \u662f\u9818\u5148\u7684 WordPress \u9801\u9762\u69cb\u5efa\u5668\uff0c\u63d0\u4f9b\u7121\u8207\u502b\u6bd4\u7684\u8a2d\u8a08\u9748\u6d3b\u6027\u3002\u7136\u800c\uff0c...<\/p>","protected":false},"author":31,"featured_media":4194,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63],"tags":[221,192,206],"class_list":["post-4178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-theme-development-customization","tag-javascript","tag-webdevelopment","tag-wordpress-development",""],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/posts\/4178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/comments?post=4178"}],"version-history":[{"count":1,"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/posts\/4178\/revisions"}],"predecessor-version":[{"id":4195,"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/posts\/4178\/revisions\/4195"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/media\/4194"}],"wp:attachment":[{"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/media?parent=4178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/categories?post=4178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.openbyt.com\/zh\/wp-json\/wp\/v2\/tags?post=4178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}