Title: [Plugin: Text Expander] Expand a section by default
Last modified: August 20, 2016

---

# [Plugin: Text Expander] Expand a section by default

 *  [ericjforman](https://wordpress.org/support/users/ericjforman/)
 * (@ericjforman)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-text-expander-expand-a-section-by-default/)
 * Can anyone figure out how to edit this plugin code to allow a given section to
   be expanded by default? Not all of them, just one, e.g. with a tag like
 * [expand Click To Expand expanded=”true”]
    This text starts out expanded when 
   the page is loaded. [/expand]
 * one of the problems is the tag looks for all text inside it for the link text,
   vs using a parameter. so it would have to be rewritten to do something like this
 * [expand title=”Click To Expand” exapnded=”true”]
 * but that would not be backwards compatible. so maybe it could cleverly parse 
   out the expanded=”” parameter and remove it from the title text…
 * [http://wordpress.org/extend/plugins/text-expander/](http://wordpress.org/extend/plugins/text-expander/)

The topic ‘[Plugin: Text Expander] Expand a section by default’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/text-expander.svg)
 * [Text Expander](https://wordpress.org/plugins/text-expander/)
 * [Support Threads](https://wordpress.org/support/plugin/text-expander/)
 * [Active Topics](https://wordpress.org/support/plugin/text-expander/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/text-expander/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/text-expander/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ericjforman](https://wordpress.org/support/users/ericjforman/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-text-expander-expand-a-section-by-default/)
 * Status: not resolved