Skip to content

Commit

Permalink
0.924
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Apr 2, 2020
1 parent 4fed4df commit 717957f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ Argon 使用 [GPL V3.0](https://github.com/solstice23/argon-theme/blob/master/LI

# 更新日志

## 20200403 v0.924
+ 修复顶栏菜单 "在新标签页打开" 选项不生效的 BUG

## 20200401 v0.923
+ ~~本次更新没有新增任何东西,只更新了版本号~~
+ 修复设置顶栏图标后手机端排版的问题

## 20200331 v0.922
Expand Down
9 changes: 4 additions & 5 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,22 +258,21 @@ public function start_el( &$output, $object, $depth = 0, $args = array(), $curre
if ($depth == 0){
if ($args -> walker -> has_children == 1){
$output .= "\n
<li class='nav-item dropdown' onclick='return false;'>
<a href='" . $object -> url . "' class='nav-link' data-toggle='dropdown' no-pjax onclick='return false;'>
<li class='nav-item dropdown'>
<a href='" . $object -> url . "' class='nav-link' data-toggle='dropdown' no-pjax onclick='return false;' title='" . $object -> description . "'>
<i class='ni ni-book-bookmark d-lg-none'></i>
<span class='nav-link-inner--text'>" . $object -> title . "</span>
</a>";
}else{
$output .= "\n
<li class='nav-item'>
<a href='" . $object -> url . "' class='nav-link'>
<a href='" . $object -> url . "' class='nav-link' target='" . $object -> target . "' title='" . $object -> description . "'>
<i class='ni ni-book-bookmark d-lg-none'></i>
<span class='nav-link-inner--text'>" . $object -> title . "</span>
</a>";
}

}else if ($depth == 1){
$output .= "<a href=" . $object -> url . " class='dropdown-item'>" . $object -> title . "</a>";
$output .= "<a href=" . $object -> url . " class='dropdown-item' target='" . $object -> target . "' title='" . $object -> description . "'>" . $object -> title . "</a>";
}
}
public function end_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {
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.923",
"version" : "0.924",
"details_url" : "https://github.com/solstice23/argon-theme/releases",
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.923/argon.zip"
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.924/argon.zip"
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: argon
Author: solstice23
Author URI: https://solstice23.top/
Description: 轻盈、简洁、美观的 Wordpress 主题
Version: 0.923
Version: 0.924
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义
Expand Down

0 comments on commit 717957f

Please sign in to comment.