WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Turning off Post Preview? Or reverting back to the one in 1.5. (12 posts)

  1. Keilya
    Member
    Posted 8 years ago #

    Heyo

    I upgraded to WordPress 2.0 sometime ago and do appreicate the enhanced "Post Preview" section that inegrates it with one's site's layout.

    However, the thing is with that, my bandwidth has soared considerably. Is there anyway to turn this preview option off or revert back to the way it was in 1.5(Just a plain preview of the words and their formating)?

    Thank you so much in advance!

  2. Keilya
    Member
    Posted 8 years ago #

    Anybody? Even if this is impossible...just post telling me so and I'll give up or something. :' (

  3. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Here is one solution:
    http://wordpress.org/support/topic/57492?replies=14

    I'll get the other..

  4. Mark (podz)
    Support Maven
    Posted 8 years ago #

    wp-admin/post.php

    Find these lines (they are near the start of the file:
    <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 &uarr;'); ?></a></small></h2>
    <iframe src="<?php echo add_query_arg('preview', 'true', get_permalink($post->ID)); ?>" width="100%" height="600" ></iframe>
    </div>

    Delete them - and only them.
    Save file.
    Upload.
    No more previews :)

  5. Keilya
    Member
    Posted 8 years ago #

    Sorry it took me so long to reply, school's been hectic!

    I must say, the 2nd solution WOKRS LIKE A CHARM!(The 1st seems to only hide the problem.) Thank you so much Podz! Now I can post/edit freely without thinking about myself being the evil bandwidth user. I was normally prepared to press the stop button once everything on top loads, don't need to do that anymore!

    RESOLVED!

  6. IIIIIIIV
    Member
    Posted 8 years ago #

    It still leaves the preview named anchor at the top of the page (which now goes nowhere) but it works great.

  7. spencerp
    Member
    Posted 8 years ago #

    Then you would modify the:

    wp-admin/edit-form-advanced.php file, find this:

    <small class="quickjump"><a href="#preview-post"><?php _e('preview &darr;'); ?></a></small>

    And remove it. =D There might be more even, I'm just too lazy to scrounge for them all lmaO! And even the one I listed, might even be wrong..I dunno though..this happens sometimes while being sober..haha

    Yeah, I just looked in this file, and it's there as well.. edit-page-form.php. So I'm SURE it's in other files as well. But, really that doesn't matter..atleast that stupid preview window is gone lol!

    spencerp

  8. IIIIIIIV
    Member
    Posted 8 years ago #

    Nah, I'll leave it. You are illustrating one of the reasons why script-driven CMS's and blogs drive me nuts. Just to remove something simple you need to edit ~45 different files.

    It's *never* as configurable/editable as boffins make it out.

  9. spencerp
    Member
    Posted 8 years ago #

    Nah, I'll leave it. You are illustrating one of the reasons why script-driven CMS's and blogs drive me nuts. Just to remove something simple you need to edit ~45 different files.

    Haha, yeah..nothing is ever simple anymore to edit, gotta go change crap in how many other files like ya said, to get rid of something...sigh. Dang shame too.. =(

    spencerp

    I'm a lazy "B", so..if I happen to remove the preview window, I'll just have to remember not to click that "go down" link then lol..

  10. Keilya
    Member
    Posted 8 years ago #

    I don't really mind that link honestly. All I wanted was the reduce the bandwidth needed each time I edit my posts, and that did just that. =)

  11. spencerp
    Member
    Posted 8 years ago #

    I don't really mind that link honestly. =)

    Yeah, I'm right there with ya on that one lol. I was just merely saying something about it, because IIIIIIIV mentioned it. You'll have to pardon me on that haha.. I'm usually digging myself a "hole", or making more "work" for myself actually lol. =D

    However, I'm still debating on removing that preview window though, cause it's actually more helpful when in the CP, you don't need to go to the index page, to see the goof ups, and then have to go back into the control panel again to fix it.. =/ But, I'll think about it though. =D

    spencerp

  12. Keilya
    Member
    Posted 8 years ago #

    Ahh I see, thing about me is that I rather see it in another tab(as a whole site), and then edit accordingly. I have another problem here too, but nobody has replied since. All help would be appreciated! http://wordpress.org/support/topic/65604?replies=2

Topic Closed

This topic has been closed to new replies.

About this Topic