fix: article HOT tag function

pull/409/head^2
Seaton Jiang 2021-08-20 12:58:26 +08:00
parent 27b0cc0a0e
commit 8199bd7fbd
No known key found for this signature in database
GPG Key ID: 0E05070D261ACFEA
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@
?>
<div class="article-panel">
<span class="a-card d-none d-md-block d-lg-block">
<?php $article_comment = kratos_option('g_article_comment', '20');
$article_love = kratos_option('g_article_love', '200');
<?php $article_comment = kratos_option('g_article_comment', '20', 'g_article_fieldset');
$article_love = kratos_option('g_article_love', '200', 'g_article_fieldset');
if (is_sticky()) { ?>
<i class="kicon i-card-top"></i>
<?php } elseif (findSinglecomments($post->ID) >= $article_comment || get_post_meta($post->ID, 'love', true) >= $article_love) { ?>