I'm building a custom Wordpress theme and would like to add a manifest.json file so I can utilise the ​​"orientation": "portrait-primary" that you can use with PWAs to lock the orientation on mobile to portrait.

Is it possible to add a manifest.json file to a Wordpress theme? Placing it in the root of the theme doesn't seem to work?

Thanks in advance

  • Why not just try it and then you can tell us? :) – kero Oct 16 '19 at 16:00
  • @kero I did. It didn't work. Hence my question. – The Chewy Oct 16 '19 at 16:47

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.