How to use synced patterns (reusable blocks) with wp_is_mobile
-
To improve the navigation for mobile, I have defined different reusable blocks for desktop and mobile. On desktop, a list of posts is displayed directly, while the same list for mobile is located in an accordion. The reusable blocks are controlled via hide-on-desktop / hide-on-mobile but this loads the lists twice.
I would therefore like to use a wp_is_mobile filter, but I don’t know how the reusable blocks are addressed.The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to use synced patterns (reusable blocks) with wp_is_mobile’ is closed to new replies.