Pagination with get_categories
-
Hi there, I am trying to put a list of categories onto a page. I am using get_categories. However, I would like to implement pagination onto this page and I have no idea how to. Could anyone please shed some lights? Thank you for your help.
My code below:
$categories= get_categories('orderby=cat_ID&order=desc'); foreach ($categories as $category) { $issueList = get_category_link( $category->term_id ); $issueList .= '<b>'.$category->cat_name.'</b><br />'; $issueList .= $category->category_description; echo $issueList ; }
- The topic ‘Pagination with get_categories’ is closed to new replies.