Plugin Directory

Changeset 3369179


Ignore:
Timestamp:
09/28/2025 11:59:24 AM (6 months ago)
Author:
shibhuplugins
Message:

Bug fixes

Location:
elegant-labels
Files:
428 added
9 edited

Legend:

Unmodified
Added
Removed
  • elegant-labels/trunk/elegant-labels.php

    r3367476 r3369179  
    44 * Description: Labels and Badges for WooCommerce
    55 * Author: shibhuplugins
    6  * Version: 1.2
     6 * Version: 1.3
    77 * Text Domain: elegant-labels
    88 * Requires Plugins: woocommerce
  • elegant-labels/trunk/inc/admin/assets/css/cmb2-custom-fields.css

    r3367476 r3369179  
    349349.label-two {
    350350border-radius: 20px;
    351 border: 2px solid rgba(255,255,255,0.3);
    352351}
    353352
     
    357356}
    358357
    359 .label-four {
    360 border-radius: 25px;
    361 }
    362 
    363 .label-five {
    364 clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
    365 padding-right: 15px;
    366 }
    367 
    368 .label-six {
    369 border-radius: 4px 12px 4px 12px;
    370 }
    371 
    372 .label-seven {
    373 border-radius: 4px;
    374 box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    375 }
    376 
    377 .label-eight {
    378 border-radius: 0 10px 0 10px;
    379 border-left: 3px solid rgba(255,255,255,0.5);
    380 }
    381 
    382 .label-nine {
    383 border-radius: 50%;
    384 width: 32px;
    385 height: 32px;
    386 display: flex;
    387 align-items: center;
    388 justify-content: center;
    389 font-size: 9px;
    390 padding: 2px;
    391 line-height: 1;
    392 }
     358
    393359
    394360.debug-section {
     
    502468    box-shadow: 0 0 0 1px #0073aa;
    503469}
     470
     471
     472
     473.label-four {
     474  --r: .8em;
     475  border-block: .5em solid #0000;
     476  padding-inline: .5em calc(var(--r) + .25em);
     477  line-height: 1.8;
     478  clip-path: polygon(100% 0,0 0,0 100%,100% 100%,100% calc(100% - .25em),calc(100% - var(--r)) 50%,100% .25em);
     479  background: radial-gradient(.2em 50% at left,#00000000,#0000) border-box, #FF6B6B padding-box;
     480  width: fit-content;
     481}
     482
     483.label-four.elw-top-right,
     484.label-four.elw-bottom-right {
     485  --r: .8em; 
     486  border-block: .5em solid #0000;
     487  padding-inline: calc(var(--r) + .25em) .5em;
     488  line-height: 1.8;
     489  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,0 calc(100% - .25em),var(--r) 50%,0 .25em);
     490  background:radial-gradient(.2em 50% at right,#00000000,#0000) border-box, #2699dc padding-box;
     491  width: fit-content;
     492}
     493
     494
     495.label-five {
     496  --r: .8em;
     497  border-block: .5em solid #0000;
     498  padding-inline: .5em calc(var(--r) + .25em);
     499  line-height: 1.8;
     500  clip-path: polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--r)) calc(100% - .25em),100% 50%,calc(100% - var(--r)) .25em);
     501  background:    radial-gradient(.2em 50% at left,#00000000,#0000) border-box,   #45ADA8 padding-box;
     502}
     503
     504.label-five.elw-top-right,
     505.label-five.elw-bottom-right {
     506  --r: .8em; 
     507  border-block: .5em solid #0000;
     508  padding-inline: calc(var(--r) + .25em) .5em;
     509  line-height: 1.8;
     510  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,var(--r) calc(100% - .25em),0 50%,var(--r) .25em);
     511  background: radial-gradient(.2em 50% at right,#00000000,#0000) border-box, #BD1550 padding-box;
     512  width: fit-content;
     513}
  • elegant-labels/trunk/inc/admin/assets/css/elegant-badges.css

    r3367476 r3369179  
    153153.elegant-badge-label-two {
    154154    border-radius: 20px;
    155     border: 2px solid rgba(255, 255, 255, 0.3);
    156155}
    157156
     
    160159    transform: rotate(-2deg);
    161160}
    162 
    163 .elegant-badge-label-four {
    164     border-radius: 50px;
    165 }
    166 
    167 .elegant-badge-label-five {
    168     clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
    169     padding-right: 15px;
    170 }
    171 
    172 .elegant-badge-label-six {
    173     border-radius: 4px 15px 4px 15px;
    174 }
    175 
    176 .elegant-badge-label-seven {
    177     border-radius: 4px;
    178     box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    179 }
    180 
    181 .elegant-badge-label-eight {
    182     border-radius: 0 10px 0 10px;
    183     border-left: 3px solid rgba(255, 255, 255, 0.5);
    184 }
    185 
    186 .elegant-badge-label-nine {
    187     border-radius: 50%;
    188     width: 40px;
    189     height: 40px;
    190     display: flex;
    191     align-items: center;
    192     justify-content: center;
    193     text-align: center;
    194     font-size: 10px;
    195     padding: 2px;
    196 }
    197 
    198161
    199162
     
    247210    padding-bottom: 15px;
    248211}
     212
     213.elegant-badge-label-four {
     214  --r: .8em;
     215  border-block: .5em solid #0000;
     216  padding-inline: .5em calc(var(--r) + .25em);
     217  line-height: 1.8;
     218  clip-path: polygon(100% 0,0 0,0 100%,100% 100%,100% calc(100% - .25em),calc(100% - var(--r)) 50%,100% .25em);
     219  background: radial-gradient(.2em 50% at left,#00000000,#0000) border-box, #FF6B6B padding-box;
     220  width: fit-content;
     221}
     222
     223.elegant-badge-label-four.elw-top-right,
     224.elegant-badge-label-four.elw-bottom-right {
     225  --r: .8em; 
     226  border-block: .5em solid #0000;
     227  padding-inline: calc(var(--r) + .25em) .5em;
     228  line-height: 1.8;
     229  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,0 calc(100% - .25em),var(--r) 50%,0 .25em);
     230  background:radial-gradient(.2em 50% at right,#00000000,#0000) border-box, #2699dc padding-box;
     231  width: fit-content;
     232}
     233
     234
     235.elegant-badge-label-five {
     236  --r: .8em;
     237  border-block: .5em solid #0000;
     238  padding-inline: .5em calc(var(--r) + .25em);
     239  line-height: 1.8;
     240  clip-path: polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--r)) calc(100% - .25em),100% 50%,calc(100% - var(--r)) .25em);
     241  background:    radial-gradient(.2em 50% at left,#00000000,#0000) border-box,   #45ADA8 padding-box;
     242}
     243
     244
     245.elegant-badge-label-five.elw-top-right,
     246.elegant-badge-label-five.elw-bottom-right {
     247  --r: .8em; 
     248  border-block: .5em solid #0000;
     249  padding-inline: calc(var(--r) + .25em) .5em;
     250  line-height: 1.8;
     251  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,var(--r) calc(100% - .25em),0 50%,var(--r) .25em);
     252  background: radial-gradient(.2em 50% at right,#00000000,#0000) border-box, #BD1550 padding-box;
     253  width: fit-content;
     254}
  • elegant-labels/trunk/inc/admin/assets/js/admin.js

    r3367476 r3369179  
    1414    $('input[value="label-fix"]').attr('disabled', 'disabled');
    1515    $('input[value="label-fix"]').addClass('pro-version');
    16     $('input[value="label-five"]').attr('disabled', 'disabled');
    1716
    1817});
  • elegant-labels/trunk/inc/admin/class-elw-custom-posts.php

    r3367476 r3369179  
    4545                    'menu_name'          => __( 'Labels', 'elegant-labels' ),
    4646                    'parent_item_colon'  => __( 'Parent Item:', 'elegant-labels' ),
    47                     'all_items'          => __( 'Labels', 'elegant-labels' ),
     47                    'all_items'          => __( 'All Labels', 'elegant-labels' ),
    4848                    'view_item'          => __( 'View Label', 'elegant-labels' ),
    4949                    'add_new_item'       => __( 'Add New Label', 'elegant-labels' ),
     
    192192                        'img' => esc_url( $image_path . 'assets/img/3.jpg' )
    193193                    ),
     194                    'label-four' => array(
     195                        'title' => '',
     196                        'alt' => '',
     197                        'img' => esc_url( $image_path . 'assets/img/4.jpg' )
     198                    ),
     199                    'label-five' => array(
     200                        'title' => '',
     201                        'alt' => '',
     202                        'img' => esc_url( $image_path . 'assets/img/5.jpg' )
     203                    ),
    194204                ),
    195205                'default' => 'label-one',
  • elegant-labels/trunk/readme.txt

    r3367476 r3369179  
    1 === Elegant Labels ===
     1=== Elegant Labels - Unlimited free Labels and Badges for WooCommerce ===
    22Contributors: shibhuplugins
    33Tags: woocommerce, labels, badges, woocommerce labels
     
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.2
     7Stable tag: 1.3
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    10 Labels and Badges for WooCommerce
     10Create unlimited labels and badges for WooCommerce. Show badges on Images and Product details section.
    1111
    1212== Description ==
     
    3333Unlike other labeling plugins that offer limited customization, Elegant Labels provides enterprise-level features with user-friendly simplicity. Our plugin integrates seamlessly with WooCommerce, follows WordPress best practices, and is translation-ready for global stores. Whether you're running a small boutique or a large marketplace, Elegant Labels scales with your business needs.
    3434Boost your sales today with labels that convert browsers into buyers. Create urgency with limited-time offers, build trust with quality badges, and guide customers to your best products with eye-catching highlights.
     35
     36== Installation ==
     37
     381. Upload elegant-labels to the /wp-content/plugins/ folder
     392. Activate the plugin through the 'Plugins' menu in WordPress
     403. Go to Elegant Labels -> Add New and create your first label
     41
     42== Screenshots ==
     43
     441. Label Setting Page
     452. Label design page
     463. Conditional logic setting
     474. Sample labels
     48
     49== Changelog ==
     50
     51= 1.3 ( 28.09.2025 ) =
     52* Add - Three new labels
     53* Fix - Preview bug fixed
Note: See TracChangeset for help on using the changeset viewer.