| 开发者 | addoncraft |
|---|---|
| 更新时间 | 2026年9月15日 21:50 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[addoremo_read_more]…[/addoremo_read_more], with optional per-block height and button text.read-more class to any block or element. Works with the block editor (Gutenberg), Elementor, Divi, Beaver Builder and other page builders that let you set a CSS class.aria-expanded, keyboard support and visible focus styles.[addoremo_read_more height="200" more="Read more" less="Show less"]Your long content here.[/addoremo_read_more]
height – collapsed height in pixels.more – text for the expand button.less – text for the collapse button.read-more.read-more.[addoremo_read_more] shortcode, or add the read-more CSS class to any block./wp-content/plugins/ and activate it on the Plugins screen.Go to Read More → General and turn on Auto-apply to post content. Long posts and pages now collapse automatically with a Read More button. No code is needed.
Wrap that part in the [addoremo_read_more] shortcode, or add the read-more CSS class to the block you want to collapse.
Yes. Set the global text under Read More → Labels, or use the more and less shortcode attributes to set different text for one block.
Yes. Add the read-more CSS class to any widget, module or section. The shortcode also works wherever your builder runs shortcodes.
No. The full content stays in the page HTML and is only collapsed visually, so search engines can still crawl it.
Yes. Under Read More → General, set Show on devices to Mobile only and adjust the mobile breakpoint if needed.
The button only appears when content is taller than the collapsed height. Short content is shown in full.
Clear your caching plugin, CDN or server cache, then refresh the page. If you use the shortcode, its more and less attributes override the global button text.
No. It adds one small script and one small stylesheet, and it does not load any external files or fonts.