Problem: I have set my map initial zoom level to center and zoom in to show all the markers, but when I display the map the initial zoom level is zoomed out showing the entire global map.
Solution: In this case the map is not displayed when the page is loaded, so the initial zoom level calculations are inaccurate. You must trigger a map reload function when the map is displayed to calculate the initial zoom level correctly. The correct function to call is:
WPViews.view_addon_maps.reload_map("map-id");
Place that code after the code used to turn on the map display, and replace map-id with the ID of your map.
Solution:
we are aware of the upcoming FSE capabilities that will start to get included in WordPress 5.8.
The whole idea behind FSE is that the layout of a site should be editable without the need to compose custom themes. However, there are some key differences between what FSE will provide and what Toolset provides.
As a starter, single posts templates in FSE behave pretty much as theme templates: one template to rule all posts of a given type. Toolset gives much more control on which template should be used for each post. In addition, Toolset provides Dynamic Sources, which ensure that blocks used in a template will produce the right content for every post using the template; the mechanism to load dynamic content in templates crated with FSE is not clear yet. Finally, archives created with Toolset offer total freedom for layout and content design, while the new Query block for FSE is still too narrow in capabilities and options.
Problem: I have a custom post type and a repeatable field group (RFG) in that custom post type. I would like to create a list of all the custom posts and in that list show a list of the RFGs associated with that post.
Solution: This requires a nested View structure. Since it is not possible to create a nested View in Blocks, you must use the legacy Views editor. The process is outlined in another ticket.
Problem: I have a custom image field and I would like to display a default image if the field has no value.
Solution: Use a series of conditional blocks to display a default image if the field is empty or display the custom field image if the field has some value.