Changes between Initial Version and Version 1 of Ticket #54829, comment 2
- Timestamp:
- 01/15/2022 11:11:38 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54829, comment 2
initial v1 4 4 5 5 Yes, you're absolutely right! 6 We have Classic theme but want to add an option to our users to use new WP5.9 full site editor feature if they want to use it - without changing the ytheme.6 We have Classic theme but want to add an option to our users to use new WP5.9 full site editor feature if they want to use it - without changing their theme. 7 7 8 8 But as I mentioned earlier, currently even if `WP_Theme::is_block_theme()` is returning `false` - front end is using HTML block templates from `templates` and `parts` folders. So we need to add filter on the `theme_root` hook to return some dummy path - this is the only way that I could change this behavior if `templates` and `parts` folders exists.