Doesn’t work with Full Site Editing templates
-
Hi – given the shift to Full Site Editing the limited nature of blocks means that having something like this with FSE would be ace.
Problem is – this plugin doesn’t seem to work with FSE?
I have tried it on my production site which uses a TwentyEleven child theme, and local site with a TwentyTwentyThree child theme within a post – it shows Custom HTML and Paragraph blocks correctly with Block Logic
(I am using a conditional on the author name) –get_the_author_meta('user_nicename') == "X
” –get_the_author () == "X"
also works btw).But as soon as I try to do a conditional with a block in a FSE template, nothing shows. I’ve checked using an Insert PHP Shortcode plugin with:
<?php echo get_the_author(); echo get_the_author_meta('user_nicename') ?>
Both show the result correctly on the page, returning the author name, so I am guessing access to the author WP hook is still working within FSE.
Can’t see why it shouldn’t work if those conditionals work in PHP.
Any idea why?
- The topic ‘Doesn’t work with Full Site Editing templates’ is closed to new replies.