WordPress.org

Support

Support » Plugins and Hacks » Pages plugin hack for WP 2.1

Pages plugin hack for WP 2.1

  • I use Adam Hopkinson’s excellent Pages+ plugin to make managing pages and subpages easier. It does not work with WP 2.1, but a minor hack fixes that. Around line 145, change the query to read:
    <br><br>
    $sql = “SELECT ID, menu_order, post_title, post_name, guid FROM $wpdb->posts WHERE post_parent = $parent_id AND post_status = ‘publish’ AND post_type = ‘page’ ORDER BY $orderby $sortorder”;

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pages plugin hack for WP 2.1’ is closed to new replies.