Changeset 2003469
- Timestamp:
- 12/29/2018 03:49:25 PM (7 years ago)
- Location:
- rays-grid/tags/1.1.1
- Files:
-
- 5 edited
-
assets/public/js/script.js (modified) (2 diffs)
-
includes/class-base.php (modified) (2 diffs)
-
includes/config.php (modified) (3 diffs)
-
includes/public/shortcode.php (modified) (1 diff)
-
rays-grid.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rays-grid/tags/1.1.1/assets/public/js/script.js
r2002007 r2003469 215 215 tw = ''; 216 216 217 that.css( 'margin' , -sp + 'px' );217 //that.css( 'margin' , -sp + 'px' ); 218 218 itm.css( 'padding' , sp + 'px' ); 219 219 220 if ( lay == 'grid' ) {221 tw = w / cols + 10;220 if ( lay == 'grid' ) { 221 tw = w / cols; 222 222 } else if ( lay == 'slider' ) { 223 223 tw = ( w / slds ) - mr; … … 243 243 244 244 if( that.hasClass('paleo') || that.hasClass('sublime') || that.hasClass('resort') || that.hasClass('gemini') || that.hasClass('solo') || that.hasClass('focus') || that.hasClass('zilla') ){ 245 var ht = parseInt(imP.parent().find('.port-captions').outerHeight(),10) + parseInt(imP.parent().find('.port-captions').css('padding-top'),10) + parseInt(imP.parent().find('.port-captions').css('padding-bottom'),10);246 var pd = parseInt(th.css('padding-top'),10) *2;247 248 imP.css('height', nH - pd+'px');249 var tot = ht + nH ;245 var ht = parseInt(imP.parent().find('.port-captions').outerHeight(),10); 246 imP.css('height',nH+'px'); 247 var pd = parseInt(th.css('padding-top'),10); 248 var pdb = parseInt(th.css('padding-bottom'),10); 249 var tot = ht + nH + pd + pdb; 250 250 imP.parent().parent().css('height',tot+'px'); 251 251 th.find('.icon-links').appendTo( imP ); -
rays-grid/tags/1.1.1/includes/class-base.php
r2001935 r2003469 184 184 public function rsgd_portfolio_post() { 185 185 186 $post_type_name = ( get_option( 'rsgd_type_name' ) ) ? get_option( 'rsgd_type_name' ) : 'raysgridpost';186 $post_type_name = ( get_option( 'rsgd_type_name' ) != '' ) ? get_option( 'rsgd_type_name' ) : 'raysgridpost'; 187 187 188 188 $labels = array( … … 223 223 224 224 public function rsgd_create_taxs() { 225 226 $post_type_name = ( get_option( 'rsgd_type_name' ) != '' ) ? get_option( 'rsgd_type_name' ) : 'raysgridpost'; 225 227 226 228 register_taxonomy('raysgrid_tags', array($post_type_name), array( -
rays-grid/tags/1.1.1/includes/config.php
r2001935 r2003469 77 77 "not_null" => "NULL", 78 78 "description" => "Select from available post types.", 79 "std" => "raysgrid",79 //"std" => "raysgridpost", 80 80 ), 81 81 array( … … 289 289 'dependency' => array( 290 290 'element' => 'grid_layout', 291 'value' => 'grid'291 'value' => array('grid','slider') 292 292 ), 293 293 ), … … 445 445 'dependency' => array( 446 446 'element' => 'grid_layout', 447 'value' => array('grid','masonry' ,'slider')447 'value' => array('grid','masonry') 448 448 ), 449 449 ), -
rays-grid/tags/1.1.1/includes/public/shortcode.php
r2001935 r2003469 110 110 } 111 111 $output .= '</div>'; 112 } 112 } 113 114 $mx_rows = $items_per_page * $number_of_columns; 113 115 114 116 if ( $pagination_type == 'enable' && ( $grid_layout == 'grid' || $grid_layout == 'masonry' ) ) { 115 117 if( $maximum_entries == '-1' ){ 116 $ppp = $ items_per_page * $number_of_columns;118 $ppp = $mx_rows; 117 119 } else { 118 if( $ items_per_page>= $maximum_entries ){119 $ppp = $maximum_entries; 120 if( $mx_rows >= $maximum_entries ){ 121 $ppp = $maximum_entries; 120 122 } else { 121 $ppp = $ items_per_page * $number_of_columns;123 $ppp = $mx_rows; 122 124 } 123 124 }125 125 } 126 } else if ( $grid_layout == 'slider' ) { 127 $ppp = $maximum_entries; 126 128 } else { 127 129 $ppp = $items_start; -
rays-grid/tags/1.1.1/rays-grid.php
r2001935 r2003469 4 4 Plugin URI: https://www.it-rays.org/raysgrid 5 5 Description: WordPress Plugin for showing Grids with Custom Styles. 6 Version: 1.1. 06 Version: 1.1.1 7 7 Author: IT-RAYS 8 8 Author URI: https://themeforest.net/user/it-rays/portfolio
Note: See TracChangeset
for help on using the changeset viewer.