Plugin Directory

Changeset 3239647


Ignore:
Timestamp:
02/12/2025 08:21:17 PM (14 months ago)
Author:
videlin
Message:

1.0.9

Location:
showcase-creator
Files:
89 added
4 edited

Legend:

Unmodified
Added
Removed
  • showcase-creator/trunk/readme.txt

    r3233559 r3239647  
    55Requires at least: 6.1
    66Tested up to: 6.7
    7 Stable tag: 1.0.8
     7Stable tag: 1.0.9
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    128128== Changelog ==
    129129
     130= 1.0.9 =
     131* Feature added: Masonry option - Fit width.
     132
    130133= 1.0.8 =
    131134* Bug fixed: Layouts are not saved correctly: special characters appear encoded.
  • showcase-creator/trunk/showcase-creator.php

    r3233546 r3239647  
    44 * Plugin URI:      https://videlinify.com/showcase-creator/
    55 * Description:     Provides tools to display a showcase of posts (or custom post types) using a custom layout, advanced filtering and customized post order.
    6  * Version:         1.0.8
     6 * Version:         1.0.9
    77 * Requires PHP:    7.0
    88 * Author:          Videlin Djedjev
  • showcase-creator/trunk/src/class.php

    r3233546 r3239647  
    1818     * @var string $version x.x.x format
    1919     */
    20     public static string $version = '1.0.8';
     20    public static string $version = '1.0.9';
    2121   
    2222    /**
  • showcase-creator/trunk/src/layouts.php

    r3190704 r3239647  
    515515                />
    516516            </div>
     517            <div class="sc-flex-col script-option">
     518                <label for="masonry-fitwidth">
     519                    <?php esc_html_e( 'Fit width?', 'showcase-creator' ); ?>
     520                </label>
     521                <input
     522                    type="checkbox"
     523                    id="masonry-fitwidth"
     524                    name="masonry-fitwidth"
     525                    data-args='{hint: "When enabled, you can center the container with CSS."}'
     526                    <?php echo esc_attr(
     527                        ( $script['masonry']['fitWidth'] ?? true )
     528                            ? ' checked'
     529                            : ''
     530                    ); ?>
     531                />
     532            </div>
    517533        </div>
    518534        <div class="script-options" data-for="slider">
     
    683699            $script['masonry']['percentPosition'] = boolval( $_POST['masonry-percents'] ?? false );
    684700            $script['masonry']['horizontalOrder'] = boolval( $_POST['masonry-hrorder'] ?? false );
     701            $script['masonry']['fitWidth'] = boolval( $_POST['masonry-fitwidth'] ?? true );
    685702        } else if ( 'slider' === $script_id ) {
    686703            $script['slider']['delay'] = floatval( $_POST['slider-pause'] ?? 5 ) * 1000;
Note: See TracChangeset for help on using the changeset viewer.