I try echo on any page (I mean page on my site) all post IDs what I have in my taxonomy.
I found this:
get a list of posts from Custom Taxonomy
But I could not handle with it.
I want to echo all currently published post IDs what the taxonomy contains.
Name taxonomy = 'agency' Post type = 'job_listing'
<input value="<?php echo $idsTaxonomy"?>
And I would see output example:
420, 16, 5
Somone could help me? Thank you for help.