I\'m editing this loop because sometimes the first loop doesn\'t have any posts and therefore the html isn\'t needed. I replaced the if statements but after the change the page