WZM Json

Created by: 响当当是我大姐头

Rating:
Downloaded: 418 times

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文件保存于网站的根目录之下。

Screenshots

    Categories

    Get New Themes & Resources