Meteor Slides - Version 1.2.3

Version Description

  • Centered slides, fixed navigation bugs, added slideshow navigation buttons, updated translation files.
Download this release

Release Info

Developer jleuze
Plugin Icon 128x128 Meteor Slides
Version 1.2.3
Comparing to
See all releases

Code changes from version 1.2.2 to 1.2.3

css/meteor-slides.css CHANGED
@@ -6,7 +6,7 @@
6
 
7
  #meteor-slideshow, .meteor-slides {
8
  margin: 0;
9
- padding: 0;
10
  position: relative;
11
  z-index: 1;
12
  overflow: hidden;
@@ -27,14 +27,15 @@
27
  display: block;
28
  }
29
 
30
- #meteor-slideshow .slide a img {
31
  margin: 0;
32
  padding: 0;
33
  border: 0;
34
  }
35
 
36
  #meteor-slideshow .slide img {
37
- margin: 0;
 
38
  padding: 0;
39
  border: 0;
40
  }
@@ -42,29 +43,29 @@
42
  ul#meteor-nav {
43
  display: none;
44
  list-style: none;
45
- position: relative;
46
- top: 0px;
47
- z-index: 50;
48
  margin: 0;
49
  padding: 0;
50
  }
51
 
52
- *ul#meteor-nav {
53
- position: absolute;
 
 
 
54
  }
55
 
56
- #meteor-nav #prev {
57
- float: left;
58
- margin: 0;
59
  }
60
 
61
- #meteor-nav #next {
62
- float: right;
63
- margin: 0;
64
  }
65
 
66
  #meteor-nav a {
67
  display: block;
 
 
68
  width: 25px;
69
  text-indent: -9999px;
70
  outline: none;
@@ -84,4 +85,30 @@ ul#meteor-nav {
84
 
85
  #meteor-nav #next a:hover {
86
  background: url('../images/next.png') no-repeat center right;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  }
6
 
7
  #meteor-slideshow, .meteor-slides {
8
  margin: 0;
9
+ padding: 0 0 15px 0;
10
  position: relative;
11
  z-index: 1;
12
  overflow: hidden;
27
  display: block;
28
  }
29
 
30
+ #meteor-slideshow .slide a {
31
  margin: 0;
32
  padding: 0;
33
  border: 0;
34
  }
35
 
36
  #meteor-slideshow .slide img {
37
+ display: block;
38
+ margin: auto;
39
  padding: 0;
40
  border: 0;
41
  }
43
  ul#meteor-nav {
44
  display: none;
45
  list-style: none;
 
 
 
46
  margin: 0;
47
  padding: 0;
48
  }
49
 
50
+ ul#meteor-nav li {
51
+ list-style: none;
52
+ margin: 0;
53
+ padding: 0;
54
+ display: inline;
55
  }
56
 
57
+ #meteor-nav #prev a {
58
+ left: 0px;
 
59
  }
60
 
61
+ #meteor-nav #next a {
62
+ right: 0px;
 
63
  }
64
 
65
  #meteor-nav a {
66
  display: block;
67
+ position: absolute;
68
+ z-index: 50;
69
  width: 25px;
70
  text-indent: -9999px;
71
  outline: none;
85
 
86
  #meteor-nav #next a:hover {
87
  background: url('../images/next.png') no-repeat center right;
88
+ }
89
+
90
+ #meteor-buttons {
91
+ margin: 0;
92
+ position: absolute;
93
+ bottom: 0px;
94
+ left: 46%;
95
+ }
96
+
97
+ #meteor-buttons a {
98
+ background: url('../images/buttons.png') no-repeat bottom left;
99
+ width: 10px;
100
+ height: 10px;
101
+ margin: 0 2px;
102
+ display: block;
103
+ float: left;
104
+ text-indent: -9999px;
105
+ outline: none;
106
+ }
107
+
108
+ #meteor-buttons a:hover {
109
+ background: url('../images/buttons.png') no-repeat bottom right;
110
+ }
111
+
112
+ #meteor-buttons a.activeSlide {
113
+ background: url('../images/buttons.png') no-repeat bottom right;
114
  }
