Linux 软件免费装
Banner图

Read More Universal

开发者 dcarrero
更新时间 2026年1月31日 07:25
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPL-2.0-only
版权网址: 版权信息

标签

analytics accessibility read more theme compatibility content truncation

下载

1.3.5

详情介绍:

Read More Universal is a lightweight (~4KB) WordPress plugin that automatically adds a "Read More" button to long content, enhancing user engagement and site performance. It intelligently detects your theme (e.g., Twenty Twenty-Five, Astra, Elementor, Divi, WPBakery) and applies the appropriate CSS selectors for seamless integration. No database queries are used, ensuring optimal performance. Key features include:

安装:

  1. Upload the read-more-universal folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. (Optional) Configure settings under Settings > Read More Universal to customize the button appearance, content length, and application scope.
  4. (Optional) Use the metabox in the post/page editor to enable/disable the "Read More" feature for specific content.
  5. Enable debug mode in settings to troubleshoot theme compatibility if needed.

升级注意事项:

1.3.5 Maintenance release for WordPress.org directory submission. No breaking changes. 1.3.0 Prefix changed from rmu to colorvivo_read_more_universal. Legacy rmu_* support has been removed. Update custom code and overrides to new filters/options/meta. 1.2.1 This update fixes security warnings related to input sanitization for the rmu_apply_to setting. Update to ensure compliance with WordPress coding standards. Back up your settings before upgrading. 1.2.0 This update adds per-post/page control, support for pages and archives, Divi/WPBakery compatibility, accessibility improvements, developer filters, and a smoother user experience. Update read-more-universal.php to fix a syntax error from previous versions. Back up your settings before upgrading.

常见问题:

Which themes are supported?

The plugin automatically detects and supports popular themes including Twenty Twenty-Five, Twenty Twenty-Four, Twenty Twenty-Three, Astra, GeneratePress, OceanWP, Elementor Hello, Divi, WPBakery, and more. It includes a generic fallback for other themes.

Can I customize the button appearance?

Yes! You can customize the button text, background color, text color, and border radius in the settings panel. A live preview is available to see changes in real-time.

Can I control where the "Read More" button appears?

Yes, you can choose to apply the button to posts, pages, and/or archives (home, categories, tags) via the settings. Additionally, a metabox in the post/page editor allows you to enable or disable it for specific content.

Is the plugin accessible?

Yes, the plugin includes ARIA attributes (aria-expanded) and supports keyboard navigation (Enter and Space keys) for accessibility compliance.

Does it work with dynamic content?

Yes, the plugin uses MutationObserver to handle dynamically loaded content, ensuring compatibility with themes like Astra that load content asynchronously.

How do I troubleshoot compatibility issues?

Enable debug mode in the settings to log detailed information in the browser console, including detected theme and CSS selectors used.

Does it support analytics?

Yes, it integrates with Google Analytics (GA4 and Universal) and Facebook Pixel to track "Read More" button clicks.

Can developers extend the plugin?

Yes, the plugin includes filters (colorvivo_read_more_universal_min_characters, colorvivo_read_more_universal_button_text, colorvivo_read_more_universal_theme_selectors).

更新日志:

1.3.5 - 2026-01-22 1.3.0 - 2025-09-16 1.2.1 - 2025-07-15 1.2.0 - 2025-07-15 1.1.1 - 2025-01-16 1.1.0 - 2025-01-16 1.0.0 - 2025-01-01