Can we get a toggle to output a lazyblock without the wrapper-div?
-
I have a few things that i have to create with lazy blocks. Like individual slider elements. These slider elements dont work anymore if they are automatically wrapped in a div by lazyblock.
So what i found here is the solution to at this line to the functions.php:
add_filter( ‘lazyblock/slider-item/frontend_allow_wrapper’, ‘__return_false’ );
So that this specific lazyblock wont get wrapped. So far so good.
But cant we get this option inside of the UI without having to manually add this to the functions.php ? Please ? Where can i propose this a feature for future versions ?
My dev has to comit these functions.php changes via github in our situation and its really complicated for something that might ne useful for more people with a little toggle inside the lazyblock settings for example.
Thanks for considering!
- You must be logged in to reply to this topic.