[wp-trac] [WordPress Trac] #14481: Shortcode Enhancements

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 13 14:15:53 UTC 2010


#14481: Shortcode Enhancements
-------------------------+--------------------------------------------------
 Reporter:  deadowl      |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Shortcodes   |     Version:  3.0            
 Severity:  normal       |    Keywords:  has-patch      
-------------------------+--------------------------------------------------

Comment(by deadowl):

 I realized that in the future, I might want to enable nesting to be
 context-sensitive. The current callback features don't scale to this idea.

 e.g. {{{
 [faculty id="jmaloi"]
   <dl>
     <dt>Name</dt>
     <dd>[faculty-name]</dd>
     <dt>Phone</dt>
     <dd>[faculty-phone]</dd>
   </dl>
 [/faculty]
 }}}

 I wonder if it would really have to go that far, though, because then you
 might as well want to make a template for the content type.

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


More information about the wp-trac mailing list