{"id":250659,"date":"2025-09-03T12:03:54","date_gmt":"2025-09-03T12:03:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/click-to-read-more-button\/"},"modified":"2026-03-26T21:14:23","modified_gmt":"2026-03-26T21:14:23","slug":"click-to-read-more-button","status":"publish","type":"plugin","link":"https:\/\/hau.wordpress.org\/plugins\/click-to-read-more-button\/","author":15876460,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.7","stable_tag":"1.0.7","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Read More Button","header_author":"Jose Varghese","header_description":"Add a customizable \"Read More\" button to your posts and pages content after a specified number of lines.","assets_banners_color":"c7c7c7","last_updated":"2026-03-26 21:14:23","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/superwebshare.com\/read-more-plugin-donate","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":534,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"josevarghese","date":"2026-02-09 22:21:03"},"1.0.3":{"tag":"1.0.3","author":"josevarghese","date":"2026-02-09 22:40:32"},"1.0.4":{"tag":"1.0.4","author":"josevarghese","date":"2026-02-09 23:26:05"},"1.0.6":{"tag":"1.0.6","author":"josevarghese","date":"2026-03-26 20:34:38"},"1.0.7":{"tag":"1.0.7","author":"josevarghese","date":"2026-03-26 21:14:23"}},"upgrade_notice":{"1.0.0":"<p>Initial release of Read More Button plugin. Provides a complete solution for adding customizable read more buttons to your WordPress content.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3355586,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3355586,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3355586,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3355586,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.0.3","1.0.4","1.0.6","1.0.7"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3355586,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3355586,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Click to Read More Button Plugin settings page with all customization options","2":"Read More button appearance on frontend"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1395,233396,2447,28040,240933],"plugin_category":[],"plugin_contributors":[237124],"plugin_business_model":[],"class_list":["post-250659","plugin","type-plugin","status-publish","hentry","plugin_tags-excerpt","plugin_tags-expand-content","plugin_tags-read-more","plugin_tags-show-more","plugin_tags-truncate-text","plugin_contributors-josevarghese","plugin_committers-josevarghese"],"banners":{"banner":"https:\/\/ps.w.org\/click-to-read-more-button\/assets\/banner-772x250.png?rev=3355586","banner_2x":"https:\/\/ps.w.org\/click-to-read-more-button\/assets\/banner-1544x500.png?rev=3355586","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/click-to-read-more-button\/assets\/icon-128x128.png?rev=3355586","icon_2x":"https:\/\/ps.w.org\/click-to-read-more-button\/assets\/icon-256x256.png?rev=3355586","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/click-to-read-more-button\/assets\/screenshot-1.png?rev=3355586","caption":"Click to Read More Button Plugin settings page with all customization options"},{"src":"https:\/\/ps.w.org\/click-to-read-more-button\/assets\/screenshot-2.png?rev=3355586","caption":"Read More button appearance on frontend"}],"raw_content":"<!--section=description-->\n<p>The <strong>Read More Button<\/strong> 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 <strong>content expander<\/strong> tool allows you to keep your layout clean and user-friendly.<\/p>\n\n<p>By adding a customizable <strong>read more button<\/strong>, you can <strong>truncate text<\/strong> after a specific number of lines, encouraging users to click to <strong>expand content<\/strong>. This improves the user experience by preventing large blocks of text from overwhelming your visitors. The best part? The content expands instantly <strong>without refresh<\/strong>, ensuring a seamless reading experience.<\/p>\n\n<p><strong>Why Use a Read More Plugin?<\/strong>\nImproving readability is key to retaining visitors. A <strong>read more tag<\/strong> or button ensures that your users see the most important information first. This <strong>expand text<\/strong> functionality is perfect for mobile users who prefer scrolling through concise summaries before diving into deep content.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Customizable Read More Button<\/strong>: Style your <strong>show more<\/strong> button to match your theme.<\/li>\n<li><strong>Collapse \/ Show Less Button<\/strong>: After expanding, a \"Show Less\" button lets users collapse the content back. Both button labels are fully configurable.<\/li>\n<li><strong>Automatic Content Truncation<\/strong>: Automatically <strong>limit posts<\/strong> and pages by line count.<\/li>\n<li><strong>Instant Expansion<\/strong>: Smoothly <strong>reveal text<\/strong> and <strong>show hidden content<\/strong> <strong>without page reload<\/strong>.<\/li>\n<li><strong>Shortcode Support<\/strong>: Use <code>[read_more_button]<\/code> anywhere in post content for manual control.<\/li>\n<li><strong>Keyboard Accessible<\/strong>: Fully operable with keyboard \u2014 buttons respond to Enter\/Space and focus is managed correctly after each interaction.<\/li>\n<li><strong>SEO Friendly<\/strong>: Hidden content remains accessible to search engines.<\/li>\n<li><strong>Exclusion Options<\/strong>: Exclude specific pages\/posts by ID<\/li>\n<li><strong>Post Type Selection<\/strong>: Choose which post types to apply the functionality to<\/li>\n<li><strong>Flexible Content Control<\/strong>: Set after how many lines the button should appear<\/li>\n<li><strong>Custom Button Text<\/strong>: Change the button text to match your site's tone<\/li>\n<li><strong>Public CPT Support<\/strong>: Works with all public custom post types<\/li>\n<li><strong>Performance Optimized<\/strong>: Lightweight code that only loads where needed<\/li>\n<\/ul>\n\n<p><strong>Perfect for:<\/strong><\/p>\n\n<ul>\n<li>Blog posts with long content<\/li>\n<li>Product descriptions<\/li>\n<li>Service pages<\/li>\n<li>News articles<\/li>\n<li>Any content where you want to improve readability and user engagement<\/li>\n<\/ul>\n\n<p><strong>Easy Setup:<\/strong><\/p>\n\n<ol>\n<li>Install and activate the plugin<\/li>\n<li>Go to Settings &gt; Read More Button<\/li>\n<li>Configure your preferences (colors, text, line count, post types)<\/li>\n<li>The button will automatically appear on your selected content types<\/li>\n<\/ol>\n\n<p>Love using this plugin? Please consider <a href=\"https:\/\/superwebshare.com\/read-more-plugin-donate\">donating<\/a> to support its development.<\/p>\n\n<h3>Developer Information<\/h3>\n\n<p><strong>Technical Details:<\/strong>\n* Uses WordPress coding standards and security practices\n* All data properly sanitized and escaped\n* Follows WordPress plugin guidelines\n* Uses proper enqueue methods for scripts and styles\n* Implements WordPress hooks and filters correctly\n* Translation ready with proper text domain<\/p>\n\n<p><strong>Shortcode:<\/strong><\/p>\n\n<pre><code>[read_more_button text=\"Read More\" lines=\"14\" collapse_text=\"Show Less\"]Content here[\/read_more_button]\n<\/code><\/pre>\n\n<ul>\n<li><code>text<\/code> (optional) \u2014 Read More button label. Defaults to the value set in Settings.<\/li>\n<li><code>lines<\/code> (optional) \u2014 Number of lines before truncation. Defaults to the value set in Settings.<\/li>\n<li><code>collapse_text<\/code> (optional) \u2014 Show Less button label. Defaults to the value set in Settings.<\/li>\n<\/ul>\n\n<p><strong>Hooks and Filters:<\/strong>\n* <code>click_to_read_more_button_content_filter<\/code> - Filter the content before applying read more functionality\n* <code>click_to_read_more_button_button_text<\/code> - Filter the button text\n* <code>click_to_read_more_button_should_show<\/code> - Filter to control where the button should appear<\/p>\n\n<p><strong>Support:<\/strong>\nFor support and feature requests, please contact the plugin author or submit issues through the WordPress.org support forums.<\/p>\n\n<p><strong>Donate:<\/strong>\n<a href=\"https:\/\/superwebshare.com\/read-more-plugin-donate\">Donate Here<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/click-to-read-more-button<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Use the Settings &gt; Read More Button screen to configure the plugin.<\/li>\n<li>The Read More button will now appear on your selected post types after the specified number of lines.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20customize%20the%20button%20appearance%3F\"><h3>How do I customize the button appearance?<\/h3><\/dt>\n<dd><p>Go to Settings &gt; Read More Button in your WordPress admin. You can customize:\n* Button background color\n* Button hover color\n* Text color\n* Button text<\/p><\/dd>\n<dt id=\"can%20i%20choose%20which%20post%20types%20show%20the%20read%20more%20button%3F\"><h3>Can I choose which post types show the Read More button?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"how%20do%20i%20exclude%20specific%20pages%20or%20posts%3F\"><h3>How do I exclude specific pages or posts?<\/h3><\/dt>\n<dd><p>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).<\/p><\/dd>\n<dt id=\"what%20happens%20when%20someone%20clicks%20the%20read%20more%20button%3F\"><h3>What happens when someone clicks the Read More button?<\/h3><\/dt>\n<dd><p>The full content is revealed smoothly and a \"Show Less\" button appears, allowing users to collapse the content back at any time. Both button labels are configurable from the settings page.<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20shortcode%20instead%20of%20the%20automatic%20filter%3F\"><h3>Can I use a shortcode instead of the automatic filter?<\/h3><\/dt>\n<dd><p>Yes! Use the <code>[read_more_button]<\/code> shortcode anywhere in post content to manually control which content gets truncated. It supports three optional attributes:<\/p>\n\n<ul>\n<li><code>text<\/code> \u2014 overrides the Read More button label (e.g., <code>text=\"Continue Reading\"<\/code>)<\/li>\n<li><code>lines<\/code> \u2014 overrides the line count (e.g., <code>lines=\"10\"<\/code>)<\/li>\n<li><code>collapse_text<\/code> \u2014 overrides the Show Less button label (e.g., <code>collapse_text=\"Hide\"<\/code>)<\/li>\n<\/ul>\n\n<p>Example: <code>[read_more_button text=\"Read Full Article\" lines=\"8\" collapse_text=\"Hide\"][\/read_more_button]<\/code><\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20custom%20post%20types%3F\"><h3>Does this work with custom post types?<\/h3><\/dt>\n<dd><p>Yes! The plugin automatically detects all public custom post types and includes them in the post type selection options.<\/p><\/dd>\n<dt id=\"will%20this%20affect%20my%20site%27s%20performance%3F\"><h3>Will this affect my site's performance?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"can%20i%20change%20how%20many%20lines%20are%20shown%20before%20the%20button%20appears%3F\"><h3>Can I change how many lines are shown before the button appears?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"how%20does%20the%20line%20counting%20work%3F\"><h3>How does the line counting work?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20translation%20ready%3F\"><h3>Is this plugin translation ready?<\/h3><\/dt>\n<dd><p>Yes, the plugin is fully prepared for translation and follows WordPress internationalization standards.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20work%20with%20caching%20plugins%3F\"><h3>Does the plugin work with caching plugins?<\/h3><\/dt>\n<dd><p>Yes, the plugin is compatible with all major caching plugins as it doesn't use any server-side processing for the Read More functionality.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Fixed page jumping to the \"Show Less\" button when clicking \"Read More\" \u2014 the viewport now stays at the user's reading position after content expands.<\/li>\n<li>Fixed \"Show Less\" button appearing automatically for existing users who had not yet enabled that option \u2014 it now only defaults to enabled for new installs.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Added collapse \/ Show Less button \u2014 users can now fold expanded content back after clicking Read More. Button label is configurable from Settings &gt; Read More Button.<\/li>\n<li>Added <code>[read_more_button]<\/code> shortcode for manual control over which content is truncated. Supports <code>text<\/code>, <code>lines<\/code>, and <code>collapse_text<\/code> attributes.<\/li>\n<li>Improved keyboard accessibility \u2014 buttons respond to Enter\/Space keys and focus is moved correctly after expand\/collapse interactions.<\/li>\n<li>Added <code>aria-expanded<\/code> attributes to Read More and Show Less buttons for screen reader support.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Implemented completely revamped admin page.<\/li>\n<li>Included comprehensive Support enhanced user troubleshooting<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Added option to select the icon for the read more button<\/li>\n<li>Added troubleshooting and support cards to settings page<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Customizable button colors and text<\/li>\n<li>Post type selection functionality<\/li>\n<li>Line count configuration<\/li>\n<li>Exclude specific pages\/posts functionality<\/li>\n<li>Support for static homepage and blog pages<\/li>\n<li>Auto-detection of public custom post types<\/li>\n<li>Proper WordPress security and coding standards compliance<\/li>\n<li>Admin notices for activation and settings saved<\/li>\n<li>Settings page with version display<\/li>\n<li>Comprehensive documentation<\/li>\n<\/ul>","raw_excerpt":"Easily add a customizable Read More button to expand long posts. Reveal hidden content automatically and smoothly without a page refresh.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/250659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=250659"}],"author":[{"embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/josevarghese"}],"wp:attachment":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=250659"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=250659"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=250659"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=250659"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=250659"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=250659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}