Viewing 1 replies (of 1 total)
  • Thread Starter Nicholas Chen

    (@nicdesign)

    sorry. here is correct code:

    <ul>
        <?php
            $job_categories = wpjb_form_get_categories();
            foreach ($job_categories as $cat) :
        ?>
        <li><a href="/jobs/find/?query=&category=<?php echo $cat['value']; ?>"><?php selected($cat['value'], $param["category"]); ?><?php echo $cat['description']; ?></a></li>
        <?php endforeach; ?>
    </ul>
Viewing 1 replies (of 1 total)

The topic ‘display only first 10 categories’ is closed to new replies.