Comparisson between date() and a date from wp_postmeta
In the meta_query arguments, try changing your ‘type’ => ‘CHAR’, to ‘type’ => ‘DATETIME’, You can opt for any one of these, depending your needs: type (string) – Custom field type. Possible values are ‘NUMERIC’, ‘BINARY’, ‘CHAR’, ‘DATE’, ‘DATETIME’, ‘DECIMAL’, ‘SIGNED’, ‘TIME’, ‘UNSIGNED’. Default value is ‘CHAR’. But wait! There’s more! 😉 It seems that … Read more