Linux 软件免费装
Banner图

WP Distraction Free View

开发者 mehul0810
更新时间 2026年5月19日 02:15
捐献地址: 去捐款
PHP版本: 8.2 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

accessibility reading mode distraction free reader mode focused reading

下载

1.4 1.2 1.3 1.4.1 1.4.4 1.4.5 1.5.0 1.6.0 1.1 1.4.3 1.7.0

详情介绍:

WP Distraction Free View adds a clean frontend Reader Mode to WordPress, helping visitors focus on your content without sidebars, widgets, navigation, and visual clutter. WordPress core already includes distraction-free writing tools for the admin editor. This plugin is for the frontend visitor reading experience. Use it to offer focused reading for posts, pages, and selected public custom post types. Visitors can open content in a polished Reader Mode overlay, use the Reader settings control in the modal header to adjust font size, switch between light/dark/sepia themes, choose a comfortable content width, print the reader view, or use browser fullscreen. Features
  1. Frontend Reader Mode for posts, pages, and selected public custom post types.
  2. Clean reading column with comfortable typography, spacing, and width.
  3. Reader Mode Toggle block for posts, pages, custom post types, and Query Loop templates.
  4. Shortcode support with [wpdfv].
  5. Optional automatic toggle placement before content, after content, or as a floating button.
  6. URL activation with ?reader-mode=1.
  7. Visitor preferences for font size, theme, and content width saved in localStorage only.
  8. Optional reading progress indicator.
  9. Optional estimated reading time.
  10. Block-based Reader Mode templates for full site editing themes.
  11. WordPress-components settings screen.
  12. Lightweight frontend assets with no external tracking, telemetry, or third-party libraries.
Settings Overview Go to Settings > Reader Mode to configure: The settings screen is organized into About, Configure, and More Plugins tabs. Reader Mode configuration lives under Configure. Automatic toggle insertion is disabled for new installs. Existing installs keep their previous automatic insertion behavior during upgrade unless it was already disabled. Usage Use the Reader Mode Toggle block in posts, pages, public custom post types, single templates, and Query Loop templates. Use the shortcode: [wpdfv] Reader Mode can also open from the URL on enabled single content: https://example.com/my-post/?reader-mode=1 Template Customization The Reader Mode content is rendered through block-based templates. The plugin registers a default Reader Mode layout and a WP Distraction Free View pattern category for block themes. Themes and site-specific code can add templates with the wpdfv_modal_templates filter.

安装:

  1. Upload wp-distraction-free-view to the wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Configure the plugin from Settings > Reader Mode.
  4. Add the Reader Mode Toggle block or shortcode where needed, or enable automatic toggle insertion.

屏幕截图:

  • Reader Mode toggle on frontend content.
  • Reader Mode modal with reading time, print/fullscreen controls, and the Reader settings side panel.

升级注意事项:

1.7.0 Adds the new frontend Reader Mode experience, visitor preferences, reading progress, reading time, URL activation, shortcode compatibility, and idempotent settings migration from 1.6.0. Existing saved options continue to work, and the supported shortcode remains [wpdfv].

常见问题:

Is this the same as WordPress editor distraction-free mode?

No. WordPress core distraction-free mode is for writing in the admin editor. WP Distraction Free View is for the frontend visitor reading experience.

Can I place the Reader Mode toggle manually?

Yes. Use the Reader Mode Toggle block or the [wpdfv] shortcode.

Can Reader Mode open from a URL?

Yes. Add ?reader-mode=1 to enabled single posts, pages, or selected public custom post types.

Are visitor preferences stored on the server?

No. Font size, theme, and content width preferences are saved only in the visitor browser with localStorage.

Does Reader Mode support print and fullscreen?

Yes. Reader Mode includes icon-only print and fullscreen controls in the modal header.

Can block themes customize the Reader Mode layout?

Yes. The plugin registers a default block-based Reader Mode template and a WP Distraction Free View pattern category. Themes and site-specific code can add more templates with the wpdfv_modal_templates filter.

Will old settings keep working?

Yes. Existing saved settings remain in the wpdfv_settings option and old wpdfv_general values are migrated during upgrade. The supported shortcode remains [wpdfv].

更新日志:

1.7.0 1.6.0: 16th May 2021 1.5.0: 10th March 2021 1.4.5: 26th November 2019 1.4.4: 23rd November 2019 1.4.3: 19th November 2019 1.4.2: 19th November 2019 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0: Initial Release