0

I'm using the Wordpress jetpack plugin to create a gallery on a WP site. However I want to disable it completely based on the visitors viewport, how can I achieve this?

  • doesn't really sound feasible, since jetpack is loading server-side which loads first and mobile viewport is client-side which loads after... so you can't retroactively unload all of jetpack... that said you might be able to unload it's stylesheets or javascript using javascript, but it might be easier to find a gallery plugin that can handle mobile the way you want. – majick Jun 14 '17 at 17:12
  • you want to disable jetpack or this gallery output? – hwl Jun 15 '17 at 4:23
  • @hwl I'd like disable to gallery output at a certain viewport. – Grant Ab Jun 15 '17 at 9:58
  • @majick Thanks for the comment, thinking the same. – Grant Ab Jun 15 '17 at 9:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.