• stulegmo

    (@stulegmo)


    Yo all!
    while the writing box line number can be easily increased, this is not possible with the excerpt box (in “edit mode”.) Is there anybody out there knowing how to perform such action?
    Really thank you in advance for any hint you could give me!
    Stulegmo

Viewing 11 replies - 1 through 11 (of 11 total)
  • 1.2.1
    line 104
    edit-form-advanced.php
    <div><textarea rows="1" cols="40" name="excerpt" tabindex="4" id="excerpt"><?php echo $excerpt ?>
    Change it there ?

    Thread Starter stulegmo

    (@stulegmo)

    Thank you pods, I tried but the hack doesn’t work (BTW, I doublechecked to have emptied the cache and tried both with Safari and IE.)

    pericat

    (@pericat)

    You may need to also change wp-admin.css. Find the setting for #excerpt, and change
    height: 1.8em;
    to
    height: 8.8em;
    or whatever higher number you like.

    Thread Starter stulegmo

    (@stulegmo)

    Hallo pericat,
    as first, thanks a lot:))
    I follosed your suggestion and here is the error I got:
    Parse error: parse error, unexpected T_STRING in /usr/var/www/html/meaed/wp-admin/edit-form-advanced.php on line 269
    I checked all the missed blanks and so that could affect the source code but I got no results.
    This stuff really makes me crazy…

    TechGnome

    (@techgnome)

    stulegmo — I’m guessing you put that in the php file didn’t you….. take it out. put it in the wp-admin.CSS file…. that’s CSS code, not PHP.
    Tg

    Thread Starter stulegmo

    (@stulegmo)

    Hall Tg,
    I’ve found the mistake: I used a too big figure in the wp-admin.css. Now everythimg works.
    Thanks alot, chaps:)))
    stulegmo

    I was thrilled to find this tip and I’m trying to change the size of the Admin Manage Write excerpt box, and changing the css in wp-admin.css isn’t working. I’m in 1.5. I’ve been hunting for the stylesheet callout, to make sure I’m on the right css but I can’t find that through all the multiple file includes.

    Where is the css link and should I change the excerpt height through the css in 1.5? Or is it hard coded?

    PS: I know this is a beta topic, but it relates.

    I don’t know how I “fixed it” but frustrated with my post taking forever to save, I simply hit REFRESH and suddenly I had a wide Excerpt box. I’ve been saving, loading and reloading over 60 posts from the post page as I edit them but I had to do a REFESH to actually implement the css….odd. Anyway, thanks for the wonderful tip!

    I had a similar problem with my newest blog. I needed to have a longer excerpt box, however, nothing I tried worked (not even editing the CSS) – however, I opened up edit-form-advanced.php and found this line:
    <textarea rows=”1″ cols=”40″ name=”excerpt” tabindex=”4″ id=”excerpt”>

    change rows=”1″ to whatever number you like, I changed mine to 5 which was sufficient for me.

    Hope that helps someone out.

    Okay, I had this figured out and after an upgrade of the latests version, I have to go in and edit this again and this is what I find:

    <?php
    $rows = get_settings('default_post_edit_rows');
    if (($rows < 3) || ($rows > 100)) {
    $rows = 10;
    }
    ?>
    <div><textarea rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="5" id="content">

    Somewhere in the $rows, I have to change “something” to get the edit text area larger. I used to just change the rows="40" to a bigger number but now I’m stymied.

    Help?

    Well, with the new WP 1.5 out – it’s still the same method mention by theuniek1.

    Open up the edit-form-advanced.php file and change rows=”#” (# being the number you want) – the bit of code you’re referencing is for the actual “post content” – not for the excerpt.

    If that still does not work for you, edit the height in the wp-admin.css file – search for #excerpt and change height: 1.8em; to whatever you want or delete the height reference completely.

    Hope that helps

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Excerpt box size edit’ is closed to new replies.