Changeset 755444
- Timestamp:
- 08/13/2013 03:29:57 AM (13 years ago)
- Location:
- simple-content-slider
- Files:
-
- 1 added
- 2 edited
- 5 copied
-
tags/1.0.1 (copied) (copied from simple-content-slider/trunk)
-
tags/1.0.1/arrows.png (added)
-
tags/1.0.1/index.php (copied) (copied from simple-content-slider/trunk/index.php) (4 diffs)
-
tags/1.0.1/jquery.slides.min.js (copied) (copied from simple-content-slider/trunk/jquery.slides.min.js)
-
tags/1.0.1/readme.txt (copied) (copied from simple-content-slider/trunk/readme.txt) (3 diffs)
-
tags/1.0.1/slidesjs.css (copied) (copied from simple-content-slider/trunk/slidesjs.css)
-
trunk/index.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-content-slider/tags/1.0.1/index.php
r754326 r755444 6 6 Author: Arthur Araújo 7 7 Author URI: http://tutzstyle.com/ 8 Version: 1.0 8 Version: 1.0.1 9 9 */ 10 10 … … 177 177 <div class="wrap"> 178 178 179 <?php 180 $external_plugin_name = 'Simple Content Slider'; 181 $external_plugin_url = 'http://tutzstyle.com/portfolio/simple-content-slider-and-slideshow-plugin-wordpress/'; 182 ?> 183 <div style="float:right;width:400px"> 184 <div style="float:right; margin-top:10px"> 185 <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode($external_plugin_url) ?>&layout=box_count&show_faces=false&width=450&action=like&font=arial&colorscheme=light&height=21" 186 scrolling="no" frameborder="0" style="overflow:hidden; width:90px; height:61px; margin:0 0 0 10px; float:right" allowTransparency="true"></iframe> 187 <strong style="line-height:25px;"> 188 <?php echo __("Do you like <a href=\"{$external_plugin_url}\" target=\"_blank\">{$external_plugin_name}</a> Plugin? "); ?> 189 </strong> 190 </div> 191 </div> 192 179 193 <div id="icon-options-general" class="icon32"><br></div> 180 194 <h2><?php _e('Slideshow Options') ?></h2> … … 278 292 scontentslider_add_scripts(); 279 293 280 # get slides 281 $slides = $wpdb->get_results( $wpdb->prepare(" 282 SELECT post_content FROM $wpdb->posts WHERE post_type='%s' AND post_status='publish' ORDER BY ID ASC 283 ", scontentslider_POSTYPE)); 294 if( is_string($echo) || is_array($echo) ) { 295 $query = new WP_Query( $echo ); 296 if( $query->have_posts() ) 297 $slides = $query->posts; 298 } else 299 # get slides 300 $slides = $wpdb->get_results( $wpdb->prepare(" 301 SELECT post_content FROM $wpdb->posts WHERE post_type='%s' AND post_status='publish' ORDER BY ID ASC 302 ", scontentslider_POSTYPE)); 303 304 #print_r($slides); 284 305 285 306 if( !$slides ) … … 297 318 $code .= "</$htmltag>"; 298 319 299 if( $echo ==true )320 if( $echo!=false ) 300 321 echo $code; 301 322 -
simple-content-slider/tags/1.0.1/readme.txt
r754326 r755444 3 3 Donate link: http://tutzstyle.com/donate/ 4 4 Author URI: http://tutzstyle.com/ 5 Plugin URI: http://tutzstyle.com/portfolio/simple-content-slider /5 Plugin URI: http://tutzstyle.com/portfolio/simple-content-slider-slideshow/ 6 6 Tags: slideshow, slider, slide, slidesjs, jquery slider, posttype, presentation, fade, content slider 7 7 Requires at least: 3.0 8 8 Tested up to: 3.6 9 Stable tag: 1.0 9 Stable tag: 1.0.1 10 10 License: GPLv2 or later 11 11 A simple and responsive content slider and slideshow plug-in for jQuery with features like touch and CSS3 transitions. … … 26 26 - Shortcode makes it easy 27 27 - Function the_slideshow() can be used in hardcode 28 - Exemple: the_slideshow("cat=10"); 28 29 29 30 = Showcase = … … 51 52 == Changelog == 52 53 54 = 1.0.1 = 55 * Function the_slideshow() now can do a query, exemple: the_slideshow("cat=12"); 56 53 57 == Donate == 54 58 -
simple-content-slider/trunk/index.php
r754326 r755444 6 6 Author: Arthur Araújo 7 7 Author URI: http://tutzstyle.com/ 8 Version: 1.0 8 Version: 1.0.1 9 9 */ 10 10 … … 177 177 <div class="wrap"> 178 178 179 <?php 180 $external_plugin_name = 'Simple Content Slider'; 181 $external_plugin_url = 'http://tutzstyle.com/portfolio/simple-content-slider-and-slideshow-plugin-wordpress/'; 182 ?> 183 <div style="float:right;width:400px"> 184 <div style="float:right; margin-top:10px"> 185 <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode($external_plugin_url) ?>&layout=box_count&show_faces=false&width=450&action=like&font=arial&colorscheme=light&height=21" 186 scrolling="no" frameborder="0" style="overflow:hidden; width:90px; height:61px; margin:0 0 0 10px; float:right" allowTransparency="true"></iframe> 187 <strong style="line-height:25px;"> 188 <?php echo __("Do you like <a href=\"{$external_plugin_url}\" target=\"_blank\">{$external_plugin_name}</a> Plugin? "); ?> 189 </strong> 190 </div> 191 </div> 192 179 193 <div id="icon-options-general" class="icon32"><br></div> 180 194 <h2><?php _e('Slideshow Options') ?></h2> … … 278 292 scontentslider_add_scripts(); 279 293 280 # get slides 281 $slides = $wpdb->get_results( $wpdb->prepare(" 282 SELECT post_content FROM $wpdb->posts WHERE post_type='%s' AND post_status='publish' ORDER BY ID ASC 283 ", scontentslider_POSTYPE)); 294 if( is_string($echo) || is_array($echo) ) { 295 $query = new WP_Query( $echo ); 296 if( $query->have_posts() ) 297 $slides = $query->posts; 298 } else 299 # get slides 300 $slides = $wpdb->get_results( $wpdb->prepare(" 301 SELECT post_content FROM $wpdb->posts WHERE post_type='%s' AND post_status='publish' ORDER BY ID ASC 302 ", scontentslider_POSTYPE)); 303 304 #print_r($slides); 284 305 285 306 if( !$slides ) … … 297 318 $code .= "</$htmltag>"; 298 319 299 if( $echo ==true )320 if( $echo!=false ) 300 321 echo $code; 301 322 -
simple-content-slider/trunk/readme.txt
r754326 r755444 3 3 Donate link: http://tutzstyle.com/donate/ 4 4 Author URI: http://tutzstyle.com/ 5 Plugin URI: http://tutzstyle.com/portfolio/simple-content-slider /5 Plugin URI: http://tutzstyle.com/portfolio/simple-content-slider-slideshow/ 6 6 Tags: slideshow, slider, slide, slidesjs, jquery slider, posttype, presentation, fade, content slider 7 7 Requires at least: 3.0 8 8 Tested up to: 3.6 9 Stable tag: 1.0 9 Stable tag: 1.0.1 10 10 License: GPLv2 or later 11 11 A simple and responsive content slider and slideshow plug-in for jQuery with features like touch and CSS3 transitions. … … 26 26 - Shortcode makes it easy 27 27 - Function the_slideshow() can be used in hardcode 28 - Exemple: the_slideshow("cat=10"); 28 29 29 30 = Showcase = … … 51 52 == Changelog == 52 53 54 = 1.0.1 = 55 * Function the_slideshow() now can do a query, exemple: the_slideshow("cat=12"); 56 53 57 == Donate == 54 58
Note: See TracChangeset
for help on using the changeset viewer.