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

About the Author

author photo

Everton is based in London and has worked in the internet and mobile space for over ten years now, and before that worked in corporate strategy and consulting. He has a degree in Economics from Cambridge University, and currently runs the Portal and online operations for one of the largest ISPs in the UK. He also writes for Windows 7 News.

See All Posts by This Author

There Are 6 Responses So Far. »

  1. #1

    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.

  2. #2

    I think what I’m going to do is download a 2.0.x version and compare the files to see what was deleted

  3. #3

    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

  4. #4

    hmm didn’t work - are you sure it works with the visual editor?

  5. #5

    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.

  6. #6

    yep, I could see the code. Oh well, just have to live without it - not a biggie

Subscribe without commenting

Post a Response


Comment Policy: Any comments are permitted only because the site owner is letting you post, and any comments could be removed for any reason at the absolute discretion of the site owner.
  • Subscribe Now!

    subscribe to my feed subscribe to my feed
    1 - What is RSS?
    2 - Or, signup & receive updates by email!
  • www.checkcost.co.uk

    Read Reviews & Compare

    Computer

    Laptops

    Printer

    MP3 Players

    Compare Prices

  • Polls

    Which Mobile OS Will Be The Winner in 2009?






    View Results

    Loading ... Loading ...
  • RSS Windows 7 News

    • An error has occurred; the feed is probably down. Try again later.
  • Meta