fix: spelling errors (#247)

pull/287/head
Seaton Jiang 2020-07-06 14:46:20 +08:00
parent b4745e3e67
commit 92f57c7404
2 changed files with 3 additions and 3 deletions

View File

@ -349,7 +349,7 @@ function kratos_options()
$options[] = array(
'name' => __('页面布局', 'kratos'),
'desc' => __('是否显示侧边栏小工具(默认显示侧边栏),仅在文章页面生效', 'kratos'),
'id' => "g_article_wodgets",
'id' => "g_article_widgets",
'std' => "two_side",
'type' => "images",
'options' => array(

View File

@ -11,7 +11,7 @@ $col_array = array(
'one_side' => 'col-lg-12',
'two_side' => 'col-lg-8'
);
$select_col = $col_array[kratos_option('g_article_wodgets', 'two_side')];
$select_col = $col_array[kratos_option('g_article_widgets', 'two_side')];
?>
<div class="k-main <?php echo kratos_option('top_select', 'banner'); ?>" style="background:<?php echo kratos_option('g_background', '#f5f5f5'); ?>">
<div class="container">
@ -146,7 +146,7 @@ $select_col = $col_array[kratos_option('g_article_wodgets', 'two_side')];
</nav>
<?php comments_template(); ?>
</div>
<?php if (kratos_option('g_article_wodgets', 'two_side') == 'two_side'){ ?>
<?php if (kratos_option('g_article_widgets', 'two_side') == 'two_side'){ ?>
<div class="col-lg-4 sidebar d-none d-lg-block">
<?php dynamic_sidebar('sidebar_tool'); ?>
</div>