Adding magnific-popup functionality to theme