Ciao a tutti, dovrei filtrare una query per non estrarre post che abbiano un certo id.
Ho trovato nella documentazione come escludere id categoria ma non id del post.
NB
non devo escludere dal loop ma dalla query perche’ il numero di risulati saraà semrpe quello.
In pratica ho i post classici piu’ altri post ma che hanno dei meta_data aggiunti da me e con questi posso differenziarli.
L’idea sarebbe quella di fare una query su wp_postmeta basandomi su un campo aggiuntivo e da li estrarre gli id cosଠd’avere la lista da escludere nella query finale.
Ringrazio per eventuali suggerimenti.