So here is my query:
$args = array(
'post_type' => 'Event',
'posts_per_page' => 1000,
'meta_key' => 'event_informations_show_on_the_homepage',
'meta_value' => 'Show on the homepage',
'meta_compare' => '==',
'meta_key' => 'event_informations_date',
'orderby' => 'meta_value_num',
'order' => 'ASC'
);
$loop = new WP_Query( $args );
I want to select all posts that have the Custom field event_informations_show_on_the_homepage and the value of the Custom field event_informations_show_on_the_homepage and order by the date Custom field which is stored as a timestamp and is called event_informations_date.
What am I doing wrong?