這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WZM Json

外掛說明

Made to improve the loading speed of the website, the specific function is to:
1. The basic information (name, date, abstract, link, address with pictures) of the latest n articles (reverse order) under each article category;
2. Basic information of all article categories (name, alias, link, description);
3. Basic information of all pages (name, alias, link, summary);
4. 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);
The 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.

Note: The JSON file is stored in the root directory of the website.

为提升网站加载速度而制作,具体功能是将:
1. 每个文章分类下最新的 n 篇文章(倒序)的基本信息(名称、日期、摘要、链接、配图地址);
2. 所有文章分类的基本信息(名称、别名、链接、描述);
3. 所有页面的基本信息(名称、别名、链接、摘要);
4. 精选产品中最新的 n 个产品(倒序)的基本信息(需安装WooCommerce插件,名称、日期、摘要、链接、配图地址);
以上四种情况以对象的形式保存为JSON文件,用于首页加载使用,从而提高首页的加载速度。

注:JSON文件保存于网站的根目录之下。

安裝方式

Installing it is like installing any other WordPress plugin.

Dashboard method:
1. Log in to your WordPress administrator, and then go to “Plugins -> Add New”;
2. Type “wzm json” in the search bar, then select this plug-in, and click “Install Now”;
3. After the installation is complete, click the “Enable” button.

安装它就像安装其他任何WordPress插件一样。

仪表板方法:
1.登录到您的WordPress管理员,然后转到“插件->添加新”;
2.在搜索栏中键入“wzm json”,然后选择此插件,点击“现在安装”;
3.等待安装完成后,点击“启用”按钮即可。

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈WZM Json〉的開發相關工作。

參與者

將〈WZM Json〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

  • 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/).
  • 从SVN下载安装,提示错误:“Call to undefined function get_home_path()”;因此将 get_home_path() 替换为 ABSPATH(参考:https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-get_home_path-after-update-to-3-5-1/)。

1.0

  • Initial release
  • 初始发行