• Resolved wwccscorer

    (@wwccscorer)


    I have created a query loop block variation to allow me to sort and filter by non-standard fields. In WP 6.2 I had a control to allow me to select list (by default) or grid views (the one I normally need) of the returned posts/fields.

    In WP 6.3 these controls are no longer there and I can only use the ‘replace’ control to select a different pattern. I understand the reasoning and appreciate the additional choice. However, if I select a different pattern (ie grid) the block reverts to a standard query loop block instead of my variation so that I no longer have the alternative filter and sort options.

    What do I need to do to my block variation to allow it to use the patterns without reverting to a standard query loop block?

Viewing 1 replies (of 1 total)
  • Thread Starter wwccscorer

    (@wwccscorer)

    From https://make.ww.wp.xz.cn/core/2023/07/14/layout-updates-in-the-editor-for-wordpress-6-3/ :-

    Previously, the Post Template block had custom layout styles that allowed for either a “list” or a “grid” (implemented behind the scenes with CSS flex) layout, with controls living in its parent Query block.

    For 6.3, layout and block spacing support have been added to Post Template, and its controls now live in the Post Template toolbar. There is still a choice of “list” and “grid” styles, but “grid” is now implemented with the grid layout type.

    I have now wrapped my query data in a post template block and can choose between list and grid again.

Viewing 1 replies (of 1 total)

The topic ‘Block Variations & Patterns’ is closed to new replies.