最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

thumbnails - Wp-query and column blocks

programmeradmin2浏览0评论

Maybe this is asking too much, but the new blocks give a simple way to add columns that work well responsively. ie you can just drop image thumbs into column blocks and they work perfectly on mobile and desktop alike.

Is there a way I can get WP-query to output the_post_thumbnail as described by my arguments (12 published posts of category x) inside 3 column rows?

Maybe this is asking too much, but the new blocks give a simple way to add columns that work well responsively. ie you can just drop image thumbs into column blocks and they work perfectly on mobile and desktop alike.

Is there a way I can get WP-query to output the_post_thumbnail as described by my arguments (12 published posts of category x) inside 3 column rows?

Share Improve this question edited May 14, 2019 at 19:34 cjbj 15k16 gold badges42 silver badges89 bronze badges asked May 14, 2019 at 18:57 Richard HRichard H 31 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

The new block editor gives lots of possibilities to arrange information inside one post. What you are asking for is the arrangement of multiple posts. That's not a task for the block editor but for the theme.

So, for your question: it depends on the theme whether this is possible. If you are designing your own theme, it is a matter of applying the right css to the post containers. This is a matter of your html/css skills, so it is not WordPress specific and hence outside the scope of this site. You may want to take a look at flexbox, though.

发布评论

评论列表(0)

  1. 暂无评论