Plugin Directory

Changeset 3360918


Ignore:
Timestamp:
09/13/2025 07:46:01 AM (6 months ago)
Author:
tanvirul
Message:

Release 1.2

Location:
smooth-back-to-top-button
Files:
25 added
3 edited

Legend:

Unmodified
Added
Removed
  • smooth-back-to-top-button/trunk/admin/class-sbttb_settings.php

    r2948281 r3360918  
    108108                            'left-side'  => esc_html__( 'Bottom Left Side', 'smooth-back-to-top-button' ),
    109109                            'right-side' => esc_html__( 'Bottom Right Side', 'smooth-back-to-top-button' ),
     110                            'center'     => esc_html__( 'Center', 'smooth-back-to-top-button' ),
    110111                        ),
    111112                        'default' => 'right-side',
  • smooth-back-to-top-button/trunk/readme.txt

    r3257211 r3360918  
    55Requires PHP: 7.4
    66Requires at least: 4.8
    7 Tested up to: 6.7
    8 Stable tag: 1.1.15
     7Tested up to: 6.8
     8Stable tag: 1.2.0
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8585== Changelog ==
    8686
     87= 1.1.16 =
     88* Add - WordPress 6.8+ compatibility.
     89* Add - Button position center.
     90
    8791= 1.1.15 =
    8892* Add - WordPress 6.7+ compatibility.
  • smooth-back-to-top-button/trunk/smooth-back-to-top-button.php

    r3257211 r3360918  
    66Author: Tanvirul Haque
    77Author URI: https://wpxpress.net/
    8 Version: 1.1.15
     8Version: 1.2
    99Requires PHP: 7.4
    1010Requires at least: 4.8
    11 Tested up to: 6.7
     11Tested up to: 6.8
    1212Text Domain: smooth-back-to-top-button
    1313Domain Path: /languages
     
    3434         * @var  string
    3535         */
    36         public $version = '1.1.15';
     36        public $version = '1.2';
    3737
    3838        /**
     
    306306                }
    307307
     308                .progress-wrap.btn-center {
     309                    inset-inline: 0;
     310                    margin-inline: auto;
     311                }
     312
    308313                .progress-wrap::after {
    309314                    width: <?php echo $button_size; ?>px;
     
    403408            $button_position    = self::get_settings( 'button_position', 'right-side' );
    404409            $is_enable_progress = self::get_settings( 'is_enable_progress', 'on' );
    405             $position_class     = ( $button_position == 'left-side' ) ? 'btn-left-side' : 'btn-right-side';
     410            //$position_class     = ( $button_position == 'left-side' ) ? 'btn-left-side' : 'btn-right-side';
    406411            ?>
    407412
    408             <div class="progress-wrap <?php echo $position_class; ?>">
     413            <div class="progress-wrap <?php echo 'btn-' . $button_position; ?>">
    409414                <?php if ( $is_enable_progress == 'on' ) { ?>
    410415                    <svg class="progress-circle" width="100%" height="100%" viewBox="<?php echo $view_box; ?>">
Note: See TracChangeset for help on using the changeset viewer.