[wp-trac] [WordPress Trac] #31924: Use add_theme_support( 'more-tag' ) to control display of More Tag button in TinyMCE

WordPress Trac noreply at wordpress.org
Tue Apr 7 20:39:09 UTC 2015


#31924: Use add_theme_support( 'more-tag' ) to control display of More Tag button
in TinyMCE
-------------------------+-----------------------------
 Reporter:  mrwweb       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The More Tag (i.e. `<!--more-->`) can be inserted with a button that is in
 the top row of the TinyMCE editor by default. However, it's possible to
 build a theme where the More Tag has no functionality: a theme that uses
 `the_excerpt()` on all archive pages, the page for posts, and search
 results.

 It's a bad user experience for WordPress to display a button if it cannot
 have any effect on the display of content. Therefore, I think the best way
 to handle this would be to add a new `add_theme_support()` value of `more-
 tag`. This would still let themes opt-in any time it makes sense, but
 wouldn't clutter up the editor with pointless buttons.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31924>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list