Title: Shortcode default to hidden
Last modified: July 18, 2022

---

# Shortcode default to hidden

 *  [mg](https://wordpress.org/support/users/stevedimmick/)
 * (@stevedimmick)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/shortcode-default-to-hidden/)
 * I am using the shortcode on my website: [lwptoc]
    Is there an attribute to set
   the display of the table to be hidden when initially displayed?
 * Example:
 * Content [show]
 * Also, is it possible to change the word “Content” to something else?
    Thanks!

The topic ‘Shortcode default to hidden’ is closed to new replies.

 * ![](https://ps.w.org/luckywp-table-of-contents/assets/icon-256x256.png?rev=2100677)
 * [LuckyWP Table of Contents](https://wordpress.org/plugins/luckywp-table-of-contents/)
 * [Support Threads](https://wordpress.org/support/plugin/luckywp-table-of-contents/)
 * [Active Topics](https://wordpress.org/support/plugin/luckywp-table-of-contents/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/luckywp-table-of-contents/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/luckywp-table-of-contents/reviews/)

## Tags

 * [attributes](https://wordpress.org/support/topic-tag/attributes/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 0 replies
 * 1 participant
 * Last reply from: [mg](https://wordpress.org/support/users/stevedimmick/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/shortcode-default-to-hidden/)
 * Status: not resolved