[wp-trac] [WordPress Trac] #33473: Shortcodes + Widgets. Unified "component" API

WordPress Trac noreply at wordpress.org
Fri Aug 21 14:05:50 UTC 2015


#33473: Shortcodes + Widgets. Unified "component" API
-----------------------------+------------------------------
 Reporter:  brentjett@…      |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  template
-----------------------------+------------------------------

Comment (by brentjett@…):

 The Content blocks plugin was similar but, I believe, wasn't so much a
 merged API as a content builder interface. I could be wrong about that. I
 understand why core might want to keep any sort of page builder notion in
 plugin territory.

 What I'm proposing is only a unified API for creating a single component
 as both a widget and shortcode simultaneously since they do effectively
 the same job in two different places. This would not change how the end
 user interacts with widgets or shortcodes at all. It doesn't even have to
 change the existing shortcode or Widget API. This is absolutely based on
 the premise that the Shortcake plugin will eventually find its way into
 core, which gives shortcodes an input fields UI. Without that, this is a
 moot point.

 Replying to [comment:1 jdgrimes]:
 > I think a similar idea called "content blocks" has floated around for a
 while. I think there might have even been a team working on a feature
 plugin, but I don't know if it is still active.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33473#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list