• Resolved leahs2

    (@leahs2)


    I would like to keep the default values in the quickpost widget when a user clicks in the box. So they can fill in the default values rather than have them erase. Any thoughts??

    Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author inapan

    (@inapan)

    Hi Leahs2,

    You will have to do some editing in the quick-post-widget.php file.
    In the current 1.7 version on line 379 remove the following code:
    onfocus="if(this.value=='<?php echo '<' . $post_title_default . '>'; ?>') this.value=''; return false;"

    On line 382 remove:
    onfocus="if(this.value=='<?php echo '<' . $post_content_default . '>'; ?>') this.value=''; return false;"

    Remember that you will lose any modifications made in the code when updating the plugin.

    Good luck,
    Perry

    Thread Starter leahs2

    (@leahs2)

    Thanks, Perry!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quick Post Widget keep defaults’ is closed to new replies.