• i have a nice addition to this plugin.

    I have implemented this for myself:
    to add a options
    “current page”
    “current page parent”

    as a parent.

    this would list all subpages of the current page displayed.
    and current page parent would list all pages on the same level (with the same parent)

    the code i used for this:

    i added a option to the dropdown.
    with -1 and -2

    where
    current page parent = -1
    current page = -2

    and in the php file i added on line 26:

    if($parent == -1) {
    	global $post;
    	$parent = $post->post_parent;
    }elseif($parent == -2) {
            global $post;
            $parent = $post->ID;
    }

    so maby you can add this to you next version.

    http://wordpress.org/extend/plugins/subzane-subpage-list-widget/

  • The topic ‘[Plugin: SubZane Sub Page List Widget] [PLUGIN: SZ Sub Page List Widget] suggestion add option curre’ is closed to new replies.