images/buttons.png ADDED
Binary file
images/next.png CHANGED
Binary file
images/prev.png CHANGED
Binary file
js/slideshow.js CHANGED
@@ -16,18 +16,25 @@ $j(document).ready(function() {
16
 
17
  $j('.slides').cycle({
18
 
 
 
 
19
  fx: $slidetransition,
20
  speed: $slidespeed,
21
  timeout: $slidetimeout,
22
  pause: '1',
23
  prev: '#prev',
24
- next: '#next'
 
 
25
 
26
  });
27
 
28
  $j('.meteor-slides,#meteor-nav a,.slides').css('height', $slideheight);
29
 
30
- $j('.meteor-slides,.slides').css('width', $slidewidth);
 
 
31
 
32
  $j(".meteor-slides").hover(function() {
33
 
16
 
17
  $j('.slides').cycle({
18
 
19
+ height: $slideheight,
20
+ width: $slidewidth,
21
+ fit: '1',
22
  fx: $slidetransition,
23
  speed: $slidespeed,
24
  timeout: $slidetimeout,
25
  pause: '1',
26
  prev: '#prev',
27
+ next: '#next',
28
+ pager: '#meteor-buttons',
29
+ pagerEvent: 'click'
30
 
31
  });
32
 
33
  $j('.meteor-slides,#meteor-nav a,.slides').css('height', $slideheight);
34
 
35
+ $j('.meteor-slides,.slide,#meteor-nav').css('width', $slidewidth);
36
+
37
+ $j('.slides').css('overflow', 'visible');
38
 
39
  $j(".meteor-slides").hover(function() {
40
 
languages/meteor-slides-en_US.txt CHANGED
@@ -42,10 +42,16 @@ Transition Speed
42
 
43
  Slide Duration
44
 
 
 
45
  Add Meteor Slides slideshow to a sidebar
46
 
47
  Meteor Slides Widget
48
 
 
 
 
 
49
  Set up your slideshow using the options below.
50
 
51
  px
@@ -106,6 +112,10 @@ zoom
106
 
107
  seconds
108
 
 
 
 
 
109
  Meteor Slides Settings
110
 
111
  Save Changes
42
 
43
  Slide Duration
44
 
45
+ Slideshow Navigation
46
+
47
  Add Meteor Slides slideshow to a sidebar
48
 
49
  Meteor Slides Widget
50
 
51
+ Previous
52
+
53
+ Next
54
+
55
  Set up your slideshow using the options below.
56
 
57
  px
112
 
113
  seconds
114
 
115
+ Yes
116
+
117
+ No
118
+
119
  Meteor Slides Settings
120
 
121
  Save Changes
meteor-slides-plugin.php CHANGED
@@ -6,7 +6,7 @@
6
  Author: Josh Leuze
7
  Author URI: http://www.jleuze.com/
8
  License: GPL2
9
- Version: 1.2.2
10
  */
11
 
12
  /* Copyright 2010 Josh Leuze (email : mail@jleuze.com)
@@ -175,7 +175,7 @@
175
 
176
  foreach( $meteorslides_new_meta_box as $meteorslides_meta_box ) {
177
 
178
- if( !wp_verify_nonce( $_POST[$meteorslides_meta_box['name'].'_noncename'], plugin_basename(__FILE__) ) ) {
179
 
180
  return $post_id;
181
 
6
  Author: Josh Leuze
7
  Author URI: http://www.jleuze.com/
8
  License: GPL2
9
+ Version: 1.2.3
10
  */
11
 
12
  /* Copyright 2010 Josh Leuze (email : mail@jleuze.com)
175
 
176
  foreach( $meteorslides_new_meta_box as $meteorslides_meta_box ) {
177
 
178
+ if( !isset( $_POST[$meteorslides_meta_box['name'].'_noncename'] ) || !wp_verify_nonce( $_POST[$meteorslides_meta_box['name'].'_noncename'], plugin_basename(__FILE__) ) ) {
179
 
180
  return $post_id;
181
 
meteor-slideshow.php CHANGED
@@ -10,16 +10,18 @@
10
 
11
  <?php $meteornav = $options['slideshow_navigation'];
12
 
13
- if($meteornav == yes): ?>
14
 
15
  <ul id="meteor-nav">
16
 
17
- <li id="prev"><a href="#">Previous</a></li>
18
 
19
- <li id="next"><a href="#">Next</a></li>
20
 
21
  </ul><!-- #meteor-nav -->
22
 
 
 
23
  <?php endif; ?>
24
 
25
  <div class="slides">
10
 
11
  <?php $meteornav = $options['slideshow_navigation'];
12
 
13
+ if($meteornav == "yes"): ?>
14
 
15
  <ul id="meteor-nav">
16
 
17
+ <li id="prev"><a href="#"><?php _e('Previous','meteor-slides') ?></a></li>
18
 
19
+ <li id="next"><a href="#"><?php _e('Next','meteor-slides') ?></a></li>
20
 
21
  </ul><!-- #meteor-nav -->
22
 
23
+ <div id="meteor-buttons"></div>
24
+
25
  <?php endif; ?>
26
 
27
  <div class="slides">
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: JLeuze
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
  Tags: slide, slides, slider, slideshow, image, custom post types, jquery
5
  Requires at least: 3.0
6
- Tested up to: 3.0
7
- Stable tag: 1.2.2
8
 
9
  Meteor Slides makes it simple to manage a slideshow with WordPress by adding a custom post type for slides.
10
 
@@ -19,6 +19,7 @@ The slides are managed as featured images through the media library; they will a
19
  * **Easy integration:** Add the slideshow to your site using a template tag, shortcode, or widget.
20
  * **Slideshow settings page:** Control the slide height and width, the number of slides, and the slideshow speed and transition style.
21
  * **Slideshow transition styles:** blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, none, scrollUp, scrollDown, scrollLeft, scrollRight, scrollHorz, scrollVert, slideX, slideY, turnUp, turnDown, turnLeft, turnRight, uncover, wipe, zoom.
 
22
  * **Multiple languages:** English, French, Indonesian, Italian, Portuguese, Romanian, Spanish, Turkish.
23
 
24
  = Future Features =
@@ -64,7 +65,15 @@ The `z-index` on the slideshow is higher than the dropdowns, causing them to be
64
 
65
  = How do I customize the slideshow's CSS stylesheet? =
66
 
67
- Copy `meteor-slides.css` from `/meteor-slides/css/` to your theme's directory to replace the plugin's default stylesheet.
 
 
 
 
 
 
 
 
68
 
69
  *Please [post any questions or problems](http://wordpress.org/tags/meteor-slides?forum_id=10#postform "Post a question or problem in the forums") in the WordPress.org support forums.*
70
 
@@ -76,6 +85,9 @@ Copy `meteor-slides.css` from `/meteor-slides/css/` to your theme's directory to
76
 
77
  == Changelog ==
78
 
 
 
 
79
  = 1.2.2 =
80
  * Added slideshow navigation, added Italian, Portuguese, and Spanish translations.
81
 
@@ -102,6 +114,9 @@ Copy `meteor-slides.css` from `/meteor-slides/css/` to your theme's directory to
102
 
103
  == Upgrade Notice ==
104
 
 
 
 
105
  = 1.2.2 =
106
  Meteor Slides 1.2.2 adds slideshow navigation and Italian, Portuguese, and Spanish translations.
107
 
@@ -115,4 +130,4 @@ Meteor Slides 1.2 adds localization support and includes Indonesian and Turkish
115
  This version of Meteor Slides fixes a bug that was causing some themes to disable the featured images.
116
 
117
  = 1.1 =
118
- This version of Meteor Slides adds a stylesheet for the slideshow which aids theme compatability.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
  Tags: slide, slides, slider, slideshow, image, custom post types, jquery
5
  Requires at least: 3.0
6
+ Tested up to: 3.0.1
7
+ Stable tag: 1.2.3
8
 
9
  Meteor Slides makes it simple to manage a slideshow with WordPress by adding a custom post type for slides.
10
 
19
  * **Easy integration:** Add the slideshow to your site using a template tag, shortcode, or widget.
20
  * **Slideshow settings page:** Control the slide height and width, the number of slides, and the slideshow speed and transition style.
21
  * **Slideshow transition styles:** blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, none, scrollUp, scrollDown, scrollLeft, scrollRight, scrollHorz, scrollVert, slideX, slideY, turnUp, turnDown, turnLeft, turnRight, uncover, wipe, zoom.
22
+ * **Slideshow navigation:** Optional previous/next and paged slide navigation.
23
  * **Multiple languages:** English, French, Indonesian, Italian, Portuguese, Romanian, Spanish, Turkish.
24
 
25
  = Future Features =
65
 
66
  = How do I customize the slideshow's CSS stylesheet? =
67
 
68
+ Copy `meteor-slides.css` from `/meteor-slides/css/` to your theme's directory to replace the plugin's default stylesheet. If you have navigation enabled, be sure to copy the `buttons.png`, `next.png`, and `prev.png` files to your theme's images folder, or create new graphics to replace them.
69
+
70
+ = I installed Meteor Slides, and now my theme or plugin's jQuery goodies are broken! =
71
+
72
+ Your theme or plugin is probably loading an extra copy of jQuery from the theme or plugin, or a third party server. This is unnecessary because WordPress already uses jQuery and it is included in the WordPress install. Meteor Slides loads the version that is within WordPress, to fix this, fix your theme or plugin to use the copy of jQuery that comes with WordPress, like this `<?php wp_enqueue_script("jquery"); ?>`.
73
+
74
+ = I have another custom post type that uses featured images, and when I install Meteor Slides, it disables the featured image box in my custom post type, what's up with that? =
75
+
76
+ Meteor Slides is setup to check for post thumbnail support and create an array with the slides post type and any other post types that are in use. But in order for that to work, your theme or plugin needs to specify any custom post types in an array.
77
 
78
  *Please [post any questions or problems](http://wordpress.org/tags/meteor-slides?forum_id=10#postform "Post a question or problem in the forums") in the WordPress.org support forums.*
79
 
85
 
86
  == Changelog ==
87
 
88
+ = 1.2.3 =
89
+ * Centered slides, fixed navigation bugs, added slideshow navigation buttons, updated translation files.
90
+
91
  = 1.2.2 =
92
  * Added slideshow navigation, added Italian, Portuguese, and Spanish translations.
93
 
114
 
115
  == Upgrade Notice ==
116
 
117
+ = 1.2.3 =
118
+ Meteor Slides 1.2.3 centers slides, fixes navigation bugs, adds slideshow navigation buttons, and updates translation files.
119
+
120
  = 1.2.2 =
121
  Meteor Slides 1.2.2 adds slideshow navigation and Italian, Portuguese, and Spanish translations.
122
 
130
  This version of Meteor Slides fixes a bug that was causing some themes to disable the featured images.
131
 
132
  = 1.1 =
133
+ This version of Meteor Slides adds a stylesheet for the slideshow which aids theme compatibility.