mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 12:36:23 +05:30
Update functions.php
This commit is contained in:
parent
0e89787ea2
commit
5eebca5574
1 changed files with 2 additions and 2 deletions
|
|
@ -1522,7 +1522,7 @@ EOF;
|
|||
echo '</li>';
|
||||
echo '</ul>';
|
||||
}
|
||||
} elseif ($custom == 'month-year') {
|
||||
} elseif ($custom === 'month-year') {
|
||||
foreach ($by_year as $year => $months) {
|
||||
$by_month = array_count_values($months);
|
||||
# Sort the months
|
||||
|
|
@ -1532,7 +1532,7 @@ EOF;
|
|||
echo '<li class="item"><a href="' . site_url() . 'archive/' . $year . '-' . $month . '">' . $name . ' ' . $year .'</a> ('.$count.')</li>';
|
||||
}
|
||||
}
|
||||
} elseif ($custom == 'year') {
|
||||
} elseif ($custom === 'year') {
|
||||
foreach ($by_year as $year => $months) {
|
||||
$by_month = array_count_values($months);
|
||||
# Sort the months
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue