Howdy Michael,
We have a snippet that does this. It seems to be working just fine but for some users it is generating an error. If you don’t have errors set to show you won’t see the error and you should be fine. In spite of the error though it works!
https://gist.github.com/elimn/d90f9a4b1900b0fe4d50eca9f5e0921c
Paste that snippet at the top of your theme’s functions.php file. Replace the opening “<?php” with this snippet, as this snippet includes that opening tag.
I am still digging in to figure out why there is an error at all. But until then I suggest running this snippet with WP_DEBUG set to false.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook