Changeset 416083
- Timestamp:
- 07/27/2011 08:35:16 PM (15 years ago)
- Location:
- frontpage-slideshow/trunk
- Files:
-
- 2 edited
-
frontpage-slideshow.php (modified) (8 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontpage-slideshow/trunk/frontpage-slideshow.php
r416021 r416083 4 4 Plugin URI: http://wordpress.org/extend/plugins/frontpage-slideshow/ 5 5 Description: Frontpage Slideshow provides a slide show like you can see on <a href="http://linux.com">linux.com</a> or <a href="http://modulaweb.fr/">modulaweb.fr</a> front page. <a href="options-general.php?page=frontpage-slideshow">Configuration Page</a> 6 Version: 0.9.9.3. 76 Version: 0.9.9.3.8 7 7 Author: Jean-François VIAL 8 8 Author URI: http://www.modulaweb.fr/ … … 25 25 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26 26 */ 27 define ('FRONTPAGE_SLIDESHOW_VERSION', '0.9.9.3. 7');27 define ('FRONTPAGE_SLIDESHOW_VERSION', '0.9.9.3.8'); 28 28 $fs_already_displayed = false; // the slideshow dont have been displayed yet 29 29 … … 45 45 if (!count($options)) $options = frontpageSlideshow_get_options(); 46 46 if (!$options['values']['fs_is_activated'] && !$force_display) return $content; 47 48 $fscategories = join(',',$options['values']['fs_cats']); 47 $fscategories = implode(',',$options['values']['fs_cats']); 49 48 50 49 if ((!is_feed() && is_front_page() && $options['values']['fs_insert']!='shortcode') || $force_display) { // the slideshow is only displayed on frontpage … … 70 69 $image = $image[0]; 71 70 } 72 } else { 71 } 72 if ($image=='') { 73 73 if (preg_match('/<img[^>]*src="([^"]*)"/i',$fspost->post_content,$matches)) { 74 74 $image = $matches[1]; … … 120 120 if (!count($options)) $options = frontpageSlideshow_get_options(); 121 121 if (!$options['values']['fs_is_activated'] && !$force_display) return; 122 123 $fscategories = join(',',$options['values']['fs_cats']); 124 $fsposts = get_posts('category='.$fscategories.'&orderby=ID&numberposts='.$options['values']['fs_slides']); 125 $fslast = count($fsposts) - 1; 126 127 frontpageSlideshow_JS($options,$fslast); 128 frontpageSlideshow_CSS($options,$fslast+1); 129 return ' 122 $fscategories = implode(',',$options['values']['fs_cats']); 123 $fsposts = get_posts('category='.$fscategories.'&orderby=ID&numberposts='.$options['values']['fs_slides']); 124 $fslast = count($fsposts) - 1; 125 126 frontpageSlideshow_JS($options,$fslast); 127 frontpageSlideshow_CSS($options,$fslast+1); 128 return ' 130 129 <script type="text/javascript"> 131 130 // <![CDATA[ … … 294 293 'fs_next_image' => get_bloginfo('url').'/wp-content/plugins/frontpage-slideshow/images/next.png', 295 294 'fs_rounded' => '1', 296 'fs_t heme' => 'default',295 'fs_template' => 'default', 297 296 'fs_pause_duration' => '5000', 298 297 'fs_transition_on_duration' => '500', … … 339 338 'fs_next_image' => 'variant', 340 339 'fs_rounded' => 'bool', 341 'fs_t heme' => 'variant',340 'fs_template' => 'variant', 342 341 'fs_pause_duration' => 'duration', 343 342 'fs_transition_on_duration' => 'duration', … … 383 382 'fs_next_image' => __('The «next slide» image','frontpage-slideshow'), 384 383 'fs_rounded' => __('The «use rounded corners» option','frontpage-slideshow'), 385 'fs_t heme' => __('The template','frontpage-slideshow'),384 'fs_template' => __('The template','frontpage-slideshow'), 386 385 'fs_pause_duration' => __('The slides\' display duration','frontpage-slideshow'), 387 386 'fs_transition_on_duration' => __('The transision\'s beginning duration','frontpage-slideshow'), -
frontpage-slideshow/trunk/readme.txt
r416021 r416083 5 5 Requires at least: 2.7.0 6 6 Tested up to: 3.2.1 7 Stable tag: 0.9.9.3. 77 Stable tag: 0.9.9.3.8 8 8 9 9 Frontpage Slideshow provides a slide show like you can see in linux.com front page … … 121 121 * v 0.9.9.3.6 : fix an error when the theme do not support posts thumbnails + atempt to fix some «always loading» behaviors 122 122 * v 0.9.9.3.7 : atempt to fix some «always loading» behaviors 123 * v 0.9.9.3.8 : fix the bug that uses post thumbnail even if none has been set for the post. 123 124 124 125 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.