WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Page Tree
page tree shortcode options typo in code (1 post)

  1. raven97
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic