Opened 20 months ago
Last modified 20 months ago
#54985 new enhancement
Twenty Twenty-Two: Add viewport meta
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | critical | Version: | 5.9 |
Component: | Bundled Theme | Keywords: | needs-design reporter-feedback |
Focuses: | Cc: |
Description
Hello,
I am a WordPress developer and I developed many sites and custom plugins and themes.
We found that in your latest theme which is "Twenty Twenty-Two", you don't use a responsive port which is cause issues in the plugin's front-end design so, I request you please add below meta port which is perfect for all plugins and other plugins.
Because we need to add manually in our plugin with the 'wp_head' hook I hope you will add meta port.
Meta Port:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Thank you.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi @divyeshsapariya35, welcome to Trac!
I can't seem to reproduce this on my local system, and on a remote server.
On both systems, Twenty Twenty-Two loads with the following viewport meta tag:
I have tested with Twenty Twenty-Two bundled with 5.9, as well as installing Twenty Twenty-Two from wp.org.
locate_block_template()
Docs should be hooking_block_template_viewport_meta_tag()
Docs intowp_head
for block themes.Is the meta viewport tag missing for you on all frontend pages, or just on certain types of pages?
Any extra information you can provide will be really helpful.