Changeset 1426130
- Timestamp:
- 05/28/2016 03:29:24 PM (10 years ago)
- Location:
- eazy-flickity-slider/trunk
- Files:
-
- 3 edited
-
eazy_flickity_slider.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
resources/eazy_flickity_slider_shortcode.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
eazy-flickity-slider/trunk/eazy_flickity_slider.php
r1424937 r1426130 4 4 Plugin URI: http://robjscott.com/wordpress/ 5 5 Description: Easily create slides to use with responsive sliders. Add them to page or post. Displays them using flickity.js by metafizzy. 6 Version: 1.1 6 Version: 1.1.1 7 7 Author: Rob Scott, LLC 8 8 Author URI: http://robjscott.com -
eazy-flickity-slider/trunk/readme.txt
r1424937 r1426130 46 46 47 47 == Changelog == 48 = 1.1.1 = 49 *Update eazy_flickity_slider_shortcode.php to use a variable to store the array from wp_get_attachment_image_src on line ~64. 50 48 51 = 1.1 = 49 52 *Add flickity.shortcode.dimensions.js to insert the inline style for shortcodes height and width -
eazy-flickity-slider/trunk/resources/eazy_flickity_slider_shortcode.php
r1424937 r1426130 62 62 $eazyquery->the_post(); 63 63 $thumb_id = get_post_thumbnail_id(); 64 $eazyimage_attributes = wp_get_attachment_image_src($thumb_id,'full', true); 65 print_r($image_attributes); 64 66 $flickity_slides[] = " 65 67 <div class='gallery-cell'> 66 <img src='". wp_get_attachment_image_src($thumb_id,'full', true)[0]."'68 <img src='".$eazyimage_attributes[0]."' 67 69 alt='".get_post(get_post_thumbnail_id())->post_title."'> 68 70 </div>";
Note: See TracChangeset
for help on using the changeset viewer.