material-components / material-design-for-wordpress

Material Design plugin for WordPress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add image card and material card with pattern for non FSE

igruszkauy opened this issue · comments

Feature description

Add image card and material card with pattern support for non FSE to replicate the FSE blocks for query loop

image
image


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • Image card and material card are available in the editor inside Pattern list
  • User can add image card and material card into a page or post

Implementation brief

QA testing instructions

Demo

Changelog entry

With query loop, we may also need to pull a material pagination blocks from FSE.

Ported pagination as well from full-site-editing branch, added condition check such that this block only gets registered if user is using WP 5.8+ since query loop was added in 5.8.

Should we also port masonry layout for query loop? @igruszkauy

Added masonry layout as well with query loop.

Looks good to me. Masonry working as expected. Changed number of words and number of columns to be displayed, ordered posts, content layout (text over media, etc.), elevation style, etc...

Looks good to me as well