

Click to Read More Button Plugin settings page with all customization options
The Read More Button plugin is the ultimate solution for managing long content on your WordPress site. Whether you have lengthy blog posts, detailed product descriptions, or extensive service pages, this content expander tool allows you to keep your layout clean and user-friendly.
By adding a customizable read more button, you can truncate text after a specific number of lines, encouraging users to click to expand content. This improves the user experience by preventing large blocks of text from overwhelming your visitors. The best part? The content expands instantly without refresh, ensuring a seamless reading experience.
Why Use a Read More Plugin?
Improving readability is key to retaining visitors. A read more tag or button ensures that your users see the most important information first. This expand text functionality is perfect for mobile users who prefer scrolling through concise summaries before diving into deep content.
Key Features:
[read_more_button] anywhere in post content for manual control.Perfect for:
Easy Setup:
Love using this plugin? Please consider donating to support its development.
Technical Details:
* Uses WordPress coding standards and security practices
* All data properly sanitized and escaped
* Follows WordPress plugin guidelines
* Uses proper enqueue methods for scripts and styles
* Implements WordPress hooks and filters correctly
* Translation ready with proper text domain
Shortcode:
[read_more_button text="Read More" lines="14" collapse_text="Show Less"]Content here[/read_more_button]
text (optional) – Read More button label. Defaults to the value set in Settings.lines (optional) – Number of lines before truncation. Defaults to the value set in Settings.collapse_text (optional) – Show Less button label. Defaults to the value set in Settings.Hooks and Filters:
* click_to_read_more_button_content_filter – Filter the content before applying read more functionality
* click_to_read_more_button_button_text – Filter the button text
* click_to_read_more_button_should_show – Filter to control where the button should appear (receives $show bool and $post_id)
CSS Customisation:
The fade gradient on truncated content uses the CSS variable --ctrmb-bg (default: #fff) so it blends with any background colour. If your theme uses a non-white background, add this to your theme’s stylesheet:
body { --ctrmb-bg: #your-background-colour; }
Translation:
Translation-ready .pot file located at languages/click-to-read-more-button.pot. Place translated .po/.mo files in the languages/ folder using the naming convention click-to-read-more-button-{locale}.po.
Support:
For support and feature requests, please contact the plugin author or submit issues through the WordPress.org support forums.
Donate:
Donate Here