Advertisement
jegtheme

vc_column_text.php

Jul 16th, 2014
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.49 KB | None | 0 0
  1. <?php
  2. $output = $el_class = $css_animation = '';
  3.  
  4. extract(shortcode_atts(array(
  5.     'el_class' => '',
  6.     'css_animation' => '',
  7.     'css' => ''
  8. ), $atts));
  9.  
  10. $el_class = $this->getExtraClass($el_class);
  11.  
  12. $css_class = '';
  13. $css_class .= $this->getCSSAnimation($css_animation);
  14. $output .= "\n\t".'<div class="'.$css_class.' '. $el_class .'">';
  15. $output .= "\n\t\t\t".do_shortcode($content, true);
  16. $output .= "\n\t".'</div> ' . $this->endBlockComment('.wpb_text_column');
  17.  
  18. echo $output;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement