col2_home

Homepage 2 Columns.


Usage

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

Defined (1)

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

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