[wp-trac] [WordPress Trac] #16109: Preview wigdets before publish

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 5 16:04:16 UTC 2011


#16109: Preview wigdets before publish
-----------------------------+------------------------------
 Reporter:  JonezJeA         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Widgets          |     Version:  3.1
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by ericmann):

 I don't think this would need a redesign of the architecture.

 Each widget defines its own configuration and markup, yes.  And that is
 used by the theme.  However, showing a preview of the widget's view would
 be more like showing a preview of a new theme before activation (which is
 already possible).

 All we'd need to do is add a property to the WP_Widget object (from which
 all widgets are derived) that defines whether or not a particular widget
 instance is active.  I assume we already have something similar to this
 because you can store "inactive" widgets on the Widgets management panel.

 But it should be relatively straight-forward to present a "what-if" view
 of the site's home page with a specific set of widgets.  This could render
 in a lightbox similar to the theme preview.

 So ... could we have this in 3.2?  Maybe.  Could we have this by 3.3?
 Definitely.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16109#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list