I’ve been using WordPress 2.0 for quite some time already since the announcement of the upgrade. However, I’ve been so busy that I haven’t given much thought on the features and the admin tools.
Now, if you are also a WordPress 2.0 user, you’d notice that one of the new features is the preview window. Although it does provide you a sample of your post with all the themes and images of your site, it is somehow a bandwidth hog.
So if you’re like me who likes to post and perform edits quickly, here’s how to disable the preview window.
Find this block of code in …/wp-admin/post.php. You can find them on lines 82-85.
<div id='preview' class='wrap'>
<h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit ↑'); ?></a></small></h2>
<iframe src="<?php echo add_query_arg('preview', 'true', get_permalink($post->ID)); ?>" width="100%" height="600" ></iframe>
</div>
Replace the block of code with:
<!-- // disable post preview
<div id='preview' class='wrap'>
<h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit ↑'); ?></a></small></h2>
<iframe src="<?php echo add_query_arg('preview', 'true', get_permalink($post->ID)); ?>" width="100%" height="600" ></iframe>
</div>
// disable post preview -->
I simply placed the block of code inside comment tags <!–– comments ––>
There you have it. I hope this helps!
Related posts
5 Comments
Print This Post












