diff --git a/README.md b/README.md index fc601d5..145c947 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,32 @@ -

- -

- -

- - - - - -

- English | [简体中文](README.zh-CN.md) -## About +

+ +

-Kratos is a responsive WordPress theme focused on the user reading experience, just for fun 🎉 +

+ + + + + + + + + + + +

-## Install +

+ Report Bug + · + Request Feature +

+ +

A responsive WordPress theme focused on user reading experience

+ +## 🚀 Quick start 1. First download the theme's .zip file from the source file to your local computer. @@ -28,12 +38,6 @@ Kratos is a responsive WordPress theme focused on the user reading experience, j 5. The theme can now be activated from the administrator. Select the `Appearance` tab, then open the theme catalog, find the theme, and click the `Activate link`. -## Changelog +## 🤝 Contributing -Detailed changes for each release are documented in the [release notes](https://github.com/seatonjiang/kratos/releases). - -## License - -The code is available under the [GPL-3.0](https://github.com/seatonjiang/kratos/blob/main/LICENSE) license. - -The document is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License](http://creativecommons.org/licenses/by-nc-nd/4.0/). +We welcome all contributions. You can submit any ideas as pull requests or as GitHub issues, have a good time! :) diff --git a/README.zh-CN.md b/README.zh-CN.md index dbf285d..b4ec67d 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -1,22 +1,32 @@ -

- -

- -

- - - - - -

- [English](README.md) | 简体中文 -## 关于主题 +

+ +

-Kratos 是一款专注于用户阅读体验的响应式 WordPress 主题,整体布局简洁大方,针对资源加载进行了优化。 +

+ + + + + + + + + + + +

-## 安装方法 +

+ 报告问题 + · + 功能需求 +

+ +

Kratos 是一款专注于用户阅读体验的响应式 WordPress 主题

+ +## 🚀 使用说明 1. 下载最新发行版本的 .zip 格式安装包; @@ -28,18 +38,18 @@ Kratos 是一款专注于用户阅读体验的响应式 WordPress 主题,整 5. 进入 `外观` > `主题` 页面,找到 Kratos 主题,然后点击 `启用` 即可。 -## 讨论交流 +## 💬 讨论交流

- +

-## 打赏捐赠 +## 🧧 打赏捐赠

- +

-## 版权说明 +## 🤝 参与共建 -该仓库代码文件使用 [GPL-3.0](https://github.com/seatonjiang/kratos/blob/main/LICENSE) 协议进行授权,文档文件使用 [署名-非商业性使用-禁止演绎 4.0 国际](http://creativecommons.org/licenses/by-nc-nd/4.0/) 协议进行授权。 +我们欢迎所有的贡献,你可以将任何想法作为 pull requests 或 GitHub issues 提交,顺颂商祺 :) diff --git a/assets/js/kratos.js b/assets/js/kratos.js index f5d2aa8..f2761ff 100644 --- a/assets/js/kratos.js +++ b/assets/js/kratos.js @@ -5,7 +5,7 @@ ;(function () { 'use strict' - var KRATOS_VERSION = '4.0.2' + var KRATOS_VERSION = '4.1.0' var navbarConfig = function () { $('#navbutton').on('click', function () { diff --git a/functions.php b/functions.php index 46e9d86..c52ed1e 100644 --- a/functions.php +++ b/functions.php @@ -4,10 +4,10 @@ * 模板函数 * @author Seaton Jiang * @license GPL-3.0 License - * @version 2022.01.26 + * @version 2022.01.28 */ -define('THEME_VERSION', '4.0.3'); +define('THEME_VERSION', '4.1.0'); // 主题配置 require get_template_directory() . '/inc/codestar-framework/autoload.php'; diff --git a/inc/theme-options.php b/inc/theme-options.php index 484390a..5623f8b 100644 --- a/inc/theme-options.php +++ b/inc/theme-options.php @@ -1122,7 +1122,7 @@ CSF::createSection($prefix, array( ), array( 'type' => 'content', - 'content' => '', + 'content' => '', ), array( 'type' => 'subheading', @@ -1138,7 +1138,7 @@ CSF::createSection($prefix, array( ), array( 'type' => 'content', - 'content' => '
', + 'content' => '
', ), array( 'type' => 'subheading', @@ -1146,7 +1146,7 @@ CSF::createSection($prefix, array( ), array( 'type' => 'content', - 'content' => '
', + 'content' => '
', ), ), )); diff --git a/inc/update-checker/update.json b/inc/update-checker/update.json deleted file mode 100644 index a3a14c0..0000000 --- a/inc/update-checker/update.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "4.0.3", - "details_url": "https://github.com/seatonjiang/kratos/releases/tag/v4.0.3", - "download_url": "https://mirrors.seatonjiang.com/kratos/v4.0.3.zip" -} diff --git a/style.css b/style.css index 12e17c0..857b264 100644 --- a/style.css +++ b/style.css @@ -2,8 +2,8 @@ /* Theme Name: Kratos Text Domain: kratos -Version: 4.0.3 -Requires PHP: 7.2.5 +Version: 4.1.0 +Requires PHP: 7.4 Description: 主题提供了多种针对自媒体博客需求的侧栏工具,删繁就简专注于用户的阅读体验,优化的邮件中心为你的网站留存加分添彩。 Tags: 博客, 双栏, 响应式, 自定义背景, 自定义颜色, 自定义图标, 自定义菜单, 特色图像, 收录优化, 邮件中心, 主题选项, 小工具, 文章置顶, 无障碍友好 Author: Seaton Jiang