Title: [Plugin: WordPress Page Tree] page tree shortcode options typo in code
Last modified: August 20, 2016

---

# [Plugin: WordPress Page Tree] page tree shortcode options typo in code

 *  [raven97](https://wordpress.org/support/users/raven97/)
 * (@raven97)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-page-tree-page-tree-shortcode-options-typo-in-code/)
 * The example shown in the WordPress Page Tree FAQ fails to toggle display of the
   page tree controls.
 * from the FAQ
    . . . The complete options are `[pagetree expand=0 show_controls
   =0 only_subpages=0 child_of=0]` . . .
 * However, with show_controls=1, the controls are are not displayed because of 
   a typo for the show_controls option.
 * In the code in plugin template **~/page-tree/wppagetree.php** the page tree short
   code option **show_controls** is incorrectly spelled **show_control**.
 * Until this is fixed, using the following example will display page tree controls
   when using a shortcode in a page
    `[pagetree expand=0 show_control=1 only_subpages
   =0 child_of=0]`
 * [http://wordpress.org/extend/plugins/page-tree/](http://wordpress.org/extend/plugins/page-tree/)

The topic ‘[Plugin: WordPress Page Tree] page tree shortcode options typo in code’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/page-tree.svg)
 * [WordPress Page Tree](https://wordpress.org/plugins/page-tree/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-tree/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-tree/)
 * [Active Topics](https://wordpress.org/support/plugin/page-tree/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-tree/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-tree/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [raven97](https://wordpress.org/support/users/raven97/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-page-tree-page-tree-shortcode-options-typo-in-code/)
 * Status: not resolved