Wordpress loop: sorting posts on the term?

In General you want when displaying custom posts to make a sort by terms in the cycle to first in were the posts from one term and then another. After thoroughly digging on the Internet about this, I realized that there is no wp api that possibility and will have to write the query manually, like $wpdb->query.

The problem is that I can't do the query to write, I know cql basic things, and when I looked in the options for queries that stunned...

Maybe there are some generators or something in this spirit will not prompt?
June 10th 19 at 15:17
0 answer

Find more questions by tags WordPress