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:
$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”;
- The topic ‘Pages plugin hack for WP 2.1’ is closed to new replies.