| @@ -152,13 +152,8 @@ | ||
| 152 | 152 | $post_ids = array_map( 'intval', $posts ); |
| 153 | 153 | |
| 154 | 154 | $post_ids = apply_filters( 'wpupg_grid_cache_post_ids', $post_ids, $grid ); |
| 155 | 155 | |
| 156 | - // Offset posts | |
| 157 | - if( $grid->limit_posts_offset() ) { | |
| 158 | - $post_ids = array_slice($post_ids, $grid->limit_posts_offset() ); | |
| 159 | - } | |
| 160 | - | |
| 161 | 156 | // Limit Total # Posts |
| 162 | 157 | if( $grid->limit_posts_number() ) { |
| 163 | 158 | $post_ids = array_slice($post_ids, 0, $grid->limit_posts_number() ); |
| 164 | 159 | } |