Linux 软件免费装
Banner图

Erryn Reading Progress & Table of Contents

开发者 errynio
更新时间 2026年8月20日 18:34
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

navigation progress bar table of contents toc reading progress

下载

1.0.3

详情介绍:

Erryn Reading Progress & Table of Contents helps readers understand where they are in a long page and move directly to the section they need. It automatically builds a table of contents from your headings, shows reading progress as the visitor scrolls, and highlights the current section. It works immediately after activation, follows your theme's colours in light and dark mode, and provides sensible defaults without requiring shortcodes or manual setup. Two responsive layouts Choose between: On smaller screens, the side rail automatically switches to the horizontal bar. Automatic or manual control By default, the plugin detects headings and displays itself automatically when a post contains enough sections. You can also: When a page contains a TOC Anchor block, the plugin uses the manual anchors instead of generating its contents from headings. Designed to fit your theme The plugin can inherit colours from your active theme, including sites that switch between light and dark mode. You may also choose colours from the theme palette or enter custom colours and opacity values. A live contrast check warns when custom text and background colours may be difficult to read. Appearance options include: Fast by design The plugin avoids repeatedly measuring the page during an ordinary scroll. It measures section positions when required, stores those measurements, and updates the progress indicator through requestAnimationFrame. The active section is tracked with IntersectionObserver, keeping that work out of the scroll handler. There is no jQuery dependency and no frontend build framework. Accessibility The component uses ordinary anchor links, supports keyboard interaction and identifies the active section with aria-current. Section links continue to work without JavaScript. JavaScript is required for the progress indicator, active-section highlighting and expandable side rail. Right-to-left layouts are supported. Structured data and SEO plugins Optional ItemList structured data can provide a machine-readable description of the page sections. The plugin also registers as a recognised table of contents for Rank Math's content analysis, and can run alongside Yoast SEO and All in One SEO. Privacy Erryn Reading Progress & Table of Contents does not collect, store or send visitor data. There are no accounts, external API requests or tracking scripts. Features For screenshots, a live demonstration and further technical details, visit the plugin page: https://erryn.io/products/erryn-reading-progress-table-of-contents/

安装:

  1. Upload the plugin files to /wp-content/plugins/erryn-reading-progress-table-of-contents/, or install the plugin through the WordPress Plugins screen.
  2. Activate Erryn Reading Progress & Table of Contents.
  3. Open a post or page containing several headings.
  4. Visit Settings > Reading Progress to change the layout, placement or appearance.
The plugin works with its default settings immediately after activation.

屏幕截图:

  • The side rail expanded into the full table of contents.
  • General settings for automatic insertion, headings and post types.
  • Placement controls for the bar, rail and header offset.
  • Appearance settings for link style, sizing and spacing.
  • Theme, palette and custom colour controls with the live contrast check.
  • Per-post controls in the WordPress editor.
  • The TOC & Progress and TOC Anchor blocks in the block editor.

升级注意事项:

1.0.3 Frontend assets are now minified for production. 1.0.2 Rename of the reading_progress_toc shortcode to rptoc_reading_progress_toc. Update any posts using the old tag. 1.0.1 Fixes horizontal scrolling of the section links on mobile. 1.0.0 Initial public release.

常见问题:

Do I need to configure anything?

No. Activate the plugin and it will appear automatically on supported posts and pages that contain enough headings. All settings are optional.

Can I turn it off on one post?

Yes. Open the Reading Progress & Contents panel in the post editor and choose Never show. You can also choose Always show to override the global automatic-insertion rules for that post.

Can I define the sections myself?

Yes. Add TOC Anchor blocks where you want entries to appear. Once a page contains one TOC Anchor block, the plugin uses the manual anchors instead of generating its contents from headings.

Can I use it outside the block editor?

Yes. Use the [rptoc_reading_progress_toc] shortcode. The shorter [rptoc] version is also available. It can be used in the Classic Editor and page builders that process standard WordPress shortcodes.

What happens on mobile?

The horizontal bar remains available on smaller screens. When the side-rail layout is selected, it automatically switches to the horizontal bar on mobile devices.

Does it modify my saved content?

No. The plugin adds IDs and its own markup to the rendered page. It does not permanently rewrite the content stored in the WordPress editor.

Will it work with a sticky header?

The plugin attempts to detect the site header automatically. You can also set a custom header offset in pixels when automatic detection does not suit the theme.

Can I use a custom content container?

Yes. Under the advanced detection settings, choose the custom selector option and provide the CSS selector for the content area, such as: article .entry-content

Does it collect any data?

No. The plugin does not track visitors or send data to an external service.

Does it work without JavaScript?

The table-of-contents links remain ordinary anchor links and can still be used. JavaScript is required for the progress fill, active-section highlighting and side-rail interaction.

Can I customise it with CSS?

Yes. The plugin uses CSS custom properties for its colours and spacing, allowing developers to restyle it without editing the plugin files.

Does the structured data guarantee search-result jump links?

No. The optional ItemList markup provides a machine-readable description of the page sections, but it does not guarantee a particular search-result treatment or ranking improvement.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0