外掛說明
Demo – Documentation – GitHub
Block that displays the current Post Title and Excerpt. No stylesheets or scripts are added in the front-end.
Features
The block comes with the following settings:
- Title HTML tag: Choose between h1, h1 > a, a, a > h1, span
- Excerpt enabled: Display the post custom excerpt
- Excerpt HTML tag: Choose between h2, h3, h4, span
Usage
The block can be found inside the blocks inserter menu under the Melonpan Blocks category.
Once added in the post you can edit its settings on the Editor sidebar under the Block settings panel.
The block renders dynamically. This means it doesn’t save any content in the Post content, it renders the content when the post loads with the current Post Title and Excerpt.
適用於區塊編輯器
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Melonpan Block – Post Title
安裝方式
Installation from the WordPress admin.
- Log in to the WordPress admin and navigate to Plugins > Add New.
- Type Melonpan Block – Post Title in the Search field.
- In the results list Melonpan Block – Post Title plugin should appear, click Install Now button.
- Once it finished installing, click the Activate button.
- That’s it, now you can go to any post where Gutenberg is enabled and start using the block.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
2.0.0
- Refactored code base
- Updated dependencies
1.0.0
- Initial release