| 开发者 | dcarrero |
|---|---|
| 更新时间 | 2026年1月31日 07:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0-only |
| 版权网址: | 版权信息 |
colorvivo_read_more_universal_min_characters, colorvivo_read_more_universal_button_text, colorvivo_read_more_universal_theme_selectors) for customization.read-more-universal folder to the /wp-content/plugins/ directory.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.
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.
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.
Yes, the plugin includes ARIA attributes (aria-expanded) and supports keyboard navigation (Enter and Space keys) for accessibility compliance.
Yes, the plugin uses MutationObserver to handle dynamically loaded content, ensuring compatibility with themes like Astra that load content asynchronously.
Enable debug mode in the settings to log detailed information in the browser console, including detected theme and CSS selectors used.
Yes, it integrates with Google Analytics (GA4 and Universal) and Facebook Pixel to track "Read More" button clicks.
Yes, the plugin includes filters (colorvivo_read_more_universal_min_characters, colorvivo_read_more_universal_button_text, colorvivo_read_more_universal_theme_selectors).
rmu_* prefixes (filters, options, meta). Use colorvivo_read_more_universal_*.colorvivo_read_more_universal and bumped version to 1.3.0.$_POST['rmu_apply_to'] by adding wp_unslash() and explicit sanitization.sanitize_array() to include wp_unslash().rmu_min_characters, rmu_button_text, rmu_theme_selectors) for developer customization.MutationObserver for better dynamic content detection.setTimeout with MutationObserver.read-more-universal.php.strip_tags() with wp_strip_all_tags() for better security.wp_json_encode() instead of json_encode().esc_html_e, esc_attr, esc_js).