I have a simple query set up to get posts from a custom post type. As soon as I turn ‘Frontend Rendering’ on, a number of issues occur, only on the front end:
A Cwicly ‘Video’ block, which is set to source ‘Dynamic’, ‘ACF’ and ‘Current Post’, renders an empty div. When the source is set to ‘Static’, i.e. the same video for all posts, it renders fine.
The standard Gutenberg ‘Date’ block is not generating any HTML code on the front end at all.
When adding a ‘Date’ block inside a ‘Div’ block, the query stops returning posts and the console shows the following error: “Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘taxonomyterms’)” in BlockMaker-Ya5typht.js
I just noticed a new issue, which might be a bug, or a limitation of front end rendering.
I am showing the terms for each post using a Taxonomy Terms block. To be able to set a different background color for each term, I have added a static attribute named ‘style’, which gets an ACF colorpicker value and uses this as background-color. The attribute value looks like this: background-color:{acffield=pkl_story_type_color=taxterm}
This works great, but stops working when I turn frontend rendering on. I did enable the REST API for that ACF field group as well.
Any ideas?