sBird Post Slug Block
This block is designed for use in templates in the Site Editor. It displays the current post’s slug on single posts and pages. On archive pages, it displays the slug of the current category or custom post type. Hyphens in slugs are displayed as spaces. You can use the displayed slug as supporting te
This block is designed for use in templates in the Site Editor. It displays the current post’s slug on single posts and pages. On archive pages, it displays the slug of the current category or custom post type. Hyphens in slugs are displayed as spaces. You can use the displayed slug as supporting text for the page title or as a design accent. It extends the core Paragraph block, so you can use the same styling options available to Paragraph blocks.
- GitHub
Usage
- 01Add the “sBird Post Slug Block” to a template in the Site Editor.
- 02You can use the block on single posts, pages, and archive pages.
- 03As with the Paragraph block, you can customize the text color, background color, font size, and typography.
Screenshots & previews.
- 01Upload the plugin files to the /wp-content/plugins/sbird-post-slug-block directory, or install the plugin through the WordPress plugins screen directly.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Use the site editor to add “sBird Post Slug Block” to your template.