WordPress.org

Plugin Directory

Changeset 574670


Ignore:
Timestamp:
07/19/12 14:32:19 (21 months ago)
Author:
wpmuguru
Message:

SSL warning fix, props Daisy, tag & release 0.9.1

Location:
genesis-responsive-slider
Files:
14 added
3 edited

Legend:

Unmodified
Added
Removed
  • genesis-responsive-slider/trunk/admin.php

    r518633 r574670  
    2525        'slideshow_pager' => 1, 
    2626        'slideshow_loop' => 1, 
     27        'slideshow_no_link' => 0, 
    2728        'slideshow_height' => 400, 
    2829        'slideshow_width' => 920, 
     
    246247 
    247248                    <p> 
    248                         <label for="<?php echo GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD; ?>[exclude_terms]"><?php printf( __( 'List which category, tag or other taxonomy IDs to include / exclude. (1,2,3,4 for example)', 'genesis-responsive-slider' ), '<br />' ); ?></label> 
     249                        <label for="<?php echo GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD; ?>[exclude_terms]"><?php printf( __( 'List which category, tag or other taxonomy IDs to exclude. (1,2,3,4 for example)', 'genesis-responsive-slider' ), '<br />' ); ?></label> 
    249250                    </p> 
    250251 
     
    347348 
    348349                <p> 
     350                    <input type="checkbox" name="<?php echo GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD; ?>[slideshow_no_link]" id="<?php echo GENESIS_SLIDER_SETTINGS_FIELD; ?>[slideshow_title_show]" value="1" <?php checked(1, genesis_get_responsive_slider_option('slideshow_no_link')); ?> /> <label for="<?php echo GENESIS_SLIDER_SETTINGS_FIELD; ?>[slideshow_no_link]"><?php _e( 'Do not link Slider image to Post/Page.', 'genesis-slider' ); ?></label> 
     351                </p> 
     352 
     353                <p> 
    349354                    <input type="checkbox" name="<?php echo GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD; ?>[slideshow_title_show]" id="<?php echo GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD; ?>[slideshow_title_show]" value="1" <?php checked(1, genesis_get_responsive_slider_option('slideshow_title_show')); ?> /> <label for="<?php echo GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD; ?>[slideshow_title_show]"><?php _e( 'Display Post/Page Title in Slider?', 'genesis-responsive-slider' ); ?></label> 
    350355                </p> 
  • genesis-responsive-slider/trunk/genesis-responsive-slider.php

    r518634 r574670  
    77    Author URI: http://www.studiopress.com 
    88 
    9     Version: 0.9.0 
     9    Version: 0.9.1 
    1010 
    1111    License: GNU General Public License v2.0 (or later) 
     
    2222 
    2323define( 'GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD', 'genesis_responsive_slider_settings' ); 
     24define( 'GENESIS_RESPONSIVE_SLIDER_VERSION', '0.9.1' ); 
    2425 
    2526add_action( 'after_setup_theme', 'GenesisResponsiveSliderInit', 15 ); 
     
    4142    add_action( 'wp_head', 'genesis_responsive_slider_head', 1 ); 
    4243    add_action( 'wp_footer', 'genesis_responsive_slider_flexslider_params' ); 
    43     add_filter( 'excerpt_more', 'genesis_responsive_slider_excerpt_more' ); 
    4444    add_action( 'widgets_init', 'genesis_responsive_sliderRegister' ); 
    4545     
     
    6565            'slideshow_loop', 
    6666            'slideshow_hide_mobile', 
     67            'slideshow_no_link', 
    6768            'slideshow_pager' 
    6869        ) ); 
     
    9798 
    9899    /** easySlider JavaScript code */ 
    99     wp_enqueue_script( 'flexslider', WP_PLUGIN_URL . '/genesis-responsive-slider/js/jquery.flexslider.js', array( 'jquery' ), '0.9.5', TRUE ); 
     100    wp_enqueue_script( 'flexslider', plugins_url('js/jquery.flexslider.js', __FILE__), array( 'jquery' ), GENESIS_RESPONSIVE_SLIDER_VERSION, TRUE ); 
    100101 
    101102} 
     
    107108 
    108109    /** standard slideshow styles */ 
    109     wp_register_style( 'slider_styles', WP_PLUGIN_URL . '/genesis-responsive-slider/style.css' ); 
     110    wp_register_style( 'slider_styles', plugins_url('style.css', __FILE__), array(), GENESIS_RESPONSIVE_SLIDER_VERSION ); 
    110111    wp_enqueue_style( 'slider_styles' ); 
    111112 
     
    291292 
    292293            $query_args = apply_filters( 'genesis_responsive_slider_query_args', $query_args ); 
     294            add_filter( 'excerpt_more', 'genesis_responsive_slider_excerpt_more' ); 
    293295         
    294296?> 
     
    305307                            $show_limit = genesis_get_responsive_slider_option( 'slideshow_excerpt_content_limit' ); 
    306308                            $more_text = genesis_get_responsive_slider_option( 'slideshow_more_text' ); 
     309                            $no_image_link = genesis_get_responsive_slider_option( 'slideshow_no_link' ); 
    307310                        }  
    308311                        while ( $slider_posts->have_posts() ) : $slider_posts->the_post(); 
     
    334337 
    335338                        <div class="slide-image"> 
    336                             <a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php genesis_image( "format=url&size=slider" ); ?>"></a> 
     339                    <?php 
     340                        if ( $no_image_link ) { 
     341 
     342                            genesis_image( 'format=html&size=slider' ); 
     343 
     344                        } else { 
     345                    ?> 
     346                            <a href="<?php the_permalink() ?>" rel="bookmark"><?php genesis_image( 'format=html&size=slider' ); ?></a> 
     347                    <?php 
     348 
     349                        } // $no_image_link 
     350                    ?> 
    337351                        </div><!-- end .slide-image --> 
    338352 
     
    346360        echo $after_widget; 
    347361        wp_reset_query(); 
     362        remove_filter( 'excerpt_more', 'genesis_responsive_slider_excerpt_more' ); 
    348363 
    349364        } 
  • genesis-responsive-slider/trunk/readme.txt

    r518635 r574670  
    44Tags: slider, slideshow, responsive, genesis, genesiswp, studiopress 
    55Requires at least: 3.2 
    6 Tested up to: 3.3 
    7 Stable tag: 0.9.0 
     6Tested up to: 3.4.1 
     7Stable tag: 0.9.1 
    88 
    99This plugin allows you to create a simple responsive slider that displays the featured image, along with the title and excerpt from each post. 
     
    6767== Changelog == 
    6868 
     69= 0.9.1 = 
     70* Fix slider HTML markup for validation 
     71* Fix SSL mixed cotent warning 
     72* Add setting to turn off image links 
     73* Fix Excerpt More filter to only apply to slides 
     74* UI text changes 
     75 
    6976= 0.9.0 = 
    7077* Beta Release 
Note: See TracChangeset for help on using the changeset viewer.