| 开发者 | anisur8294 |
|---|---|
| 更新时间 | 2026年3月28日 16:44 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
.zip file to your computer.wp-content/plugins/AR Back To Top adds a customizable "Back to Top" button to your WordPress site. When visitors scroll down the page, the button appears and smoothly scrolls them back to the top when clicked.
After activating the plugin, go to Back To Top in your WordPress admin menu. Toggle Enable Back To Top on the General tab and click Save Changes.
Yes. On the Appearance tab, set Button Style to "SVG Icon" to pick from 19 built-in icons, "Image Only" for bundled images, "External Image URL" for a remote image, or "Custom Upload" to upload your own PNG, JPG, GIF, or SVG icon from the media library.
Go to the Colors & Style tab. You can set background, text/icon, and border colors for both normal and hover states using the color picker.
Yes. On the Visibility tab, toggle Hide on Tablet or Hide on Mobile and set the breakpoints to control at which screen widths the button is hidden.
Yes. On the Visibility tab, change the Display Mode to "Show only on selected pages" or "Hide on selected pages" and search for the pages/posts you want.
No. The frontend uses zero jQuery — it is written in pure vanilla JavaScript with requestAnimationFrame throttling and passive event listeners. Assets are only loaded on pages where the button is displayed. You can also enable async script loading for additional performance.
Yes. On the Scroll Behavior tab, enable Scroll Progress to display a circular progress ring around the button that fills as the user scrolls down the page.
On the Position & Size tab, choose left, right, or center bottom placement. You can also adjust the bottom and side offsets in pixels, and set separate offsets for mobile devices.
Yes. On the General tab, enable Show in Admin Area to display the back-to-top button inside the WordPress dashboard.
Click the Reset to Defaults button at the bottom of the settings page. A confirmation dialog will appear before resetting.
Yes. The button uses a semantic <button> element with ARIA labels, screen reader text, and a :focus-visible outline for keyboard navigation.
AR Back To Top is compatible with all standard WordPress themes. It uses high-specificity CSS selectors with !important to ensure the button displays correctly regardless of your theme's styles.
Please email anisur2805@gmail.com for any questions, bug reports, or feature suggestions.
<button> element instead of <div> for the back-to-top buttonaria-label, screen reader text, and aria-hidden on decorative elements:focus-visible outline for keyboard navigation
Performance
requestAnimationFrame throttling on scroll events!important with high-specificity selectors for theme compatibility