mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 03:26:20 +05:30
Finalizing the category
This commit is contained in:
parent
881aa37dcf
commit
310b63e606
1 changed files with 4 additions and 0 deletions
|
|
@ -453,6 +453,10 @@ function get_category($category, $page, $perpage)
|
|||
$posts = get_post_sorted();
|
||||
|
||||
$tmp = array();
|
||||
|
||||
if (empty($perpage)) {
|
||||
$perpage = 10;
|
||||
}
|
||||
|
||||
foreach ($posts as $index => $v) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue