Description
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:
- Customizable Read More Button: Style your show more button to match your theme.
- Automatic Content Truncation: Automatically limit posts and pages by line count.
- Instant Expansion: Smoothly reveal text and show hidden content without page reload.
- SEO Friendly: Hidden content remains accessible to search engines.
- Exclusion Options: Exclude specific pages/posts by ID
- Post Type Selection: Choose which post types to apply the functionality to
- Flexible Content Control: Set after how many lines the button should appear
- Custom Button Text: Change the button text to match your site’s tone
- Public CPT Support: Works with all public custom post types
- Performance Optimized: Lightweight code that only loads where needed
Perfect for:
- Blog posts with long content
- Product descriptions
- Service pages
- News articles
- Any content where you want to improve readability and user engagement
Easy Setup:
- Install and activate the plugin
- Go to Settings > Read More Button
- Configure your preferences (colors, text, line count, post types)
- The button will automatically appear on your selected content types
Love using this plugin? Please consider donating to support its development.
Developer Information
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
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
Support:
For support and feature requests, please contact the plugin author or submit issues through the WordPress.org support forums.
Donate:
Donate Here
Screenshots
Installation
- Upload the plugin files to the
/wp-content/plugins/click-to-read-more-buttondirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the Settings > Read More Button screen to configure the plugin.
- The Read More button will now appear on your selected post types after the specified number of lines.
FAQ
-
Go to Settings > Read More Button in your WordPress admin. You can customize:
* Button background color
* Button hover color
* Text color
* Button text -
Yes! In the settings page, you can select which post types should display the Read More button. By default, it’s enabled for posts only, but you can enable it for pages and all public custom post types.
-
How do I exclude specific pages or posts?
-
In the settings page, there’s an “Exclude Pages/Posts by ID” field where you can enter comma-separated IDs of pages/posts you want to exclude (e.g., 1,2,3).
-
The hidden content is revealed smoothly, and the button disappears. There’s no “hide” functionality – once expanded, the content stays visible for better user experience.
-
Does this work with custom post types?
-
Yes! The plugin automatically detects all public custom post types and includes them in the post type selection options.
-
Will this affect my site’s performance?
-
No, the plugin is lightweight and only loads its scripts and styles on pages where the Read More functionality is enabled. It has no impact on pages where it’s not being used.
-
Yes, you can set the number of lines in the settings page. The default is 14 lines, but you can adjust this from 1 to 50 lines based on your content needs.
-
How does the line counting work?
-
The plugin uses character counting (approximately 90 characters per line) to determine when to show the button. The actual visual lines may vary based on your content length, font size, screen width, and theme styling.
-
Is this plugin translation ready?
-
Yes, the plugin is fully prepared for translation and follows WordPress internationalization standards.
-
Does the plugin work with caching plugins?
-
Yes, the plugin is compatible with all major caching plugins as it doesn’t use any server-side processing for the Read More functionality.
Reviews
Contributors & Developers
“Read More Button – Expand Content Without Refresh” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Read More Button – Expand Content Without Refresh” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.4
- Added option to select the icon for the read more button
- Added troubleshooting and support cards to settings page
1.0.0
- Initial release
- Customizable button colors and text
- Post type selection functionality
- Line count configuration
- Exclude specific pages/posts functionality
- Support for static homepage and blog pages
- Auto-detection of public custom post types
- Proper WordPress security and coding standards compliance
- Admin notices for activation and settings saved
- Settings page with version display
- Comprehensive documentation


