col2_last

The ColorWay Theme col2 last shortcode.


Usage

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

Defined (3)

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

/shortcodes.php  
  1. add_shortcode('col2', 'col2_shortcode'); 
  2. /** 2 Columns Last */ 
  3. function col2_last_shortcode( $atts, $content = null ) { 
  4. return '<div class="one_half last">' . do_shortcode($content) . '</div>'; 
  5. add_shortcode( 'col2_last', 'col2_last_shortcode' ); 
  6. /** 3 Columns */ 
  7. function col3_shortcode( $atts, $content = null ) { 
  8. return '<div class="one_third">'.do_shortcode($content).'</div>'; 
  9. add_shortcode('col3', 'col3_shortcode'); 
/functions/inkthemes-functions.php  
  1. add_shortcode('col2', 'col2_shortcode'); 
  2. /** 2 Columns Last */ 
  3. function col2_last_shortcode( $atts, $content = null ) { 
  4. return '<div class="one_half last">' . do_shortcode($content) . '</div>'; 
  5. add_shortcode( 'col2_last', 'col2_last_shortcode' ); 
  6. /** 3 Columns */ 
  7. function col3_shortcode( $atts, $content = null ) { 
  8. return '<div class="one_third">'.do_shortcode($content).'</div>'; 
  9. add_shortcode('col3', 'col3_shortcode'); 
/functions/shortcodes.php  
  1. add_shortcode('col2', 'col2_shortcode'); 
  2.  
  3.  
  4.  
  5. /** 2 Columns Last */ 
  6. add_shortcode( 'col2_last', 'col2_last_shortcode' ); 
  7. function col2_last_shortcode( $atts, $content = null ) { 
  8. return '<div class="one-half last">' . do_shortcode($content) . '</div>'; 
  9.  
  10. /** 3 Columns */