Thank you for the reply.
I have tried adding this from the second link:
<?php
$count_posts = wp_count_posts();
?>
To a PHP file in wp-content/themes/my-child-theme/file.php
but nothing is showing up.
Any ideas why this would be?
Is file.php a template file that you are sure is loaded from another template? Or is it just code included from functions.php or similar? It must be one or the other or else the file will be ignored.
Assuming it’s a template file, try this:
<?php
wp_list_categories(['show_count'=> true,]);
?>
Thank you that worked 🙂
I will need to tweak it as it was actually the categories of WP-Job Manager I was trying to pull through which I thought used the normal categories.
Thanks
Determine the taxonomy slug for the job manager categories, then add something like
'taxonomy'=>'taxonomy-slug', within the [] array brackets.