Changeset 2120344
- Timestamp:
- 07/09/2019 09:37:50 PM (7 years ago)
- Location:
- max-grid/trunk
- Files:
-
- 4 edited
-
includes/classes/elements.php (modified) (1 diff)
-
includes/classes/global.php (modified) (1 diff)
-
max-grid.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
max-grid/trunk/includes/classes/elements.php
r2118339 r2120344 218 218 $hash = json_decode( wp_remote_retrieve_body( wp_remote_get( $api_url ) ) ); 219 219 $vidTime = $hash[0]->duration; 220 $vid_duration = '<div class="vid-duration">'. maxgrid_duration_to_time($vidTime, 'vimeo').' ss</div>';220 $vid_duration = '<div class="vid-duration">'. maxgrid_duration_to_time($vidTime, 'vimeo').'</div>'; 221 221 } else if ( $this->featured_type == 'youtube' ) { 222 222 $get_options = maxgrid()->get_options; -
max-grid/trunk/includes/classes/global.php
r2118339 r2120344 106 106 } 107 107 108 if ( has_post_thumbnail( $post_id ) && get_the_post_thumbnail_url($post_id, $size) != "" ) {108 if ( has_post_thumbnail( $post_id ) && get_the_post_thumbnail_url($post_id, $size) != "" && $featured_type == 'image' ) { 109 109 $size = isset($args['size']) ? $args['size'] : 'large'; 110 110 return get_the_post_thumbnail_url($post_id, $size); 111 111 } 112 112 113 switch ($featured_type) { 113 switch ($featured_type) { 114 114 case 'image': 115 115 $thumbnail = get_the_post_thumbnail_url($post_id, $size); -
max-grid/trunk/max-grid.php
r2119867 r2120344 4 4 Plugin URI: https://www.mustaphafersaoui.fr/wp-plugins/max-grid 5 5 Description: Drag and drop grid builder, that helps you quickly and easily build responsive grid for your WordPress posts – no programming knowledge required. 6 Version: 1.1 6 Version: 1.1.1 7 7 Author: Mustapha FERSAOUI 8 8 Author URI: https://www.mustaphafersaoui.fr -
max-grid/trunk/readme.txt
r2119867 r2120344 6 6 Tested up to: 5.2.2 7 7 Requires PHP: 5 8 Stable tag: 1.1 8 Stable tag: 1.1.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 108 108 * Add: Extensions menu/page 109 109 * New: [YouTube Stream](https://mustaphafersaoui.fr/wp-plugins/max-grid/max-grid-youtube-stream-add-on/) - Premium Add-on 110 111 = 1.1.1 = 112 * Fixed bug with video duration display. 113 * Fixed bug with displaying featured image if using Vimeo, YouTube or mp4 as Grid Post Thumbnail.
Note: See TracChangeset
for help on using the changeset viewer.