In my blog (multi authors) I have posts and a custom post type named (listing_type).
In the site an author can have only 1 listing and many blog posts, and I need to find the listing url published by that author.
single-listing.php lists all blog posts (post) by the author
each blog post must contain a link to the listing (listing_type) published by the same author.
The main problem is that the listing url varies and I don't have a clue on how can I do this, any help?