diff --git a/inc/theme-options.php b/inc/theme-options.php index 56044b7..e955357 100644 --- a/inc/theme-options.php +++ b/inc/theme-options.php @@ -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( diff --git a/single.php b/single.php index ae5f4b5..b9594ee 100644 --- a/single.php +++ b/single.php @@ -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')]; ?>
@@ -146,7 +146,7 @@ $select_col = $col_array[kratos_option('g_article_wodgets', 'two_side')];
- +