{"id":141596,"date":"2021-05-29T04:42:02","date_gmt":"2021-05-29T04:42:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wzm-json\/"},"modified":"2021-05-29T23:45:34","modified_gmt":"2021-05-29T23:45:34","slug":"wzm-json","status":"publish","type":"plugin","link":"https:\/\/nn.wordpress.org\/plugins\/wzm-json\/","author":16040900,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"5.7.15","requires":"5.7.2","requires_php":"7.2.34","requires_plugins":"","header_name":"Wzm Json","header_author":"\u54cd\u5f53\u5f53\u662f\u6211\u5927\u59d0\u5934","header_description":"\u5c06\u9996\u9875\u53ef\u80fd\u7528\u5230\u7684\u6570\u636e\u4fdd\u5b58\u4e3a JSON \u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u5f15\u7528\u5b83\uff0c\u6765\u63d0\u5347\u9996\u9875\u7684\u52a0\u8f7d\u901f\u5ea6\uff1b\u60a8\u53ef\u4ee5\u5728\u201c\u8bbe\u7f6e\u201d\u4e2d\u627e\u5230\u5b83\u3002","assets_banners_color":"","last_updated":"2021-05-29 23:45:34","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.wangzhaomin.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":830,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"anno1800","date":"2021-05-29 23:45:34"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1118,186,199924],"plugin_category":[55],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-141596","plugin","type-plugin","status-publish","hentry","plugin_tags-json","plugin_tags-seo","plugin_tags-wzm","plugin_category-seo-and-marketing","plugin_committers-anno1800"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wzm-json.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Made to improve the loading speed of the website, the specific function is to:\n1. The basic information (name, date, abstract, link, address with pictures) of the latest n articles (reverse order) under each article category;\n2. Basic information of all article categories (name, alias, link, description);\n3. Basic information of all pages (name, alias, link, summary);\n4. The basic information of the latest n products in the selected products (reverse order) (WooCommerce plug-in needs to be installed, name, date, summary, link, and picture address);\nThe above four cases are saved as JSON files in the form of objects, which are used for loading the homepage, thereby improving the loading speed of the homepage.<\/p>\n\n<p>Note: The JSON file is stored in the root directory of the website.<\/p>\n\n<p>\u4e3a\u63d0\u5347\u7f51\u7ad9\u52a0\u8f7d\u901f\u5ea6\u800c\u5236\u4f5c\uff0c\u5177\u4f53\u529f\u80fd\u662f\u5c06\uff1a\n1. \u6bcf\u4e2a\u6587\u7ae0\u5206\u7c7b\u4e0b\u6700\u65b0\u7684 n \u7bc7\u6587\u7ae0\uff08\u5012\u5e8f\uff09\u7684\u57fa\u672c\u4fe1\u606f\uff08\u540d\u79f0\u3001\u65e5\u671f\u3001\u6458\u8981\u3001\u94fe\u63a5\u3001\u914d\u56fe\u5730\u5740\uff09\uff1b\n2. \u6240\u6709\u6587\u7ae0\u5206\u7c7b\u7684\u57fa\u672c\u4fe1\u606f\uff08\u540d\u79f0\u3001\u522b\u540d\u3001\u94fe\u63a5\u3001\u63cf\u8ff0\uff09\uff1b\n3. \u6240\u6709\u9875\u9762\u7684\u57fa\u672c\u4fe1\u606f\uff08\u540d\u79f0\u3001\u522b\u540d\u3001\u94fe\u63a5\u3001\u6458\u8981\uff09\uff1b\n4. \u7cbe\u9009\u4ea7\u54c1\u4e2d\u6700\u65b0\u7684 n \u4e2a\u4ea7\u54c1\uff08\u5012\u5e8f\uff09\u7684\u57fa\u672c\u4fe1\u606f\uff08\u9700\u5b89\u88c5WooCommerce\u63d2\u4ef6\uff0c\u540d\u79f0\u3001\u65e5\u671f\u3001\u6458\u8981\u3001\u94fe\u63a5\u3001\u914d\u56fe\u5730\u5740\uff09\uff1b\n\u4ee5\u4e0a\u56db\u79cd\u60c5\u51b5\u4ee5\u5bf9\u8c61\u7684\u5f62\u5f0f\u4fdd\u5b58\u4e3aJSON\u6587\u4ef6\uff0c\u7528\u4e8e\u9996\u9875\u52a0\u8f7d\u4f7f\u7528\uff0c\u4ece\u800c\u63d0\u9ad8\u9996\u9875\u7684\u52a0\u8f7d\u901f\u5ea6\u3002<\/p>\n\n<p>\u6ce8\uff1aJSON\u6587\u4ef6\u4fdd\u5b58\u4e8e\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u4e4b\u4e0b\u3002<\/p>\n\n<!--section=installation-->\n<p>Installing it is like installing any other WordPress plugin.<\/p>\n\n<p>Dashboard method:\n1. Log in to your WordPress administrator, and then go to \"Plugins -&gt; Add New\";\n2. Type \"wzm json\" in the search bar, then select this plug-in, and click \"Install Now\";\n3. After the installation is complete, click the \"Enable\" button.<\/p>\n\n<p>\u5b89\u88c5\u5b83\u5c31\u50cf\u5b89\u88c5\u5176\u4ed6\u4efb\u4f55WordPress\u63d2\u4ef6\u4e00\u6837\u3002<\/p>\n\n<p>\u4eea\u8868\u677f\u65b9\u6cd5\uff1a\n1.\u767b\u5f55\u5230\u60a8\u7684WordPress\u7ba1\u7406\u5458\uff0c\u7136\u540e\u8f6c\u5230\u201c\u63d2\u4ef6-&gt;\u6dfb\u52a0\u65b0\u201d\uff1b\n2.\u5728\u641c\u7d22\u680f\u4e2d\u952e\u5165\u201cwzm json\u201d\uff0c\u7136\u540e\u9009\u62e9\u6b64\u63d2\u4ef6\uff0c\u70b9\u51fb\u201c\u73b0\u5728\u5b89\u88c5\u201d\uff1b\n3.\u7b49\u5f85\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u201c\u542f\u7528\u201d\u6309\u94ae\u5373\u53ef\u3002<\/p>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Download and install from SVN, it prompts an error: \"Call to undefined function get_home_path()\"; therefore, replace get_home_path() with ABSPATH (Reference: https:\/\/wordpress.org\/support\/topic\/uncaught-error-call-to-undefined-function-get_home_path-after-update-to-3-5-1\/).<\/li>\n<li>\u4eceSVN\u4e0b\u8f7d\u5b89\u88c5\uff0c\u63d0\u793a\u9519\u8bef\uff1a\u201cCall to undefined function get_home_path()\u201d\uff1b\u56e0\u6b64\u5c06 get_home_path() \u66ff\u6362\u4e3a ABSPATH\uff08\u53c2\u8003\uff1ahttps:\/\/wordpress.org\/support\/topic\/uncaught-error-call-to-undefined-function-get_home_path-after-update-to-3-5-1\/\uff09\u3002<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>\u521d\u59cb\u53d1\u884c<\/li>\n<\/ul>","raw_excerpt":"WZM Json only provides a file, you need to do more if you want to improve the page loading speed. WZM Json \u4ec5\u4ec5\u662f\u63d0\u4f9b\u4e00\u4e2a\u6587\u4ef6\uff0c\u60f3\u8981\u63d0\u5347\u7f51\u9875\u52a0\u8f7d\u901f\u5ea6\u8fd8\u9700\u8981\u505a\u5230\u66f4\u591a\u3002","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/141596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=141596"}],"author":[{"embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/anno1800"}],"wp:attachment":[{"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=141596"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=141596"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=141596"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=141596"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=141596"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=141596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}