diff --git a/README.md b/README.md index 186cdf8..16a89b8 100755 --- a/README.md +++ b/README.md @@ -6,12 +6,17 @@ Farallon is a simple single column wordpress theme with perfect performace and e [中文说明](https://github.com/bigfa/Farallon/blob/develop/README_CN.md) -latest version : `0.5.8` +latest version : `0.5.9` [Simple User Guide(Chinese)](https://fatesinger.com/101971) ## Changelog +### 0.5.9 + +- add discord icon +- add mastodon icon + ### 0.5.8 - update page template header diff --git a/README_CN.md b/README_CN.md index 2d20ec7..381d396 100755 --- a/README_CN.md +++ b/README_CN.md @@ -2,7 +2,7 @@ ![Wordpress 主题 Farallon](https://static.fatesinger.com/2023/06/u1ak8xgmyn9ec24r.png) -最新版本: `0.5.8` +最新版本: `0.5.9` 本主题禁止各种修改作者链接打包重新发布的行为。 @@ -10,6 +10,11 @@ ## 更新日志 +### 0.5.9 + +- 增加 discord 图标 +- 增加长毛象图标 + ### 0.5.8 - 修改页面模版标题 diff --git a/modules/setting.php b/modules/setting.php index 6dff2be..5be7df8 100755 --- a/modules/setting.php +++ b/modules/setting.php @@ -465,6 +465,18 @@ function setting_switch($params) 'label' => __('Github', 'Farallon'), 'description' => __('Github link', 'Farallon') ], + [ + 'type' => 'input', + 'name' => 'discord', + 'label' => __('Discord', 'Farallon'), + 'description' => __('Discord link', 'Farallon') + ], + [ + 'type' => 'input', + 'name' => 'mastodon', + 'label' => __('Mastodon', 'Farallon'), + 'description' => __('Mastodon link', 'Farallon') + ], ] ], [ diff --git a/style.css b/style.css index fdec0a8..3d85881 100755 --- a/style.css +++ b/style.css @@ -4,6 +4,6 @@ Theme URI: https://github.com/bigfa/Farallon Author: bigfa Author URI: https://github.com/bigfa Description: theme 2024 -Version: 0.5.8 +Version: 0.5.9 Tags: Minimalism, Responsive */ diff --git a/template-parts/sns.php b/template-parts/sns.php index fbef732..0c96961 100644 --- a/template-parts/sns.php +++ b/template-parts/sns.php @@ -58,4 +58,18 @@ + +get_setting('discord')) : ?> + + + + + + +get_setting('mastodon')) : ?> + + + + + \ No newline at end of file