[wp-trac] [WordPress Trac] #28234: Core Widgets as Shortcodes
WordPress Trac
noreply at wordpress.org
Tue May 13 03:59:36 UTC 2014
#28234: Core Widgets as Shortcodes
-------------------------+-----------------------------
Reporter: jmlapam | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I made a class to use a WP native Widgets as Shortcodes. It's quite basic
but I thought it would be a good way to stick to the core instead of
reinventing the wheel sometimes.
Just tell me if you find that relevant or not. Maybe it could be extended
to any widget created in WP. What do you think about this?
Link is here : https://github.com/TweetPressFr/Core-Widgets-As-Shortcodes
I've tested it and it works. Indeed one should use the appropriate params
for each widgets.
Try not to focus on the code itself which is pretty much a draft but do
you think the idea could be relevant?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28234>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list