Melonpan Block – Post Title
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
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.
Installation from the WordPress admin.
- 01Log in to the WordPress admin and navigate to Plugins > Add New .
- 02Type Melonpan Block – Post Title in the Search field.
- 03In the results list Melonpan Block – Post Title plugin should appear, click Install Now button.
- 04Once it finished installing, click the Activate button.
- 05That’s it, now you can go to any post where Gutenberg is enabled and start using the block.