col3_4

The ColorWay Theme col3 4 shortcode.


Usage

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

Defined (3)

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

/shortcodes.php  
  1. add_shortcode('col1_4_last', 'col1_4_last_shortcode'); 
  2. /** Three-Fourth Columns */ 
  3. function col3_4_shortcode( $atts, $content = null ) { 
  4. return '<div class="three_fourth">'.do_shortcode($content).'</div>'; 
  5. add_shortcode('col3_4', 'col3_4_shortcode'); 
  6. /** Three-Fourth Columns Last */ 
  7. function col3_4_last_shortcode( $atts, $content = null ) { 
  8. return '<div class="three_fourth last">'.do_shortcode($content).'</div>'; 
  9. add_shortcode('col3_4_last', 'col3_4_last_shortcode'); 
/functions/inkthemes-functions.php  
  1. add_shortcode('col1_4_last', 'col1_4_last_shortcode'); 
  2. /** Three-Fourth Columns */ 
  3. function col3_4_shortcode( $atts, $content = null ) { 
  4. return '<div class="three_fourth">'.do_shortcode($content).'</div>'; 
  5. add_shortcode('col3_4', 'col3_4_shortcode'); 
  6. /** Three-Fourth Columns Last */ 
  7. function col3_4_last_shortcode( $atts, $content = null ) { 
  8. return '<div class="three_fourth last">'.do_shortcode($content).'</div>'; 
  9. add_shortcode('col3_4_last', 'col3_4_last_shortcode'); 
/functions/shortcodes.php  
  1.  
  2. /** Three-Fourth Columns */ 
  3. function col3_4_shortcode( $atts, $content = null ) { 
  4. return '<div class="three-fourth">'.do_shortcode($content).'</div>'; 
  5. add_shortcode('col3_4', 'col3_4_shortcode'); 
  6.  
  7. /** Three-Fourth Columns Last */ 
  8. function col3_4_last_shortcode( $atts, $content = null ) { 
  9. return '<div class="three-fourth last">'.do_shortcode($content).'</div>';