How To Add ‘Preview’ And ‘Edit’ Back To WordPress 2.1.x?
One of the features that I miss the most from WordPress 2.1.x is the “preview ↓†and “edit ↑†jump links that allowed to you move quickly between the edit textarea and the preview iframe.
Matt Cutts managed to add the links back in by adding the following code:
<h2 id=â€write-postâ€><small class=â€quickjumpâ€><a href=â€#preview-postâ€><?php _e(’preview ↓’); ?></a></small></h2>
or
<small class=â€quickjumpâ€><a href=â€#write-postâ€><?php _e(’edit ↑’); ?></a></small>
But, I can’t get his method to work. Can anyone help? Am I just putting the code in the wrong place/file?
Bookmark & Share
Related Posts
- WordPress 2.2 - Problems With Comment Preview?
- I’ve Installed Snap Preview Anywhere
- What Do You Think Of Internet Explorer 7 Beta 2 Preview?
- ITrip replacement preview
- Preview Of New Eureka WordPress Theme
- Fix For quicktags.js Problems With WordPress 2.2
- WordPress Optimisation: Control When Plugins Are Loaded





Comment by Jayson Joseph on 4 April 2007:
You can easily verify whether what you added is correct. When you are editing, do a “View Source” from browser and check whether these lines appear.
The code is simple and it points the anchor tag to a id.
Comment by Everton on 4 April 2007:
I think what I’m going to do is download a 2.0.x version and compare the files to see what was deleted
Comment by Enblogopedia on 4 April 2007:
Hi,
from the admin folder edit the post.php file and at line 71 add this within the h2 header tag
Now edit the edit-form-advanced.php file and at the line 15 and after the “wrap” division tag add this:
I believe it would be the same in the page.php and the edit-page-form.php files
GN
Comment by Everton on 6 April 2007:
hmm didn’t work - are you sure it works with the visual editor?
Comment by Enblogopedia on 6 April 2007:
There is nothing to do with the visual editor. I tried it locally and it worked!
Anyway, did you added the code I wrote in the last comment because your blog didn’t accept the code and execute it directly.
(or did you see it from your admin panel?)
Anyawy, I think you should use this plugin it`s very useful.
Comment by Everton on 6 April 2007:
yep, I could see the code. Oh well, just have to live without it - not a biggie