Title: Back To Top Block
Author: philhoyt
Published: <strong>December 13, 2024</strong>
Last modified: November 12, 2025

---

Search plugins

![](https://ps.w.org/back-to-top-block/assets/banner-772x250.png?rev=3207324)

![](https://ps.w.org/back-to-top-block/assets/icon-256x256.png?rev=3207324)

# Back To Top Block

 By [philhoyt](https://profiles.wordpress.org/philhoyt/)

[Download](https://downloads.wordpress.org/plugin/back-to-top-block.1.0.3.zip)

 * [Details](https://lin.wordpress.org/plugins/back-to-top-block/#description)
 * [Reviews](https://lin.wordpress.org/plugins/back-to-top-block/#reviews)
 *  [Installation](https://lin.wordpress.org/plugins/back-to-top-block/#installation)
 * [Development](https://lin.wordpress.org/plugins/back-to-top-block/#developers)

 [Support](https://wordpress.org/support/plugin/back-to-top-block/)

## Description

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.

## Screenshots

 * [[
 * Block settings panel showing customization options for the Back to Top button

## Blocks

This plugin provides 1 block.

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

## Installation

 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Back To Top Block” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ philhoyt ](https://profiles.wordpress.org/philhoyt/)

[Translate “Back To Top Block” into your language.](https://translate.wordpress.org/projects/wp-plugins/back-to-top-block)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/back-to-top-block/),
check out the [SVN repository](https://plugins.svn.wordpress.org/back-to-top-block/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/back-to-top-block/)
by [RSS](https://plugins.trac.wordpress.org/log/back-to-top-block/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

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

## Meta

 *  Version **1.0.3**
 *  Last updated **5 months ago**
 *  Active installations **10+**
 *  WordPress version ** 6.6 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/back-to-top-block/)
 * Tags
 * [back to top](https://lin.wordpress.org/plugins/tags/back-to-top/)[block](https://lin.wordpress.org/plugins/tags/block/)
   [navigation](https://lin.wordpress.org/plugins/tags/navigation/)[scroll](https://lin.wordpress.org/plugins/tags/scroll/)
   [scroll to top](https://lin.wordpress.org/plugins/tags/scroll-to-top/)
 *  [Advanced View](https://lin.wordpress.org/plugins/back-to-top-block/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/back-to-top-block/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/back-to-top-block/reviews/)

## Contributors

 *   [ philhoyt ](https://profiles.wordpress.org/philhoyt/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/back-to-top-block/)