The result of code 1
======== Start debugging the events variable ================ End debugging the events variable ================ Start debugging the events date ================ End debugging the events date ========
I put the debug code at the end of the php file before
<?php wp_reset_postdata(); ?>
Debug code 2