Changes between Initial Version and Version 1 of Ticket #28564, comment 1
- Timestamp:
- 06/17/2014 03:02:48 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28564, comment 1
initial v1 5 5 {{{ 6 6 function footag_func( $atts ) { 7 return " foo = {$atts['foo']}";7 return "title = {$atts['title']}"; 8 8 } 9 add_shortcode( 'footag', 'footag_func');9 add_shortcode( 'expand', 'footag_func' ); 10 10 }}} 11 11 2. Create a post with this content: `[expand title="<strong>Strong Test</strong>"][/expand]`.