Update theme

This commit is contained in:
danpros 2025-11-02 10:42:44 +07:00
commit 6c5a2f8b42
12 changed files with 67 additions and 10 deletions

View file

@ -58,7 +58,7 @@
</aside>
<?php endif;?>
<?php if (config('views.counter') === 'true') :?>
<?php if (theme_config('popular_posts')) :?>
<aside class="widget widget_meta">
<h2 class="widget-title"><?php echo i18n("Popular_posts");?></h2>
<?php echo popular_posts() ?>

View file

@ -12,6 +12,13 @@
"value": "",
"info": "Enable Recent Posts widget"
},
{
"type": "checkbox",
"name": "popular_posts",
"label": "Popular Posts",
"value": "",
"info": "Enable Popular Posts widget. The views counter need to be enabled first."
},
{
"type": "checkbox",
"name": "archive",