Changeset 3061184
- Timestamp:
- 03/29/2024 02:03:43 PM (2 years ago)
- Location:
- getwid/trunk
- Files:
-
- 5 edited
-
changelog.txt (modified) (1 diff)
-
getwid.php (modified) (1 diff)
-
includes/blocks/custom-post-type.php (modified) (1 diff)
-
includes/functions.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
getwid/trunk/changelog.txt
r3022982 r3061184 1 = 2.0.0, Aug 15 2023 = 2 * Added full support of WordPress Full Site Editing. 3 * Improved compatibility with the Gutenberg plugin 16.3.0. 4 1 5 = 1.9.1, Jul 25 2023 = 2 6 * Fixed an issue that prevented custom post types from being displayed in the post-based blocks. -
getwid/trunk/getwid.php
r3055393 r3061184 4 4 * Plugin URI: https://motopress.com/products/getwid/ 5 5 * Description: Extra Gutenberg blocks for building seamless and aesthetic websites in the WordPress block editor. 6 * Version: 2.0. 66 * Version: 2.0.7 7 7 * Author: MotoPress 8 8 * Author URI: https://motopress.com/ -
getwid/trunk/includes/blocks/custom-post-type.php
r2855224 r3061184 272 272 } 273 273 274 $paged = is_front_page() ? get_query_var( 'page', 1 ) : get_query_var( 'paged', 1 ); 275 274 276 $pagination_args = array( 275 277 'base' => str_replace( 999999999, '%#%', esc_url( get_pagenum_link( 999999999 ) ) ), 276 278 'total' => $total_pages, 277 'current' => max( 1, get_query_var( 'paged' )),279 'current' => max( 1, $paged ), 278 280 'format' => '?paged=%#%', 279 281 'show_all' => false, -
getwid/trunk/includes/functions.php
r2694970 r3061184 285 285 286 286 $query_args = array( 287 'posts_per_page' => $attributes['postsToShow'],288 'ignore_sticky_posts' => 1,289 'post_status' => 'publish',290 'order' => $attributes['order'],291 'orderby'=> $attributes['orderBy'],292 );287 'posts_per_page' => $attributes['postsToShow'], 288 'ignore_sticky_posts' => 1, 289 'post_status' => 'publish', 290 'order' => $attributes['order'], 291 'orderby' => $attributes['orderBy'], 292 ); 293 293 294 294 if ( isset($attributes['ignoreSticky']) ){ … … 296 296 } 297 297 298 $paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1; 298 299 $paged = is_front_page() ? get_query_var( 'page', 1 ) : get_query_var( 'paged', 1 ); 300 299 301 if ( isset($attributes['pagination']) && $attributes['pagination'] ){ 300 302 $query_args['paged'] = $paged; -
getwid/trunk/readme.txt
r3055393 r3061184 6 6 Tested up to: 6.4 7 7 Requires PHP: 5.6 8 Stable tag: 2.0. 68 Stable tag: 2.0.7 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 226 226 == Changelog == 227 227 228 = 2.0.7, Mar 29 2024 = 229 * Fixed an issue where pagination in post-based blocks didn't work correctly on the static front page. 230 228 231 = 2.0.6, Mar 20 2024 = 229 232 * Improved Contact Form block - added Group and Columns to allowed child blocks list. … … 247 250 * Fixed an issue when the Table block didn't work correctly in WordPress 6.3. 248 251 249 = 2.0.0, Aug 15 2023 =250 * Added full support of WordPress Full Site Editing.251 * Improved compatibility with the Gutenberg plugin 16.3.0.252 252 253 253 --------
Note: See TracChangeset
for help on using the changeset viewer.