Re-Enable Wordpress Post Preview
02/13/2008 // No Comments // Categories: Internet // Tags: blog, code, edit, enable, Internet, php, post, preview, Software, web, wordpress.I remember back when I first started blogging there was this feature in Wordpress that allowed you to preview a post that you were writing, right below the editor. I always wondered what happened to it. Opening another tab or window to preview my post can get annoying after a while. So I went out and found a way to re-enable the post preview option.
- First, go into your wp-admin folder and open up your post.php file.
- Then go down to the line that contains the code below. It was at line 72 for me, but it may be a little different for you.
include('edit-form-advanced.php'); - Underneath that line of code, insert the following:
?>
<div id='preview' class='wrap'>
<h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?></h2>
<iframe src="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" width="100%" height="600" ></iframe>
</div>
<?php - Save your post.php file.
Now, give it a try. I tested it on the latest version of Wordpress (2.3.3) and it works great. When you get done writing a post and you want to preview it, just click the Save and Continue Editing button, then scroll down to the bottom of the Write Post page and you’ll see the preview.
Thanks to WorkingAtHomeInternet.com.
Send Comment
Add Single.php File to this Wordpress Theme Update: I’m no longer using the theme mentioned ...
Redirect Mobile Visitors with Mowser Wordpress Plugin If you don’t know what Mowser is, it is a great ...
Wordpress 2.3 is Here If you haven’t updated your blog to Wordpress ...
30 Useful Wordpress Hacks TechnoBuzz.net made a nice list the other day of some ...
All-in-one RSS Reader and Blogging Software I have not really found any blogging software that ...
Little Tip: Schedule Defraggler for Daily Defrags
01/02/2010
Windows 7 Full Installation with Upgrade Media
02/12/2009Feedly For Google Chrome Released
26/11/2009
7 Google Wave Invites Available
13/11/2009
Watch TV and Movies online with Clicker
12/11/2009
I Have PMOG Invites!
27/02/2008 | 39 comments
World Of Warcraft: Attempt To Improve Frame Rates
08/11/2007 | 24 comments
Sync an iPhone with another iTunes
27/09/2008 | 17 comments
Featured Review: Videoraptor
18/03/2008 | 13 comments
Submitted JJjunk to 9rules
07/08/2008 | 11 comments
Categories
What I'm Doing...
- NAVIGON Brings MyRegion Turn-by-Turn Navigation to iPhone undefined 2 days ago
- Le Whif Coffee Inhaler: First Hit's Free $3 http://bit.ly/93xKwu 6 days ago
- TomTom for U.S. and Canada updated with real time traffic and more http://bit.ly/czYVbL 6 days ago
- More updates...
Posting tweet...
Powered by Twitter Tools
- © 2009 JJjunk. All rights reserved.
- WPLine 1.0 designed by Hutek - A member of Vietnam Wordpress Commnunity.
- Powered by Wordpress. Work fine on almost popular browsers.


