I was lucky enough to find your post really quickly and literally saved my day as I managed to fix my problem instantly as soon as I uploaded this code snipet in my functions.php file. Thanks, you're a star :)