Plugin Directory

Changeset 3373019


Ignore:
Timestamp:
10/05/2025 05:23:15 AM (5 months ago)
Author:
dmcwebzone
Message:

New setting (Z-index)
New translations (Croatian and Bulgarian)

Location:
dmc-sale-banner
Files:
344 added
21 edited

Legend:

Unmodified
Added
Removed
  • dmc-sale-banner/trunk/css/general-plugin-style.css

    r3369355 r3373019  
    5656    top: 0;
    5757    position: fixed;
    58     z-index: 9;
     58    z-index: 100;
    5959    transition-duration: 1s;
    6060    transform: translateY(0);
     
    8080.dmcwzsb-css-action-footer-show .dmcwzsb-css-botbar-box {
    8181    position: fixed;
    82     z-index: 9;
     82    z-index: 100;
    8383}
    8484.dmcwzsb-css-position-center .dmcwzsb-css-botbar-box,
  • dmc-sale-banner/trunk/dmc-sale-banner.php

    r3369355 r3373019  
    55 * Plugin URI: https://web-zone.org/sale-banner
    66 * Description: Display a notification, announcement, sale banner or promotion using the top bar, bottom bar, widget, shortcode or WooCommerce product integration
    7  * Version: 1.2.2
     7 * Version: 1.2.3
    88 * Requires at least: 6.0
    99 * Requires PHP: 7.1
     
    4848// Version
    4949if ( !defined( 'DMCWZSB_VERSION' ) ) {
    50     define( 'DMCWZSB_VERSION', '1.2.2' );
     50    define( 'DMCWZSB_VERSION', '1.2.3' );
    5151}
    5252// SDK
  • dmc-sale-banner/trunk/inc/function-main.php

    r3365390 r3373019  
    1616        //? ---------- Top Bar
    1717        if ( get_option( 'dmcwzsb_set_topbar', 1 ) == 1 ) {
     18            // Variables
     19            $tbar_sticky = get_option( 'dmcwzsb_set_topbar_sticky', 0 );
     20            // Z-index
     21            if ( $tbar_sticky == 1 ) {
     22                $tbar_zindex = get_option( 'dmcwzsb_set_topbar_sticky_zindex', 100 );
     23                if ( $tbar_zindex != 100 ) {
     24                    $css .= '
     25                        .dmcwzsb-css-fix-topbar {
     26                            z-index: ' . $tbar_zindex . ';
     27                        }
     28                    ';
     29                }
     30            }
    1831            // Overflow width
    1932            $tbar_vert = get_option( 'dmcwzsb_set_topbar_vertical', 0 );
     
    97110            }
    98111            // Padding (Support Sticky banner)
    99             $tbar_sticky = get_option( 'dmcwzsb_set_topbar_sticky', 0 );
    100112            if ( $tbar_sticky == 1 ) {
    101113                if ( !empty( $tbar_outside_left ) || !empty( $tbar_outside_right ) ) {
     
    171183        //? ---------- Bottom Bar
    172184        if ( get_option( 'dmcwzsb_set_botbar', 0 ) == 1 ) {
     185            // Z-index
     186            $bbar_zindex = get_option( 'dmcwzsb_set_botbar_sticky_zindex', 100 );
     187            if ( $bbar_zindex != 100 ) {
     188                $css .= '
     189                    .dmcwzsb-css-botbar-box.dmcwzsb-css-fix-botbar-under-fix-on,
     190                    .dmcwzsb-css-action-footer-hide .dmcwzsb-css-botbar-box,
     191                    .dmcwzsb-css-action-footer-show .dmcwzsb-css-botbar-box {
     192                        z-index: ' . $bbar_zindex . ';
     193                    }
     194                ';
     195            }
    173196            // Overflow width
    174197            $bbar_vert = get_option( 'dmcwzsb_set_botbar_vertical', 0 );
  • dmc-sale-banner/trunk/js/admin/control-set.js

    r3365390 r3373019  
    141141        '.dmcwzsb-topbar-sticky-smooth-class',
    142142        '.dmcwzsb-topbar-sticky-padding-class',
    143         '.dmcwzsb-topbar-sticky-overflow-class'
     143        '.dmcwzsb-topbar-sticky-overflow-class',
     144        '.dmcwzsb-topbar-sticky-zindex-class'
    144145    ];
    145146
  • dmc-sale-banner/trunk/languages/dmc-sale-banner-de_DE.po

    r3365390 r3373019  
    33msgstr ""
    44"Project-Id-Version: DMCWebZone Sales Banners\n"
    5 "POT-Creation-Date: 2025-09-22 00:34+0700\n"
    6 "PO-Revision-Date: 2025-09-22 00:35+0700\n"
     5"POT-Creation-Date: 2025-09-29 04:58+0700\n"
     6"PO-Revision-Date: 2025-09-29 04:58+0700\n"
    77"Last-Translator: \n"
    88"Language-Team: \n"
     
    152152
    153153#. translators: %s: Amount as a percentage, example - 50%
    154 #: inc/admin/usability.php:265
     154#: inc/admin/usability.php:297
    155155#, php-format
    156156msgid ""
     
    161161"dieses Plugins, der über Ihren Link zustande kommt"
    162162
    163 #: inc/admin/usability.php:266
     163#: inc/admin/usability.php:298
    164164msgid "Get affiliate link"
    165165msgstr "Affiliate-Link erhalten"
     
    167167#: inc/function-botbar.php:131 inc/function-scode.php:116
    168168#: inc/function-topbar.php:131 inc/function-widget.php:116
    169 #: inc/function-woo.php:414 option/set-callback.php:305
     169#: inc/function-woo.php:494 option/set-callback.php:305
    170170msgid "Buy Now"
    171171msgstr "Jetzt kaufen"
  • dmc-sale-banner/trunk/languages/dmc-sale-banner-fr_FR.po

    r3369355 r3373019  
    33msgstr ""
    44"Project-Id-Version: DMCWebZone Sales Banners\n"
    5 "POT-Creation-Date: 2025-09-22 00:32+0700\n"
    6 "PO-Revision-Date: 2025-09-29 05:00+0700\n"
     5"POT-Creation-Date: 2025-09-29 04:59+0700\n"
     6"PO-Revision-Date: 2025-09-29 04:59+0700\n"
    77"Last-Translator: \n"
    88"Language-Team: \n"
     
    153153
    154154#. translators: %s: Amount as a percentage, example - 50%
    155 #: inc/admin/usability.php:265
     155#: inc/admin/usability.php:297
    156156#, php-format
    157157msgid ""
     
    162162"provenant de votre lien"
    163163
    164 #: inc/admin/usability.php:266
     164#: inc/admin/usability.php:298
    165165msgid "Get affiliate link"
    166166msgstr "Obtenir un lien d'affiliation"
     
    168168#: inc/function-botbar.php:131 inc/function-scode.php:116
    169169#: inc/function-topbar.php:131 inc/function-widget.php:116
    170 #: inc/function-woo.php:414 option/set-callback.php:305
     170#: inc/function-woo.php:494 option/set-callback.php:305
    171171msgid "Buy Now"
    172172msgstr "Acheter maintenant"
  • dmc-sale-banner/trunk/languages/dmc-sale-banner-nl_NL.po

    r3365390 r3373019  
    33msgstr ""
    44"Project-Id-Version: DMCWebZone Sales Banners\n"
    5 "POT-Creation-Date: 2025-09-22 00:30+0700\n"
    6 "PO-Revision-Date: 2025-09-22 00:30+0700\n"
     5"POT-Creation-Date: 2025-09-29 19:30+0700\n"
     6"PO-Revision-Date: 2025-09-29 19:31+0700\n"
    77"Last-Translator: \n"
    88"Language-Team: \n"
     
    152152
    153153#. translators: %s: Amount as a percentage, example - 50%
    154 #: inc/admin/usability.php:265
     154#: inc/admin/usability.php:297
    155155#, php-format
    156156msgid ""
     
    161161"via uw link plaatsvindt"
    162162
    163 #: inc/admin/usability.php:266
     163#: inc/admin/usability.php:298
    164164msgid "Get affiliate link"
    165165msgstr "Ontvang een affiliatelink"
     
    167167#: inc/function-botbar.php:131 inc/function-scode.php:116
    168168#: inc/function-topbar.php:131 inc/function-widget.php:116
    169 #: inc/function-woo.php:414 option/set-callback.php:305
     169#: inc/function-woo.php:494 option/set-callback.php:305
    170170msgid "Buy Now"
    171171msgstr "Koop Nu"
  • dmc-sale-banner/trunk/languages/dmc-sale-banner-pt_PT.po

    r3365390 r3373019  
    33msgstr ""
    44"Project-Id-Version: DMCWebZone Sales Banners\n"
    5 "POT-Creation-Date: 2025-09-22 00:29+0700\n"
    6 "PO-Revision-Date: 2025-09-22 00:29+0700\n"
     5"POT-Creation-Date: 2025-09-29 19:32+0700\n"
     6"PO-Revision-Date: 2025-09-29 19:32+0700\n"
    77"Last-Translator: \n"
    88"Language-Team: \n"
     
    152152
    153153#. translators: %s: Amount as a percentage, example - 50%
    154 #: inc/admin/usability.php:265
     154#: inc/admin/usability.php:297
    155155#, php-format
    156156msgid ""
     
    161161"do seu link"
    162162
    163 #: inc/admin/usability.php:266
     163#: inc/admin/usability.php:298
    164164msgid "Get affiliate link"
    165165msgstr "Obter link de afiliado"
     
    167167#: inc/function-botbar.php:131 inc/function-scode.php:116
    168168#: inc/function-topbar.php:131 inc/function-widget.php:116
    169 #: inc/function-woo.php:414 option/set-callback.php:305
     169#: inc/function-woo.php:494 option/set-callback.php:305
    170170msgid "Buy Now"
    171171msgstr "Compre Agora"
  • dmc-sale-banner/trunk/languages/dmc-sale-banner-ru_RU.po

    r3365390 r3373019  
    33msgstr ""
    44"Project-Id-Version: DMCWebZone Sales Banners\n"
    5 "POT-Creation-Date: 2025-09-21 23:36+0700\n"
    6 "PO-Revision-Date: 2025-09-22 00:02+0700\n"
     5"POT-Creation-Date: 2025-09-29 04:58+0700\n"
     6"PO-Revision-Date: 2025-09-29 04:58+0700\n"
    77"Last-Translator: \n"
    88"Language-Team: \n"
     
    152152
    153153#. translators: %s: Amount as a percentage, example - 50%
    154 #: inc/admin/usability.php:265
     154#: inc/admin/usability.php:297
    155155#, php-format
    156156msgid ""
     
    161161"плагина, которая происходит по вашей ссылке"
    162162
    163 #: inc/admin/usability.php:266
     163#: inc/admin/usability.php:298
    164164msgid "Get affiliate link"
    165165msgstr "Получить партнерскую ссылку"
     
    167167#: inc/function-botbar.php:131 inc/function-scode.php:116
    168168#: inc/function-topbar.php:131 inc/function-widget.php:116
    169 #: inc/function-woo.php:414 option/set-callback.php:305
     169#: inc/function-woo.php:494 option/set-callback.php:305
    170170msgid "Buy Now"
    171171msgstr "Купить сейчас"
  • dmc-sale-banner/trunk/languages/dmc-sale-banner-zh_CN.po

    r3365390 r3373019  
    33msgstr ""
    44"Project-Id-Version: DMCWebZone Sales Banners\n"
    5 "POT-Creation-Date: 2025-09-22 00:03+0700\n"
    6 "PO-Revision-Date: 2025-09-22 00:16+0700\n"
     5"POT-Creation-Date: 2025-09-29 05:00+0700\n"
     6"PO-Revision-Date: 2025-09-29 05:00+0700\n"
    77"Last-Translator: \n"
    88"Language-Team: \n"
     
    150150
    151151#. translators: %s: Amount as a percentage, example - 50%
    152 #: inc/admin/usability.php:265
     152#: inc/admin/usability.php:297
    153153#, php-format
    154154msgid ""
     
    157157msgstr "插入您的联盟链接,并从通过您的链接进行的每笔此插件销售中获得 %s"
    158158
    159 #: inc/admin/usability.php:266
     159#: inc/admin/usability.php:298
    160160msgid "Get affiliate link"
    161161msgstr "获取联盟链接"
     
    163163#: inc/function-botbar.php:131 inc/function-scode.php:116
    164164#: inc/function-topbar.php:131 inc/function-widget.php:116
    165 #: inc/function-woo.php:414 option/set-callback.php:305
     165#: inc/function-woo.php:494 option/set-callback.php:305
    166166msgid "Buy Now"
    167167msgstr "立即购买"
  • dmc-sale-banner/trunk/languages/dmc-sale-banner.pot

    r3365390 r3373019  
    33msgstr ""
    44"Project-Id-Version: DMCWebZone Sales Banners\n"
    5 "POT-Creation-Date: 2025-09-21 23:36+0700\n"
     5"POT-Creation-Date: 2025-09-29 19:33+0700\n"
    66"PO-Revision-Date: 2025-06-22 11:08+0700\n"
    77"Last-Translator: \n"
     
    150150
    151151#. translators: %s: Amount as a percentage, example - 50%
    152 #: inc/admin/usability.php:265
     152#: inc/admin/usability.php:297
    153153#, php-format
    154154msgid ""
     
    157157msgstr ""
    158158
    159 #: inc/admin/usability.php:266
     159#: inc/admin/usability.php:298
    160160msgid "Get affiliate link"
    161161msgstr ""
     
    163163#: inc/function-botbar.php:131 inc/function-scode.php:116
    164164#: inc/function-topbar.php:131 inc/function-widget.php:116
    165 #: inc/function-woo.php:414 option/set-callback.php:305
     165#: inc/function-woo.php:494 option/set-callback.php:305
    166166msgid "Buy Now"
    167167msgstr ""
  • dmc-sale-banner/trunk/option/set-botbar.php

    r3365390 r3373019  
    114114    );
    115115    register_setting( 'dmcwzsb-botbar-tab', 'dmcwzsb_set_botbar_sticky_overflow', 'dmcwzsb_fun_sanitize_checkbox' );
     116    // Z-index
     117    add_settings_field(
     118        'dmcwzsb_set_botbar_sticky_zindex',
     119        'Z-index',
     120        'dmcwzsb_fun_callback_banner_zindex',
     121        'dmcwzsb-botbar-tab',
     122        'dmcwzsb_set_section_botbar_on',
     123        array(
     124            'label_for' => 'dmcwzsb_set_botbar_sticky_zindex',
     125            'class'     => 'dmcwzsb-botbar-sticky-zindex-class',
     126            'name'      => 'dmcwzsb_set_botbar_sticky_zindex',
     127            'default'   => 100,
     128            'des'       => esc_html__( 'This is the depth of the banner when it is sticky (useful for compatibility with other sticky elements)', 'dmc-sale-banner' ),
     129        )
     130    );
     131    register_setting( 'dmcwzsb-botbar-tab', 'dmcwzsb_set_botbar_sticky_zindex', 'absint' );
    116132    //?--- Section - Filling the banner
    117133    add_settings_section(
  • dmc-sale-banner/trunk/option/set-callback.php

    r3365390 r3373019  
    3939    </div>
    4040    <?php
     41}
     42
     43// Numbers (Z-index)
     44function dmcwzsb_fun_callback_banner_zindex(  $args  ) {
     45    $def = $args['default'] ?? '0';
     46    $opt = get_option( $args['name'], $def );
     47    $des = $args['des'] ?? '';
     48    printf(
     49        '<p>' . esc_html( $des ) . '</p><p></p>' . ' <input type="number" min="0" max="999999999" id="%s" name="%s" value="%s"> ' . esc_html__( 'Default', 'dmc-sale-banner' ) . ': ' . esc_html( $def ),
     50        esc_attr( $args['name'] ),
     51        esc_attr( $args['name'] ),
     52        absint( $opt )
     53    );
    4154}
    4255
  • dmc-sale-banner/trunk/option/set-topbar.php

    r3365390 r3373019  
    109109        'sanitize_callback' => 'absint',
    110110    ) );
     111    // Z-index
     112    add_settings_field(
     113        'dmcwzsb_set_topbar_sticky_zindex',
     114        'Z-index',
     115        'dmcwzsb_fun_callback_banner_zindex',
     116        'dmcwzsb-topbar-tab',
     117        'dmcwzsb_set_section_topbar_on',
     118        array(
     119            'label_for' => 'dmcwzsb_set_topbar_sticky_zindex',
     120            'class'     => 'dmcwzsb-topbar-sticky-zindex-class',
     121            'name'      => 'dmcwzsb_set_topbar_sticky_zindex',
     122            'default'   => 100,
     123            'des'       => esc_html__( 'This is the depth of the banner when it is sticky (useful for compatibility with other sticky elements)', 'dmc-sale-banner' ),
     124        )
     125    );
     126    register_setting( 'dmcwzsb-topbar-tab', 'dmcwzsb_set_topbar_sticky_zindex', 'absint' );
    111127    //?--- Section - Filling the banner
    112128    add_settings_section(
  • dmc-sale-banner/trunk/readme.txt

    r3369355 r3373019  
    44Donate link: https://web-zone.org
    55Tags: banner, promo, sale, woocommerce, notification bar
    6 Stable tag: 1.2.2
     6Stable tag: 1.2.3
    77Requires at least: 6.0
    88Tested up to: 6.8
     
    1515== Description ==
    1616
    17 Demo – [DMC Discount Sale Promo Banner](https://web-zone.org/sale-banner)
     17Live demo – [DMC Discount Sale Promo Banner](https://web-zone.org/sale-banner)
    1818
    19 <strong>DMC Discount Sale Promo Banner</strong> is the easiest way to add promotional banners, announcements, messages, informational notices, notifications, advertising promotions, and special offers to your site.
     19**DMC Discount Sale Promo Banner** is the easiest way to add promotional banners, announcements, messages, informational notices, notifications, advertising promotions, and special offers to your site.
    2020
    2121Discount Sale Promo Banner displays eye-catching banners with text and a button. You can place the sale banner in the header or footer, on WooCommerce pages, or insert it via a widget or shortcode. Choose a ready-made banner design, add your text, and customize the action button.
    2222
     23The premium version includes a countdown timer to create a sense of urgency (FOMO). You can also schedule the banner to appear or disappear automatically based on a timer.
     24
    2325Discount Sale Promo Banner is great for boosting sales through promotions, special offers, and FOMO marketing.
    2426
    25 = You can set up 5 separate banners =
    26 * Top sticky banner (Top Bar)
    27 * Bottom sticky banner (Bottom Bar)
    28 * Banner via shortcode
    29 * Banner via widget
    30 * Banner for WooCommerce
     27### You can set up 5 separate banners
     281. Top sticky banner (Top Bar)
     291. Bottom sticky banner (Bottom Bar)
     301. Banner via shortcode
     311. Banner via widget
     321. Banner for WooCommerce
    3133
    32 <strong>Top bar</strong> is displayed on all pages of the site and can be set as sticky when scrolling.
     34**Top bar** is displayed on all pages of the site and can be set as sticky when scrolling.
    3335
    34 <strong>Bottom bar</strong> is also displayed on all pages. It is always sticky and its position can be customized (left, right, center, or full width).
     36**Bottom bar** is also displayed on all pages. It is always sticky and its position can be customized (left, right, center, or full width).
    3537
    36 <strong>Widget</strong> allows you to display a sales or notification banner in your sidebars.
     38**Widget** allows you to display a sales or notification banner in your sidebars.
    3739
    38 <strong>Shortcode</strong> lets you insert a sale banner into any text editor — for example, in posts, pages, category descriptions, products, and more.
     40**Shortcode** lets you insert a sale banner into any text editor — for example, in posts, pages, category descriptions, products, and more.
    3941
    40 <strong>Special WooCommerce module</strong> allows you to choose the placement of the advertising banner on the product page. You can also set its placement on the product list page, cart page, order page, and user account page.
     42**Special WooCommerce module** allows you to choose the placement of the advertising banner on the product page. You can also set its placement on the product list page, cart page, order page, and user account page.
    4143
    42 = What else can be customized? =
     44#### What else can be customized?
    4345* Display options (desktop, mobile, or both)
    4446* Choice of ready-made designs
     
    5052* Adding an action button
    5153
    52 = The premium version includes =
     54#### The premium version includes
    5355* Visual countdown timer
    5456* Turn on and off by timer
     
    6365* Flexible selection of WooCommerce pages for banner
    6466
    65 = Peculiarities =
     67### Peculiarities
    6668* Easy to use, no coding required
    6769* Translated into 20+ languages
     
    7274* Compatible with WooCommerce and Elementor
    7375
    74 = Support =
     76### Examples of use
     77- **Using the top bar, publish a notification for store visitors** – _Our store will open soon_
     78- **Using the bottom bar, write a message for customers** – _Big sale starting soon_
     79- **Using WooCommerce pages, display a promotion** – _Get 20% off when purchasing this product_
     80- **Using a shortcode, leave a information for users** – _This section is temporarily closed for moderation_
     81- **Using a widget, place an announcement for website visitors** – _Content manager required for the news section_
     82
     83### Support
    7584If you have any difficulties, please contact our [technical support for the DMC Discount Sale Promo Banner plugin](https://support.web-zone.org/), and we will definitely help you.
    7685
     
    8998
    9099== Frequently Asked Questions ==
     100
    91101= Can I use the DMC Discount Sale Promo Banner plugin for free? =
    92102Yes, the DMC Discount Sale Promo Banner plugin is a fully functional free version with extensive functionality.
     103The free version includes all the essential features, such as filling in promotional text, customizing the banner button, and setting indents and width restrictions.
     104The premium version adds more advanced functionality, such as a countdown timer to create a lost profit effect (FOMO), automatic activation of a banner with a timer promo, automatic shutdown of the banner at the end of the advertising sale by timer, more customization of the banner design, as well as a flexible selection of pages for displaying notifications.
    93105
    94 = I'm a beginner, can I use the plugin without much technical knowledge? =
    95 The plugin settings are easy and clear, the sections are logically and conveniently located, most of the settings have a good description.
    96 All this simplifies the plugin setup without any technical knowledge.
     106= I am a beginner, can I use the plugin without much technical knowledge? =
     107The "DMC Discount Sale Promo Banner" plugin settings are simple and straightforward, the sections are logically and conveniently laid out, and most banner creation settings are well-described.
     108All this simplifies the creation and customization of a banner with notifications, messages, announcements, promotions, or special offers, and does not require any technical knowledge.
     109
     110= How quickly can I set up and display an informational message or announcement to users? =
     111Immediately after installing the "DMC Discount Sale Promo Banner" plugin, an informational banner with a button will appear in the top bar of your website.
     112In the settings, enter the banner text, and your message to site users will be ready. If necessary, you can disable the button in the banner.
     113You can also select a pre-designed banner with one click to give your informational message or announcement a personalized look.
     114You can also display the announcement in the footer bar, sidebar, insert it into any content using a shortcode, or display the banner on WooCommerce pages.
     115To do this, use the separate tabs: Top Bar, Bottom Bar, Shortcode, Widget, and WooCommerce. This will allow you to customize five individual ads in different locations on your site.
     116
     117= Can I make a banner sticky? =
     118You can make the banner sticky in the top bar and bottom bar.
     119The banner in the bottom bar is always sticky. Just activate the "Bottom Bar" module and the banner with your notification will immediately become sticky.
     120To make a banner sticky for the top bar, go to the "Top Bar" tab and activate the "Sticky Banner" setting.
     121Check out the sticky banner settings, which allow you to make your message, announcement, or notification sticky while still providing a good user experience.
     122This is a "Smooth display" feature that allows you to create a smooth transition for the top banner before it becomes sticky.
     123The "Screen Overflow" setting is necessary in case the sticky banner covers a large part of the screen.
     124You can also set a top padding so that the top sticky banner with your message does not overlap with other sticky elements.
     125
     126= How many announcement banners can I publish? =
     127You can create up to 5 individually customized banners with separate announcements: Top Bar, Bottom Bar, Shortcode, Widget, and WooCommerce.
     128But a banner placed using the Shortcode and Widget modules can be repeated.
     129How does it work? For example, in the "Widget" module, you enter the announcement text and choose the banner design.
     130Next, you add a widget to display the announcement in the sidebar and another widget in the footer.
     131As a result, the same announcement text and banner design will be displayed both in the sidebar and in the footer.
     132
     133= Can I repeat banners with messages? =
     134You can only repeat banners with messages using widgets and shortcodes. In other modules, you can display only one banner with messages per page.
     135If you repeat a banner using a widget or shortcode, the same banner with a message will be displayed.
     136
     137= How to create a selling banner in the sidebar? =
     138Go to Appearance - Widgets and add the "DMC Sale Banner" widget.
     139Go to the plugin settings, go to the Widget tab and activate the module.
     140In the "Filling the banner" section, fill in the text describing your promotion or sale with incentives to increase sales.
     141Add an action button and provide a link to your special offer.
     142If you have a premium version, add a countdown timer to encourage customers to purchase your product.
     143A sales banner with a promotion or sale will appear in the sidebar where you added the widget.
     144
     145= How do I insert an informational message into a page or post? =
     146To add an informational message to a page or post, go to the settings and use the "Shortcode" tab.
     147Activate the module, fill out the information message and select the banner design.
     148Go to the editor of the desired page or post, add the shortcode [dmcwzsb-sc-banner] to any block on the page, and click "Save".
     149If you have the block editor enabled, you may need to add the Shortcode widget to insert this shortcode.
     150A banner with an informational message will be displayed on the front of the page or post.
     151
     152= How to insert a banner with a timer and special offer on a WooCommerce product page? =
     153To insert a banner with a special offer and a button, activate the WooCommerce module in the "WooCommerce" tab.
     154Add your own text for a special offer, sale, promotion, or any selling text.
     155After this, your banner with the special offer promotional message will be displayed on all WooCommerce pages.
     156To add a timer to the banner (with a countdown for the FOMO effect), you need the premium version of the "DMC Discount Sale Promo Banner" plugin.
     157
     158= How easy is it to set up a sale banner for my promotion? =
     159After activating the "DMC Discount Sale Promo Banner" plugin, it immediately starts displaying a banner with the sale in the top bar.
     160You can also easily display a sale banner in the footer bar on WooCommerce pages, insert it using a shortcode, or add it to the sidebar.
     161Simply fill in the text in the "Filling the banner" section and enter a link in the banner button that leads to your sale.
     162If you have a premium version, you can add a countdown timer to your banner with a FOMO effect, which will significantly increase the conversion rate of your sale and promotion.
     163
     164= How to make a promo banner with countdown timer? =
     165To create a promo banner with timer, you need the premium version of the DMC Discount Sale Promo Banner plugin.
     166Go to any module - Top Bar, Bottom Bar, Shortcode, Widget, WooCommerce, in which you want to display a promo banner with countdown timer.
     167Fill in the text informing about the promotion, as well as the button in the banner that leads to this promo.
     168Go to the "Timer" section and set the promotion start and end times. Also, enable the "Show timer visually" setting.
     169After this, a banner with a countdown timer and a button will appear on the front side of the site, announcing your promotion and motivating users to make a purchase.
    97170
    98171== Screenshots ==
     
    105178
    106179== Changelog ==
     180= 1.2.3 =
     181* New: Added "Z-index" setting for sticky banner in top bar and bottom bar
     182* New: Croatian and Bulgarian translations have been added
     183* Improvements: The plugin description has been expanded and questions and answers have been added
     184* Improvements: Updating translations
    107185= 1.2.2 =
    108186* New: Added support for working with new WooCommerce blocks for the shopping cart page and the checkout page.
Note: See TracChangeset for help on using the changeset viewer.