How to disable drafts?

If by draft, you mean “autosave”, you can consider using this plugin: http://wordpress.org/extend/plugins/wp-feature-disable/ If you want to disable revisions, instead…try this: define(‘WP_POST_REVISIONS’, ‘false’); You can put that in your /wp-config.php file and it should immediately take effect. Any previously saved revisions in your database will need to be purged. You can do it by running … Read more

Custom CSS for viewing a draft page on the frontend?

There is probably a better way but you could add the following CSS to your stylesheet, which will add a little banner when viewing a page that has a status of draft. .status-draft.hentry:before { content: “Previewing a Draft”; background: #87C5D6 !important; display: block; text-align: center; } You could also use these classes for the different … Read more

I can’t preview post’s change once they are published

This is probably not the best way to do it since it wont persist after wordpress updates (but hopefully the update will correct it. In wp-admin/includes/post.php ,edit the post_preview() function just before returning the apply_filters( ‘preview_post_link’, $url ); put the following code: //ORIGINAL //$url = add_query_arg( $query_args, get_permalink( $post->ID, true ) ); //CHANGES to make … Read more