Title: Shortcode to initially show table?
Last modified: April 8, 2024

---

# Shortcode to initially show table?

 *  Resolved [Steven](https://wordpress.org/support/users/shyzer/)
 * (@shyzer)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/)
 * I have all of my tables of content initially hidden & collapsed. However, is 
   there a shortcode that I can use on a singular table to make it initially show
   expanded? I see in the documentation that [initial_view=”hide”] is registered,
   but is there an alternative like [initial_view=”show”]? Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17561602)
 * Hi, thank you for reaching out to us. The default behaviour is initially open
   and if you want to hide then you can use this shortcode. Also, please share your
   use case with reference, we will help you out on it
 *  Thread Starter [Steven](https://wordpress.org/support/users/shyzer/)
 * (@shyzer)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17563913)
 * Thanks for the reply! 
   I have the setting “Initial View: Initially hide the table
   of contents” checked because I want to initially hide the view for most of my
   tables. This successfully overrides the default behavior throughout my site.However,
   there are one or two tables where I’d like to initially show the table instead.
   Is there anything registered with the shortcode that would allow me to do this?
   Or would I need to uncheck the “Initial View” setting and then manually add the
   initial_view=”hide” to all my shortcode where I want to hide the table?
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17610173)
 * Hi, Thank you for sharing this. We have raised a GitHub ticket in our repository
   regarding this concern and it will be addressed in the upcoming update. We kindly
   request your patience in the meantime.
 * Here is the ticket: [https://github.com/ahmedkaludi/Easy-Table-of-Contents/issues/732](https://github.com/ahmedkaludi/Easy-Table-of-Contents/issues/732)
 *  Thread Starter [Steven](https://wordpress.org/support/users/shyzer/)
 * (@shyzer)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17678150)
 * Thank you, I’ll be on the lookout for that upcoming update!
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17681517)
 * Sure, once we release the new version, we’ll update you here.
 *  [bmoooooo](https://wordpress.org/support/users/bmoooooo/)
 * (@bmoooooo)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17693623)
 * Yes, I need this too. Thanks
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17695389)
 * [@bmoooooo](https://wordpress.org/support/users/bmoooooo/) : Sure, we will update
   you here once we will release the new version. Kindly request your patience till
   the time.
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17756114)
 * Hi All, We have released the new update **version 2.0.66 **in which we have fixed
   this issue. Kindly update the plugin once with the new version, clear the cache
   once and retry. Please let us know if issue persist.
 *  Thread Starter [Steven](https://wordpress.org/support/users/shyzer/)
 * (@shyzer)
 * [2 years ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17758770)
 * Hey Magazine3, thank you so much for the speedy implementation! 
   I hate to say
   that it doesn’t seem to be working for me at the moment, however. I updated up
   to version 2.0.66.1, cleared my cache, and then tried placing [ez-toc initial_view
   =”show”] on a few pages. I didn’t change any of the other settings with my plugin
   installation. But the TOC still initially appear as hidden, not shown.Is there
   anything else I need to do in order to get the initial_view=”show” to work? Thanks!**
   Update:** The new feature seems to work on my staging site, so perhaps there’s
   a conflict elsewhere on my live site. I’ll investigate further tonight.
    -  This reply was modified 2 years ago by [Steven](https://wordpress.org/support/users/shyzer/).
    -  This reply was modified 2 years ago by [Steven](https://wordpress.org/support/users/shyzer/).
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17759127)
 * Hi @[Steven](https://wordpress.org/support/users/shyzer/) , Yes we have checked
   on our end and its working fine. Kindly check the conflict once on your end, 
   If still facing any issue kindly let us know.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Shortcode to initially show table?’ is closed to new replies.

 * ![](https://ps.w.org/easy-table-of-contents/assets/icon-256x256.png?rev=3045459)
 * [Easy Table of Contents](https://wordpress.org/plugins/easy-table-of-contents/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-table-of-contents/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-table-of-contents/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-table-of-contents/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-table-of-contents/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-table-of-contents/reviews/)

## Tags

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

 * 10 replies
 * 3 participants
 * Last reply from: [Magazine3](https://wordpress.org/support/users/magazine3/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/shortcode-to-initially-show-table/#post-17759127)
 * Status: resolved