Changeset 1120145
- Timestamp:
- 03/25/2015 03:34:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wr-pagebuilder/trunk/core/shortcode/layout/column.php
r1119552 r1120145 64 64 public function shortcode_data() { 65 65 $this->config['params'] = WR_Pb_Helper_Shortcode::generate_shortcode_params( $this->items, null, null, false, true ); 66 $this->config['params']['span'] = ( ! empty( $this->params['span'] ) ) ? $this->params['span'] : 'span12'; 66 67 $this->config['shortcode_structure'] = WR_Pb_Helper_Shortcode::generate_shortcode_structure( $this->config['shortcode'], $this->config['params'] ); 67 68 } … … 74 75 */ 75 76 public function element_in_pgbldr( $content = '', $shortcode_data = '' ) { 76 $column_html = empty( $content) ? '' : WR_Pb_Helper_Shortcode::do_shortcode_admin( $content, true );77 $span = ( ! empty( $this->params['span'] ) ) ? $this->params['span'] : 'span12';77 $column_html = empty( $content ) ? '' : WR_Pb_Helper_Shortcode::do_shortcode_admin( $content, true ); 78 $span = ( ! empty( $this->params['span'] ) ) ? $this->params['span'] : 'span12'; 78 79 if ( empty( $shortcode_data ) ) 79 80 $shortcode_data = $this->config['shortcode_structure'];
Note: See TracChangeset
for help on using the changeset viewer.