mirror of https://github.com/vtrois/kratos
fix: spelling errors (#247)
parent
b4745e3e67
commit
92f57c7404
|
@ -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(
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue