Linux 软件免费装

Editorial Blocks

开发者 owldraft
更新时间 2026年10月2日 14:22
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

posts news block post grid magazine

下载

1.1.0 1.0.0 1.1.1 1.2.0

详情介绍:

This plugin adds Gutenberg blocks that are useful for blog, magazine, news and any editorial site: post grid, post list, post hero, post group and author list. The plugin adds blocks and nothing else. There is no settings page, no dashboard widget and no onboarding wizard — you add a block, set it up in the sidebar like any core block, and you are done. Blocks Choosing the posts Every block picks its posts the same way: by number, category, tag, author, or an explicit list of post IDs — and each of those can be excluded as well as included. Post Group and Hero can also take their lead story from somewhere else entirely, such as your sticky post or the newest post in one category, and the block will make sure that story does not then repeat further down. Section headings Every block can carry a heading above it — "Latest news", with a "See all" link beside it — set in the block's Heading panel. Leave the text blank, which is how a block starts, and no heading is shown at all. The heading can be aligned left, centre or right, and can have a rule above it, below it, or running along beside the words. Post titles Post Grid and Post List let you set how big a card title is — small, medium, large or huge — and, separately, which heading level it prints as. They are two different questions: the size is how the title looks, the heading level is where it sits in the page's outline. So a small title can still be an h2. Leave the size on Default and the title keeps whatever size your theme gives that heading. Notes Blocks render on the server, so a block always reflects your posts as they are right now — editing or publishing a post updates every block that shows it, with nothing to re-save. It is also the same code that draws the editor preview, so what you see while editing is what the page will show. Styling is deliberately minimal. The blocks lay themselves out but inherit fonts, colours and heading sizes from your theme, so they look native rather than bolted on. Credits The comment icon is "message-circle" from Feather by Cole Bemis, used under the MIT licence.

安装:

  1. Upload the plugin through Plugins → Add New → Upload Plugin, or install it from the WordPress.org plugin directory.
  2. Activate it.
  3. In the editor, add a block and search for Post Grid, Post List, Post Group, Hero or Authors.
There is no configuration step.

常见问题:

Does this work with any theme?

Yes. The blocks bring the styling they need and define no colours or sizes of their own globally, so they cannot clash with your theme. If your theme sets the CSS variables the blocks look for, they follow it automatically.

Does it work in the site editor?

Yes. The blocks work anywhere the block editor does, including templates and template parts in a block theme.

Will it slow my site down?

It shouldn't. There are no page builder libraries, no jQuery and no front-end JavaScript — a block is plain HTML and a small stylesheet, and a block's stylesheet is only sent to a page that actually uses it.

更新日志:

1.2.0 1.1.1 1.1.0 1.0.0