col2_home_last

Homepage 2 Columns Last.


Usage

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

Defined (1)

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

/functions/shortcodes.php  
  1. function col2_home_shortcode( $atts, $content = null ) { 
  2. return '<div class="col2">' . do_shortcode($content) . '</div>'; 
  3.  
  4. /** Homepage 2 Columns Last */ 
  5. add_shortcode( 'col2_home_last', 'col2_home_last_shortcode' ); 
  6. function col2_home_last_shortcode( $atts, $content = null ) { 
  7. return '<div class="col2 last">' . do_shortcode($content) . '</div>'; 
  8.  
  9.