| 开发者 | philhoyt |
|---|---|
| 更新时间 | 2026年11月26日 05:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
<button> with an aria-label and an outline on keyboard focus. Text, background, spacing and typography can be set through the block's style controls.
Button text is sanitized on save. Icon URLs are limited to the site's own domain; an icon URL on another domain is dropped.
/wp-content/plugins/back-to-top-block directory, or install the plugin through the WordPress plugins screen.No. The button sits where you place the block and scrolls with the page. For a button that is always visible, put the block in a template part and position it with your theme's CSS.
Yes. Choose an image from the media library in the block settings. Images hosted on another domain are rejected when the post is saved.
Any theme that supports the block editor. Colors, spacing and typography come from the block's style controls, so the button picks up your theme's presets.
back_to_top_block_args filter for block registration arguments.scrollTo options object.