Changeset 3230636
- Timestamp:
- 01/28/2025 02:54:56 PM (13 months ago)
- Location:
- nex-button
- Files:
-
- 8 added
- 4 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/css (added)
-
tags/1.0.2/css/advanced-button.css (added)
-
tags/1.0.2/nex-button.php (added)
-
tags/1.0.2/readme.txt (added)
-
tags/1.0.2/widgets (added)
-
tags/1.0.2/widgets/advanced-button (added)
-
tags/1.0.2/widgets/advanced-button/advanced-button.php (added)
-
trunk/css/advanced-button.css (modified) (1 diff)
-
trunk/nex-button.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/widgets/advanced-button/advanced-button.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nex-button/trunk/css/advanced-button.css
r3187773 r3230636 158 158 } 159 159 } 160 161 &.style-4 { 162 .cb-nex-button { 163 overflow: hidden; 164 &::after { 165 position: absolute; 166 content: ""; 167 width: 100%; 168 height: 0; 169 top: 0; 170 left: 0; 171 border-radius: inherit; 172 background-color: #f00; 173 visibility: hidden; 174 transition: all 0.3s ease; 175 } 176 &:hover { 177 &::after { 178 top: auto; 179 bottom: 0; 180 height: 100%; 181 visibility: visible; 182 } 183 } 184 } 185 .button-text, 186 .button-icon { 187 z-index: 11; 188 position: relative; 189 } 190 } 160 191 } -
nex-button/trunk/nex-button.php
r3187773 r3230636 3 3 * Plugin Name: NexButton 4 4 * Description: Add stylish, customizable buttons to Elementor with various hover effects and animations. 5 * Version: 1.0. 15 * Version: 1.0.2 6 6 * Author: wpcoder75 7 7 * Author URI: https://github.com/asikwp75 … … 18 18 19 19 class NexButtonPlugin { 20 const VERSION = '1.0. 0';20 const VERSION = '1.0.2'; 21 21 const MINIMUM_ELEMENTOR_VERSION = '3.13.2'; 22 22 const MINIMUM_PHP_VERSION = '7.4'; -
nex-button/trunk/readme.txt
r3187773 r3230636 14 14 NexButton Elementor Plugin adds a custom button widget to Elementor, offering a variety of button styles with text and icon customization options. 15 15 16 16 17 ### Features: 17 * Multiple button styles (Style 1 and Style 2)18 * Multiple button styles (Style 1, Style 2, Style 3 & Style 4) 18 19 * Show/Hide button text and icon 19 20 * Customizable button colors, backgrounds, and typography … … 43 44 == Changelog == 44 45 45 = 1.0.0 = 46 47 = 1.0.2 [28th January 2025] = 48 49 * Added: New button style "Style 4". 50 51 = 1.0.1 = 46 52 47 53 Initial release of NexButton Elementor Plugin. -
nex-button/trunk/widgets/advanced-button/advanced-button.php
r3187773 r3230636 52 52 'style-2' => __( 'Style 2', 'nex-button' ), 53 53 'style-3' => __( 'Style 3', 'nex-button' ), 54 'style-4' => __( 'Style 4', 'nex-button' ), 54 55 ], 55 56 'default' => 'style-1', … … 299 300 '{{WRAPPER}} .cb-nex-button:hover' => 'background-color: {{VALUE}};', 300 301 ], 302 'condition' => [ 303 'button_style!' => 'style-4', 304 ], 305 ] 306 ); 307 308 $this->add_control( 309 'button_hover_background_color_style-4', 310 [ 311 'label' => esc_html__( 'Background Color', 'nex-button' ), 312 'type' => \Elementor\Controls_Manager::COLOR, 313 'selectors' => [ 314 '{{WRAPPER}} .cb-nex-button-wrapper.style-4 .cb-nex-button:after' => 'background-color: {{VALUE}};', 315 ], 316 'condition' => [ 317 'button_style' => 'style-4', 318 ], 301 319 ] 302 320 ); … … 559 577 } 560 578 561 if (!empty($settings['button_style']) && 'style-2' === $settings['button_style']) {579 if (!empty($settings['button_style']) && ('style-2' === $settings['button_style'] || 'style-4' === $settings['button_style'])) { 562 580 echo "<span class='button-text'>" . esc_html($text) . "</span>"; 563 581 }
Note: See TracChangeset
for help on using the changeset viewer.