With pagemash 1.3
Wordpress 2.9
Place a page into the trash (don't empty the trash)
This page will appear as a "normal" page in the pagemash structure.
Ideally it would be X-ed out with a red ex or hazed out in red.
AWESOME PLUGIN!
With pagemash 1.3
Wordpress 2.9
Place a page into the trash (don't empty the trash)
This page will appear as a "normal" page in the pagemash structure.
Ideally it would be X-ed out with a red ex or hazed out in red.
AWESOME PLUGIN!
With pagemash 1.3
Wordpress 2.9
Totally agree about PageMash, it is fantastic!
But I have a question... where is the "trash" anyhoo... not in the PageMash menu... Maybe it could be inlcuded so you can review trashed pages?
Agreed, PageMash is awesome and working in both WP and WPMU. Kudos and donations to the developer :-)
if you don't want pageMash to list trashed pages, there's a lil hack :
- find the pagemash.php file in the plugin directory
- on line 70 and 72, you should have the SQL requests.
- simply add "AND post_status != 'trash'" to them and you're done :
`if($wp_version >= 2.1){ //get pages from database
$pageposts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_type = 'page' AND post_parent = '$post_parent' AND post_status != 'trash' ORDER BY menu_order");
}else{
$pageposts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'static' AND post_parent = '$post_parent' AND post_status != 'trash' ORDER BY menu_order");
}`
Works like a charm, Kaayru. Thanks a ton.
I fixed a bunch of warnings the plugin was producing with debugging turned on. You can download the file from here: http://binarym.com/wp-content/uploads/2010/03/pagemash.php_.zip
This topic has been closed to new replies.