col4_home

The ColorWay Theme col4 home shortcode.


Usage

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

Defined (1)

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

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