Replies: 0
Hi,
I have a problem with query_posts() with taxonomy.
I have Custom Post ‘koncerty’. I create taxonomy for this custom post:
– miejsce //means PLACE
– datakoncertu //means date od event format ex. 2017-01-01
– adres // means address
– godzina // measn hour of event
I put on my template query like:
query_posts(array(
'post_type' => 'koncerty',
'tax_name' => 'datakoncertu',
'orderby' => 'tax',
'ordertax' => 'DESC',
)
);
Posts are displayed by not order by taxonomy.
Could you tell me how can I create query to show posts from post type “koncerty” and sort by taxonomy “datakoncertu” (it’s date od event)??
Thank You