Plugin Directory

Changeset 688496


Ignore:
Timestamp:
03/28/2013 04:10:09 PM (13 years ago)
Author:
wp-maverick
Message:

Fix a minor output bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-parallax-content-slider/trunk/wp-parallax-content-slider.php

    r688465 r688496  
    125125
    126126    /**
    127      * Enable shortcodes : 
     127     * Enable shortcodes :
    128128     * [parallaxcontentslider]
    129129     * [parallaxcontentslider cat="2"]
     
    135135                                        'categ' => '',
    136136                                       ), $atts ) );
    137        
     137
    138138        get_wp_parallax_content_slider( $categ );
    139139    }
     
    144144    public function get_parallax_content_slider( $category = '' )
    145145    {
    146        
    147        
     146
     147
    148148        // Retrieving plugin parameters (user choices or default values)
    149149        $prlx_slider_settings = get_option( 'prlx_slider_settings' );
    150        
     150
    151151        $prlx_slider_mode               = $prlx_slider_settings['mode'];
    152152        $prlx_slider_theme              = $prlx_slider_settings['theme'];
     
    194194
    195195        $cat = '';
    196         if ( ! empty( $category ) ) 
     196        if ( ! empty( $category ) )
    197197        {
    198198            // Mode is forced to 'dynamic'
     
    219219
    220220        // TODO: remove this code in production mode
    221         echo $debug  = "cat : " . $cat . " | " . $category . "<br/>";
     221        // echo $debug  = "cat : " . $cat . " | " . $category . "<br/>";
    222222
    223223        $outputDynamic = "<div id='da-slider' class='da-slider'>\n";
Note: See TracChangeset for help on using the changeset viewer.