If I tell you no stupidity you add it in function.php
add_theme_support( 'job-manager-templates' );
function dm_display_wpjm_categories () {
$terms = get_terms( array(
'taxonomy' => 'job_listing_category',
'hide_empty' => false,
) );
if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){
echo '<ul>';
foreach ( $terms as $term ) {
echo '<li>' . '<a href="' . esc_url( get_term_link( $term ) ) . '">' . $term->name . '</a></li>';
}
echo '</ul>';
}
}
add_shortcode('list_categories', 'dm_display_wpjm_categories');
Et ca dans ta page
<?php echo do_shortcode('[list_categories]'); ?>
It’s been a long time since I put my nose back in it but hey …
Sorry for the English google translation.