[wp-trac] [WordPress Trac] #12982: Shortcodes don't allow shortcodes in attributes

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 15 06:30:41 UTC 2010


#12982: Shortcodes don't allow shortcodes in attributes
-----------------------------+----------------------------------------------
 Reporter:  Atoon            |       Owner:                  
     Type:  feature request  |      Status:  new             
 Priority:  normal           |   Milestone:  Future Release  
Component:  Shortcodes       |     Version:  3.0             
 Severity:  normal           |    Keywords:  needs-unit-tests
-----------------------------+----------------------------------------------

Comment(by Atoon):

 I thought something like an infobox:

 {{{
 [infobox-cd
 name="Abbey Road"
 cover="/laserdisc.jpg"
 artist="The Bombay Beach Boys"
 country="[flag id=mx] Argentina<br />[flag id=dk] Vanuatu (post-
 production)"
 rating="[stars no="3"]"
 prev="[[The Wall]]"
 next="[[Born in the U.S.A.]]" /]
 }}}

 It allow a shortcode to display an icon and allow brackets inside quotes
 to have wiki-like internal links, with a plugin. Also, having it like a
 shortcode helps to change the layout later while retaining the data.

 In general I want to have more wiki-like functionality in WordPress.
 MediaWiki has everything I need but feels overwhelming for private use,
 adds to many stuff and pages I don't need and you can't have pretty
 permalinks (yeah, that's an issue). Of course, not ''every'' wiki-like
 function should be on core as several stuff exist as plugins or even in
 core like revisions, but at least some current core stuff can be tweaked a
 bit to don't resort to much hacking.

 It's probably that I can resort to custom fields and WP template tweaks
 for the example given, and its true for most elaborate CMS
 implementations, but by the sandbox nature of a wiki-page some pages may
 require more snippets than a single fixed one.

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


More information about the wp-trac mailing list