Skip to content

Commit

Permalink
0.54
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Oct 17, 2019
1 parent 1fdcf96 commit 66d2397
Show file tree
Hide file tree
Showing 7 changed files with 370 additions and 312 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ Argon - 一个轻盈、简洁、美观的 WordPress 主题

# 更新日志

## 20191017 v0.54
+ 修改手机端侧栏效果
+ 合并 CSS 文件
+ 细节微调
+ 修改加密博客阅读量统计逻辑

## 20191014 v0.53
+ 增加赞赏二维码选项
+ 增加视频短代码
Expand Down
3 changes: 3 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ function get_post_views($post_id){
echo number_format_i18n($count);
}
function set_post_views(){
if (post_password_required($post_id)){
return;
}
global $post;
$post_id = $post -> ID;
$count_key = 'views';
Expand Down
2 changes: 0 additions & 2 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
<link href="<?php bloginfo('template_url'); ?>/assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link type="text/css" href="<?php bloginfo('template_url'); ?>/assets/css/argon.min.css" rel="stylesheet">
<link href="<?php bloginfo('template_url'); ?>/style.css" type='text/css' media='all' rel='stylesheet'>
<link href="<?php bloginfo('template_url'); ?>/style_dark.css" type='text/css' media='all' rel='stylesheet'>
<link href="<?php bloginfo('template_url'); ?>/style_mobile.css" type='text/css' media='all' rel='stylesheet'>
<script src="<?php bloginfo('template_url'); ?>/assets/vendor/jquery/jquery.min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/vendor/bootstrap/bootstrap.min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/vendor/popper/popper.min.js"></script>
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.53",
"version" : "0.54",
"details_url" : "https://github.com/abc2237512422/argon-theme/releases",
"download_url" : "https://github.com/abc2237512422/argon-theme/releases/download/v0.53/argon.zip"
"download_url" : "https://github.com/abc2237512422/argon-theme/releases/download/v0.54/argon.zip"
}
Loading

0 comments on commit 66d2397

Please sign in to comment.