accordion

The Evolved accordion shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[accordion]'); 
  1. // variable usage 
  2. $result = do_shortcode('[accordion]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/functions.php  
  1.  
  2. return $out; 
  3.  
  4. // Accordion 
  5. add_shortcode('accordion', 'shortcode_accordion'); 
  6. function shortcode_accordion( $atts, $content = null ) { 
  7. extract(shortcode_atts(array( 
  8. ), $atts)); 
  9.  
  10. $out = '';