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 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.

Usage

  1. Add the “sBird Post Slug Block” to a template in the Site Editor.
  2. You can use the block on single posts, pages, and archive pages.
  3. As with the Paragraph block, you can customize the text color, background color, font size, and typography.

屏幕截图

区块

该插件提供了 1 个区块.

  • sBird Post Slug Block This is a block for the Site Editor that displays the slugs of posts, categories, and custom post types.

安装

  1. Upload the plugin files to the /wp-content/plugins/sbird-post-slug-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use the site editor to add “sBird Post Slug Block” to your template.

评价

此插件暂无评价。

贡献者及开发者

「sBird Post Slug Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「sBird Post Slug Block」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「sBird Post Slug Block」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.2

  • Tested with WordPress 7.1.

1.1.1

  • Added nowrap styling.

1.1

  • Added margin and padding controls.

1.0

  • Hello, world!