Descriere
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文件保存于网站的根目录之下。
Instalare
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.等待安装完成后,点击“启用”按钮即可。
Recenzii
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„WZM Json” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTe interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
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
- 初始发行