Changeset 688496
- Timestamp:
- 03/28/2013 04:10:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-parallax-content-slider/trunk/wp-parallax-content-slider.php
r688465 r688496 125 125 126 126 /** 127 * Enable shortcodes : 127 * Enable shortcodes : 128 128 * [parallaxcontentslider] 129 129 * [parallaxcontentslider cat="2"] … … 135 135 'categ' => '', 136 136 ), $atts ) ); 137 137 138 138 get_wp_parallax_content_slider( $categ ); 139 139 } … … 144 144 public function get_parallax_content_slider( $category = '' ) 145 145 { 146 147 146 147 148 148 // Retrieving plugin parameters (user choices or default values) 149 149 $prlx_slider_settings = get_option( 'prlx_slider_settings' ); 150 150 151 151 $prlx_slider_mode = $prlx_slider_settings['mode']; 152 152 $prlx_slider_theme = $prlx_slider_settings['theme']; … … 194 194 195 195 $cat = ''; 196 if ( ! empty( $category ) ) 196 if ( ! empty( $category ) ) 197 197 { 198 198 // Mode is forced to 'dynamic' … … 219 219 220 220 // TODO: remove this code in production mode 221 echo $debug = "cat : " . $cat . " | " . $category . "<br/>";221 // echo $debug = "cat : " . $cat . " | " . $category . "<br/>"; 222 222 223 223 $outputDynamic = "<div id='da-slider' class='da-slider'>\n";
Note: See TracChangeset
for help on using the changeset viewer.