WordPress.org

Ready to get started?Download WordPress

Forums

Add quicktags to "excerpt" (3 posts)

  1. jvolvovski
    Member
    Posted 3 years ago #

    Hi,
    Is there a way to add the same quicktags that appear above the "write post" field to the "excerpt" field?

    I basically need just the bold, italic and link fields to be available.

    Thanks so much.
    Jenny

  2. jvolvovski
    Member
    Posted 3 years ago #

    Adding the code below in the "post_excerpt_meta_box($post)" function inside wp-admin/meta-boxes.php shows the quicktags, but inserts all the code in the "write post" box.

    <div id="quicktags">
    	<?php wp_print_scripts( 'quicktags' ); ?>
        <script type="text/javascript">edToolbar()</script>
    </div>

    Would there be a way to pass a parameter to edToolbar(), that discerns whether its the excerpt or write post?

  3. Bob33
    Member
    Posted 3 years ago #

    Yes, this would be very handy. Anyone had any success?

Topic Closed

This topic has been closed to new replies.

About this Topic