Problem: I am building a View inside a Content Template using the Block Editor. The View should show information from a related post type, but the View shows "no results found" and I cannot select related post information in dynamic sources for a Single Field Block.
Solution: Use the "View with" menu at the top of the page to select a different preview post. Select a post that has related content for best results.
Problem:
The user is using the same archive template for the custom post type and certain taxonomies. He uses two views he would like to use inside of the archive template and display one of them for post type archive page and the other for the taxonomy archive pages.
Solution:
This can be implemented using the Conditional block, but you will need to create, and register, a custom function to be used inside the conditional block. Check the article below
The function can use WordPress core functions to check if the current page is the post type archive or the taxonomy archive.
Problem:
The user is using a lazy loading plugin to optimize the loading of images, he needs to add a specific class to the tag generated by the Image block.
The classes added to the image block settings are added in the
tag that wraps the tag.
Solution:
We can work around this using custom code: