working on a scholar journal in which publisher add issues to the "issue" taxonomy assigned with articles. i need to display outside the loop a list of posts assigned only with the last issue (recently added). any help please?
update: i found a code to get the last term from a taxonomy:
$issue = get_terms('issue','orderby=none&order=DESC&number=1');
$current_issue = $issue[0]->slug;
But i couldn't find a way to use it to display a list of posts assigned only with that last term. any suggestions please?
WP_Query
with atax_query
to query posts from the returned term – Pieter Goosen Jul 29 '15 at 13:18