WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Page Tree
Fix for WP 3.0 (3 posts)

  1. sommernyte
    Member
    Posted 4 years ago #

    If you've upgraded to 3.0 and this plugin has stopped working, go to wppagetree.php in the plugin directory and find the following line (approximately 404):

    else {
    				$out .= "<a class=\"$pageStatus\" href=\"" . get_bloginfo('wpurl') . "/wp-admin/page.php?action=edit&post=$pageID\">" . $pageTitle . "</a> <a style=\"font-size: 10px;\" class=\"$pageStatus\" href=\"$pageURL\">#</a>";
    			}

    Replace with:

    else {
    				$out .= "<a class=\"$pageStatus\" href=\"" . get_bloginfo('wpurl') . "/wp-admin/post.php?post=$pageID&action=edit\">" . $pageTitle . "</a> <a style=\"font-size: 10px;\" class=\"$pageStatus\" href=\"$pageURL\">#</a>";
    			}

    http://wordpress.org/extend/plugins/page-tree/

  2. coloradoouting
    Member
    Posted 4 years ago #

    Nice one.. thanks for the fix sommernyte!

  3. LEVI44
    Member
    Posted 3 years ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags