display only first 10 categories
-
i’m trying to display only the first 10 categories (categories not posts). my code currently displays all categories. can someone tell me how to modify this so it limits it to the only the first 10? also how to get the next ten after that?
-
<?php
- “><?php selected($cat[‘value’], $param[“category”]); ?><?php echo $cat[‘description’]; ?>
$job_categories = wpjb_form_get_categories();
foreach ($job_categories as $cat) :
?><?php endforeach; ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘display only first 10 categories’ is closed to new replies.