7 февр. 2019 г. - I was also facing same issue and did a lot of research and testing. Here the solution for it. Place the below code in your function.php file..