Linux 软件免费装
Banner图

Plugin Name

开发者 bouncyoy
更新时间 2022年1月26日 16:17
WordPress版本: 5.8
版权: GPLv2 or later
版权网址: 版权信息

标签

readmore readless

下载

1.0.0

详情介绍:

Simple plugin that allows you to insert read more button to anywhere on your site. With the plugin you can hide part of the text, so that it opens from a read more button and hides it again from a read less button. ** Read more with Bouncy - Features: ** How to use: (just delete ' and Paragraph & Shortcode are just mentioned to notify you which block is used) Screenshots below this sections will show plugin usage in live. Use case 1 - no line breaks  Paragraph: '[readmorec readmorecontent="hidden1"]'Hidden section. In order to make line break, please do use html as shown below'[/readmorec]' Shortcode: '[readmoreb readmore="hidden1"]'  Use case 2 - line breaks (Reminder, br-tags are written inside <>)  Paragraph: '[readmorec readmorecontent="hidden2"]'Hidden section. In order to make line breaks, use html mode and br-tags as follows br one line break(br-tag between words follows and one) br_br (Two br-tags between words one and gap) gap between and button to bottom of the text (next and the last br-tag sets the read more button at the bottom of the text) br '[/readmorec]' Shortcode: '[readmoreb readmore="hidden2"]'  Use case 3 - translated button text  Paragraph: '[readmorec readmorecontent="hidden3"]'Hidden section '[/readmorec]' Shortcode: '[readmoreb readmore="hidden3" label="write here what you want to show in readmore button" translatedlabel="and here same for the less button"]'

屏幕截图:

  • Instructions

常见问题:

Can I change button style?

Yes, you can modify the button as you like with css. For example to change font size, insert following to the additional css (delete '): '.readmore-btn{ font-size: 50px }'

Can I translate the button?

Yes, just write what you like in the shortcode section that's reserved for the button naming, example (delete '): '[readmoreb readmore="uniqueid" label="write here what you want to show in read more button" translatedlabel="and here same for the less button"]'

更新日志:

1.0