Опис
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.
Встановлення
- Upload the plugin files to the
/wp-content/plugins/back-to-top-blockdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Block Editor to add the Back to Top Block to your pages
Часті питання
-
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.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

