list

The Evolved list shortcode.


Usage

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

Defined (1)

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

/functions.php  
  1.  
  2. return '<a class="button ' . $atts['color'] .' '. $atts['size'] .'" href="' . $atts['url'] . '" >' .do_shortcode($content). '</a>'; 
  3.  
  4. // Unorderd List 
  5. add_shortcode('list', 'shortcode_list'); 
  6. function shortcode_list( $atts, $content = null ) { 
  7. $atts = shortcode_atts( 
  8. array( 
  9. 'type' => 'arrow',  
  10. ), $atts);