Expander
开发者 |
themeisle
|
更新时间 |
2016年8月19日 19:11 |
PHP版本: |
4.4 及以上 |
WordPress版本: |
4.6 |
版权: |
GPLv3 or later |
版权网址: |
版权信息
|
详情介绍:
Minimalistic accordion plugin. Text expander plugin. Just like popcorn. Click and pop.
Use it to toggle (show/hide) blocks of text, by inserting a simple shortcode:
[wpex more="Read more" less="Read less"]hidden text[/wpex]
Replace "Read more" and "Read less" with your desired text. Use .wpex-link
class to style the links.
Use a different class to style the links by using a custom class:
[wpex class="wpex-link" more="Read more" less="Read less"]hidden text[/wpex]
安装:
- Upload the plugin folder to your
/wp-content/plugins/
directory
- Activate the plugin via the Plugins menu in WordPress
- Create and publish a new page and add this shortcode:
[wpex more="Read more" less="Read less"]hidden text[/wpex]
- If you upgraded from 0.1.x change your
[wpex Read more]
to [wpex more="Read more" less="Read less"]
更新日志:
0.3.3
- FIX: Removed old compatibility code for embedded shortcodes
- UPDATE: Removed version constant, as the plugin doesn't have a dedicated settings page
0.3.2
- UPDATE: Updated formatting and removed a line break in the expander string
0.3.1
- UPDATE: Updated tags and URLs
0.3.0
- UPDATE: Added widget shortcode filter
- UPDATE: Minified and moved Javascript to footer
- FEATURE: Added custom link class (@dccharron)
0.2.5
- UPDATE: Updated WordPress compatibility
0.2.4
- GENERAL: Added license link
- GENERAL: Added donate link
0.2.3
- FIX: Fixed paragraphs exploding from parent div
- FIX: Fixed quotes not being properly escaped
0.2.2
- FIX: Fixed shortcode nesting
0.2.1
- FIX: Fixed wpautop() issue
- FEATURE: Added internal version
0.2.0
- FEATURE: Added "Read more"/"Read less" feature
- IMPROVEMENT: New shortcode structure (see plugin description)
- IMPROVEMENT: Removed filters
- PERFORMANCE: Moved shortcode creation to plugin init()
- PERFORMANCE: Merged all Javascript code
0.1.1.2
- Checked WordPress 3.8-beta compatibility
0.1.1.1