Back To Top Block

説明

The Back to Top Block adds a customizable button that allows users to smoothly scroll back to the top of your page. Perfect for long-form content and improved user experience.

Key Features:

  • Customizable Button Text – Change the text to match your site’s language or style
  • Optional Icon Display – Show or hide the up arrow icon
  • Custom Icon Support – Upload your own icon to match your site’s design
  • Smooth Scrolling – Elegant animation when scrolling to top
  • Reduced Motion Support – Respects user’s motion preferences

How it Works

Simply add the block to your page or post where you want the back-to-top button to appear. The button will automatically handle scrolling to the top of the page when clicked, with smooth animation for users who haven’t enabled reduced motion preferences.

スクリーンショット

ブロック

このプラグインは1個のブロックを提供します。

  • Back To Top Block Adds a customizable Back to Top button that helps visitors return to the top of the page.

インストール

  1. Upload the plugin files to the /wp-content/plugins/back-to-top-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Block Editor to add the Back to Top Block to your pages

FAQ

Can I customize the button appearance?

Yes, you can:
* Show/hide the arrow icon
* Show/hide the button text
* Change the button text
* Upload a custom icon

Does it work with all themes?

Yes, the block is designed to work with any WordPress theme that supports the block editor.

Is it accessible?

Yes, the block is built with accessibility in mind, including proper ARIA labels and keyboard navigation support.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Back To Top Block はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Back To Top Block” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.4

  • Blocks saved with older versions now upgrade without editor validation errors
  • Updated build tooling and added automated tests
  • Tested up to WordPress 7.0

1.0.3

  • Added server-side attribute sanitization for improved security
  • Enhanced icon URL validation to prevent external URLs
  • Added extensibility hooks for developers
  • Improved button text validation logic
  • Added error handling for older browsers

1.0.2

  • Improved focus management after scroll
  • Minor accessibility enhancements

1.0.1

  • Initial release
  • Basic button functionality
  • Customization options for text and icon
  • Custom icon upload support
  • Smooth scrolling implementation