Title: Show/Hide Shortcode
Author: Lars Wallenborn
Published: <strong>28 ມີນາ 2021</strong>
Last modified: 3 ມັງກອນ 2025

---

ຄົ້ນຫາປລັກອິນ

![](https://s.w.org/plugins/geopattern-icon/showhide-shortcode.svg)

# Show/Hide Shortcode

 ໂດຍ [Lars Wallenborn](https://profiles.wordpress.org/larsborn/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/showhide-shortcode.1.0.1.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/showhide-shortcode/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/showhide-shortcode/#reviews)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/showhide-shortcode/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/showhide-shortcode/)

## ຄຳອະທິບາຍ

This plugin allows you to easily add “Show more…” links to your site. Just enclose
the content to be hidden between `[showhide]` and `[/showhide]`. There is no modification
to the backend or fancy editor. Hence the code for this plugin is minimal and the
plugin should be easy to review for security issues as well not impact performance.

## ພາບໜ້າຈໍ

 * [[
 * Example view of the block editor.

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### Where do I need to click?

Use the block editor to add two blocks: `[showhide]` and `[/showhide]`. Everything
in between will be hidden and a link “Show more…” is displayed. When clicked, the
hidden content is revealed.

### Can I change the default “Show more…” text?

Yes, the `[showhide]` shortcode accepts the argument `show_caption`:
 `[showhide
show_caption="Do you want to know more?"]Your Content[/showhide]\`\`\` Similarly,
use thehide_caption` attribute to change the “Show less…” default caption.

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/cc88952fc450e4ef9ff8f700b3bb7b547dbe405487b39c579f8cb33a16fe6f32?
s=60&d=retro&r=g)

### 󠀁[Efficient and simple](https://wordpress.org/support/topic/efficient-and-simple-12/)󠁿

 [oldteaowl](https://profiles.wordpress.org/oldteaowl/) 19 ກຸມພາ 2025

Efficient and simple, love it

![](https://secure.gravatar.com/avatar/733f97fa734490dc6c2f53516f57161ac6263e203412e842d10e951cfa9188e6?
s=60&d=retro&r=g)

### 󠀁[It simply works](https://wordpress.org/support/topic/it-simply-works-60/)󠁿

 [rolzan](https://profiles.wordpress.org/rolzan/) 21 ກໍລະກົດ 2021

No clutter, it simply works as it is intended. It would be better though if you 
could write this in vanilla JavaScript rather than relying to jQuery.

![](https://secure.gravatar.com/avatar/095c94ddff16d6d79643d43f09395db7761531fd5e58b35c54c79aef014b34cd?
s=60&d=retro&r=g)

### 󠀁[Love the simlicity.](https://wordpress.org/support/topic/love-the-simlicity/)󠁿

 [vtchernoff](https://profiles.wordpress.org/vtchernoff/) 2 ເມສາ 2021

It works.

 [ ອ່ານການຣີວິວທັງໝົດ 3 ລາຍການ ](https://wordpress.org/support/plugin/showhide-shortcode/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Show/Hide Shortcode” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມ
ໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Lars Wallenborn ](https://profiles.wordpress.org/larsborn/)

[ແປ “Show/Hide Shortcode” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/showhide-shortcode)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/showhide-shortcode/), ກວດເບິ່ງ
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/showhide-shortcode/), ຫຼື ຕິດຕາມ
[ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/showhide-shortcode/) ຜ່ານ
[RSS](https://plugins.trac.wordpress.org/log/showhide-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.0.1

 * Updated “Tested up to” field to reflect current
 * Addresses XSS vulnerability in `show_caption` and `hide_caption` arguments

#### 1.0.0

 * Initial Release

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0.1**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **1 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **300+**
 *  ເວີຊັນ WordPress ** 5.7 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **6.7.5**
 *  ເວີຊັນ PHP ** 7.3 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/showhide-shortcode/)
 * ແທັກ
 * [expander](https://lo.wordpress.org/plugins/tags/expander/)[read less](https://lo.wordpress.org/plugins/tags/read-less/)
   [Read more](https://lo.wordpress.org/plugins/tags/read-more/)[show more](https://lo.wordpress.org/plugins/tags/show-more/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/showhide-shortcode/advanced/)

## ການໃຫ້ຄະແນນ

 5 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 3 ລາຍການ     ](https://wordpress.org/support/plugin/showhide-shortcode/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/showhide-shortcode/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/showhide-shortcode/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/showhide-shortcode/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/showhide-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/showhide-shortcode/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/showhide-shortcode/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Lars Wallenborn ](https://profiles.wordpress.org/larsborn/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/showhide-shortcode/)