col2_shortcode

2 Columns.

Description

col2_shortcode( $atts, (null) $content = null ); 

Parameters (2)

0. $atts
The atts.
1. $content — Optional. (null) => null
The content.

Usage

  1. if ( !function_exists( 'col2_shortcode' ) ) { 
  2. require_once '/functions/inkthemes-functions.php'; 
  3.  
  4. // The atts. 
  5. $atts = null; 
  6.  
  7. // The content. 
  8. $content = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = col2_shortcode($atts, $content); 
  12.  

Defined (3)

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

/functions/inkthemes-functions.php  
  1. function col2_shortcode( $atts, $content = null ) { 
  2. return '<div class="one_half">'.do_shortcode($content).'</div>'; 
/functions/shortcodes.php  
  1. function col2_shortcode( $atts, $content = null ) { 
  2. return '<div class="one-half">'.do_shortcode($content).'</div>'; 
/shortcodes.php  
  1. function col2_shortcode( $atts, $content = null ) { 
  2. return '<div class="one_half">'.do_shortcode($content).'</div>';