diff --git a/single.php b/single.php index cfa35bb..9fa5b96 100644 --- a/single.php +++ b/single.php @@ -1,9 +1,10 @@ * @license MIT License - * @version 2021.07.01 + * @version 2021.08.19 */ get_header(); @@ -17,12 +18,13 @@ $select_col = $col_array[kratos_option('g_article_widgets', 'two_side')];
- +

- - - ID, 'love', true)) { echo get_post_meta($post->ID, 'love', true); } else {echo '0'; } _e('人点赞', 'kratos'); ?> - - '; edit_post_link(__('编辑文章', 'kratos')); echo ''; }; ?> + + + ID, 'love', true)) { + echo get_post_meta($post->ID, 'love', true); + } else { + echo '0'; + } + _e('人点赞', 'kratos'); ?> + + '; + edit_post_link(__('编辑文章', 'kratos')); + echo ''; + }; ?>
'; + if (kratos_option('s_singletop', false)) { + if (kratos_option('s_singletop_url')) { + echo ''; } - echo ''; - if(kratos_option('s_singletop_links')){ + echo ''; + if (kratos_option('s_singletop_url')) { echo ''; } } @@ -81,8 +94,8 @@ $select_col = $col_array[kratos_option('g_article_widgets', 'two_side')]; 'before' => '', 'after' => '', 'next_or_number' => 'number', - 'link_before' =>'', - 'link_after'=>'' + 'link_before' => '', + 'link_after' => '' ) ); wp_link_pages( @@ -94,18 +107,18 @@ $select_col = $col_array[kratos_option('g_article_widgets', 'two_side')]; 'nextpagelink' => __('下一页', 'kratos') ) ); - if(kratos_option('s_singledown',false)){ - if(kratos_option('s_singledown_links')){ - echo ''; + if (kratos_option('s_singledown', false)) { + if (kratos_option('s_singledown_url')) { + echo ''; } - echo ''; - if(kratos_option('s_singledown_links')){ + echo ''; + if (kratos_option('s_singledown_url')) { echo ''; } } ?>
- __('知识共享署名 4.0 国际许可协议', 'kratos'), 'two' => __('知识共享署名-非商业性使用 4.0 国际许可协议', 'kratos'), @@ -116,16 +129,20 @@ $select_col = $col_array[kratos_option('g_article_widgets', 'two_side')]; ); $select_cc = $cc_array[kratos_option('g_cc', 'one')]; echo ''; } ?>
@@ -134,20 +151,20 @@ $select_col = $col_array[kratos_option('g_article_widgets', 'two_side')];
'; + if (!empty($prev_post)) { + echo ''; } $next_post = get_next_post(TRUE); - if(!empty($next_post)){ - echo ''; - }?> + if (!empty($next_post)) { + echo ''; + } ?>
- - + +