Wow Stefan, you’re a hero!
I removed the piece of code from the theme’s functions.php and the slider worked on the front page!
When I looked at that piece of code I figured it might have something to do with the theme’s option to open images in a lightbox.
I’ve put back the piece of code to functions.php and unchecked the option to open images in a lightbox……… voilá: slider appeared again!
Still don’t know why it is only causing this problem on the frontpage, but honestly I don’t care. I’m now using a plugin for opening images in a lightbox and it doesn’t mess up the slider!
Why oh why am I so stubborn to spend houres trying to solve the problem myself instead of posting a thread here…….
Thanks for the quick solve!
Roel