I try echo on any page (I mean page on my site) all post IDs what I have in my taxonomy.
I found this:
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.