Skip to content

Commit

Permalink
0.999.beta.7
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Aug 19, 2020
1 parent efb484c commit 10297c6
Show file tree
Hide file tree
Showing 7 changed files with 481 additions and 422 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ Argon 使用 [GPL V3.0](https://github.com/solstice23/argon-theme/blob/master/LI

# 更新日志

## 20200819 v0.999.beta.7
+ 修复 WP Super Cache 和 Argon 不兼容的问题
+ 优化左侧栏 "功能" Tab 样式
+ 增加推荐相似文章数量选项

## 20200819 v0.999.beta.6
+ 移除 V2EX Gravatar CDN 选项
+ 增加自定义 Gravatar CDN 选项
Expand Down
10 changes: 9 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2963,6 +2963,13 @@ function themeoptions_page(){
<p class="description"></p>
</td>
</tr>
<tr>
<th><label><?php _e('推荐文章数', 'argon');?></label></th>
<td>
<input type="number" name="argon_related_post_limit" min="1" max="100" value="<?php echo get_option('argon_related_post_limit' , '10'); ?>"/>
<p class="description"><?php _e('最多推荐多少篇文章', 'argon');?></p>
</td>
</tr>
<tr><th class="subtitle"><h3><?php _e('其他', 'argon');?></h3></th></tr>
<tr>
<th><label><?php _e('文章过时信息显示', 'argon');?></label></th>
Expand Down Expand Up @@ -3487,7 +3494,7 @@ function themeoptions_page(){
<th><label>Gravatar CDN</label></th>
<td>
<input type="text" class="regular-text" name="argon_gravatar_cdn" value="<?php echo get_option('argon_gravatar_cdn' , ''); ?>"/>
<p class="description"><?php _e('使用 CDN 来加速 Gravatar 在某些地区的访问,填写 CDN 地址,留空则不使用。', 'argon');?></br><?php _e('在中国速度较快的一些 CDN :', 'argon');?><code onclick="$('input[name=\'argon_gravatar_cdn\']').val(this.innerText);" style="cursor: pointer;">gravatar.loli.net/avatar/</code> , <code onclick="$('input[name=\'argon_gravatar_cdn\']').val(this.innerText);" style="cursor: pointer;">cdn.v2ex.com/gravatar/</code></p>
<p class="description"><?php _e('使用 CDN 来加速 Gravatar 在某些地区的访问,填写 CDN 地址,留空则不使用。', 'argon');?></br><?php _e('在中国速度较快的一些 CDN :', 'argon');?><code onclick="$('input[name=\'argon_gravatar_cdn\']').val(this.innerText);" style="cursor: pointer;">gravatar.loli.net/avatar/</code> , <code onclick="$('input[name=\'argon_gravatar_cdn\']').val(this.innerText);" style="cursor: pointer;">cdn.v2ex.com/gravatar/</code> , <code onclick="$('input[name=\'argon_gravatar_cdn\']').val(this.innerText);" style="cursor: pointer;">dn-qiniu-avatar.qbox.me/avatar/</code></p>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -3904,6 +3911,7 @@ function argon_update_themeoptions(){
argon_update_option('argon_related_post');
argon_update_option('argon_related_post_sort_orderby');
argon_update_option('argon_related_post_sort_order');
argon_update_option('argon_related_post_limit');

//LazyLoad 相关
argon_update_option('argon_enable_lazyload');
Expand Down
4 changes: 2 additions & 2 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version" : "0.999.beta.6",
"version" : "0.999.beta.7",
"details_url" : "https://github.com/solstice23/argon-theme/releases",
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.999.beta.6/argon.zip"
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.999.beta.7/argon.zip"
}
Binary file modified languages/en_US.mo
Binary file not shown.
Loading

0 comments on commit 10297c6

Please sign in to comment.