Plugin Directory

Changeset 3281755


Ignore:
Timestamp:
04/25/2025 10:47:55 AM (11 months ago)
Author:
itpathsolutions
Message:

1.0.4

  • Compatibility – Fully compatible with WordPress version 6.8.
  • Enhancement – Improved internationalization (i18n) support.
  • New – Added a new .pot file for translations.
  • Fix – Resolved issue with copying the social share shortcode.
Location:
ultimate-sticky-popup-widgets
Files:
55 added
7 edited

Legend:

Unmodified
Added
Removed
  • ultimate-sticky-popup-widgets/trunk/README.txt

    r3063264 r3281755  
    11=== Ultimate Sticky Popup & Widgets  ===
    2 Contributors: itpathsolutions, mayur8991, thakordarshil
     2Contributors: itpathsolutions, mayur8991, thakordarshil, pdangar
    33Donate link: https://www.itpathsolutions.com
    44Tags: popup , sticky popup , popup and widgets , sticky popup and widgets
    55Requires at least: 6.0
    6 Tested up to: 6.5
     6Tested up to: 6.8
    77Requires PHP: 7.4
    8 Stable tag: 1.0.3
     8Stable tag: 1.0.4
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6363== Changelog ==
    6464
     65= 1.0.4 =
     66- Compatibility – Fully compatible with WordPress version 6.8.
     67- Enhancement – Improved internationalization (i18n) support.
     68- New – Added a new .pot file for translations.
     69- Fix – Resolved issue with copying the social share shortcode.
     70
    6571= 1.0.3 =
    6672- Enhancement – Compatibility updated for WordPress 6.3
  • ultimate-sticky-popup-widgets/trunk/admin/css/admin.css

    r2817012 r3281755  
    1313    text-align: center;
    1414   
     15}
     16.sticky_popup_form {
     17    padding: 24px;
     18    border: 1px solid #e0e0e0;
     19    background-color: #fff;
     20    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
     21    border-radius: 8px;
    1522}
    1623.product_column a{
  • ultimate-sticky-popup-widgets/trunk/admin/js/ultimate-sticky-popup-and-widgets-admin.js

    r2817004 r3281755  
    3030     */
    3131    $( document ).ready(function() {
    32         jQuery('#uspaw_copy_to_clip_id').on('click',function(){
    33             var sampleTextarea = document.createElement("textarea");
    34             document.body.appendChild(sampleTextarea);
    35             sampleTextarea.value = jQuery('#uspaw_copy_to_clip_id').val(); //save main text in it
    36             sampleTextarea.select(); //select textarea contenrs
    37             document.execCommand("copy");
    38             document.body.removeChild(sampleTextarea);
    39             $('.aps-text-copied-msg').fadeIn(1000);
    40             $('.aps-text-copied-msg').fadeOut(1000);
    41          });
     32        $('#uspaw_copy_to_clip_id').click(function() {
     33            var shortcodeInput = document.getElementById('uspaw_shortcode_id');
     34            shortcodeInput.select();
     35            document.execCommand('copy');
     36           
     37            // Show the copied message
     38            $('.aps-text-copied-msg').fadeIn().delay(2000).fadeOut();
     39        });
    4240    });
    4341
  • ultimate-sticky-popup-widgets/trunk/admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php

    r2894082 r3281755  
    1919?>
    2020<div class="wrap">
    21     <h2><?php echo esc_html( 'Ultimate Sticky Popup & Widget Settings' );?></h2>
     21    <h2><?php esc_html_e('Ultimate Sticky Popup & Widget Settings', 'ultimate-sticky-popup-and-widgets'); ?></h2>
    2222    <?php if($uspaw_options['uspaw_social_share_active']): ?>
    2323    <div class="uspaw_current_short_code">
    24         <h4>Copy this short code to display Social Share:</h4>
     24        <h4><?php esc_html_e('Copy this short code to display Social Share:', 'ultimate-sticky-popup-and-widgets'); ?></h4>
    2525        <div class='uspaw-current-short-code-wrap'>
    26             <input type="text" size="30" readonly name="uspaw_shortcode" id="uspaw_shortcode_id" value="[uspaw_social_share]" disabled/>&nbsp;&nbsp;
    27             <span class="uspaw-copy-to-clip" id="uspaw_copy_to_clip_id" alt="copy">Copy</span>
     26            <input type="text" size="30" readonly name="uspaw_shortcode" id="uspaw_shortcode_id" value="[uspaw_social_share]" />&nbsp;&nbsp;
     27            <span class="uspaw-copy-to-clip" id="uspaw_copy_to_clip_id" alt="copy"><?php esc_html_e('Copy', 'ultimate-sticky-popup-and-widgets'); ?></span>
    2828        </div>
    29         <span class="aps-text-copied-msg" style="display:none;">Shortcode copied!</span>
     29        <span class="aps-text-copied-msg" style="display:none;"><?php esc_html_e('Shortcode copied!', 'ultimate-sticky-popup-and-widgets'); ?></span>
    3030    </div>
    3131    <?php endif; ?>
     
    3535        <?php if(isset($_GET["update-status"])): ?>
    3636        <div class="notice notice-success is-dismissible">
    37             <p><?php echo esc_html('Settings save successfully!'); ?>.</p>
     37            <p><?php esc_html_e('Settings saved successfully!', 'ultimate-sticky-popup-and-widgets'); ?></p>
    3838        </div>
    3939        <?php endif; ?>
     
    4141            <table class="form-table" width="100%">
    4242                <tr>
    43                     <th scope="row">Display Popup</th>
     43                    <th scope="row"><?php esc_html_e('Display Popup', 'ultimate-sticky-popup-and-widgets'); ?></th>
    4444                    <td>
    4545                        <input type="checkbox" name="popup_active" id="popup_active" value="1"
    4646                            <?php if($uspaw_options['uspaw_popup_active'])  echo 'checked="checked"'; else '';?>>&nbsp;<label
    47                             for="popup_active"><strong><?php echo esc_html('Enable Us');?></strong></label>
     47                            for="popup_active"><strong><?php esc_html_e('Enable Us', 'ultimate-sticky-popup-and-widgets'); ?></strong></label>
    4848                    </td>
    4949                </tr>
    5050                <tr>
    51                     <th scope="row">Enable Social Share</th>
     51                    <th scope="row"><?php esc_html_e('Enable Social Share', 'ultimate-sticky-popup-and-widgets'); ?></th>
    5252                    <td>
    5353                        <input type="checkbox" name="social_share_active" id="popup_active" value="1"
    5454                            <?php if($uspaw_options['uspaw_social_share_active'])  echo 'checked="checked"'; else '';?>>&nbsp;<label
    55                             for="social_share_active"><strong><?php echo esc_html('Enable Share');?></strong></label>
     55                            for="social_share_active"><strong><?php esc_html_e('Enable Share', 'ultimate-sticky-popup-and-widgets'); ?></strong></label>
    5656                    </td>
    5757                </tr>
    5858                <tr>
    59                     <th scope="row"><label for="button_layout"><?php echo esc_html( 'Layout' );?></label></th>
     59                    <th scope="row"><label for="button_layout"><?php esc_html_e( 'Layout', 'ultimate-sticky-popup-and-widgets' );?></label></th>
    6060                    <td><select name="button_layout" id="button_layout">
    6161                            <?php foreach ( $get_uspaw_button_layout as $key => $value ): ?>
     
    6767                </tr>
    6868                <tr>
    69                     <th scope="row"><label for="popup_title"><?php echo esc_html( 'Popup Title');?></label></th>
     69                    <th scope="row"><label for="popup_title"><?php esc_html_e('Popup Title', 'ultimate-sticky-popup-and-widgets'); ?></label></th>
    7070                    <td><input type="text" name="popup_title" id="popup_title" size="25"
    7171                            value="<?php echo esc_attr($uspaw_options['uspaw_popup_title']); ?>"></td>
    7272                </tr>
    7373                <tr>
    74                     <th scope="row"><label for="popup_title_color"><?php echo esc_html( 'Popup Title Color' );?></label>
     74                    <th scope="row"><label for="popup_title_color"><?php esc_html_e('Popup Title Color', 'ultimate-sticky-popup-and-widgets'); ?></label>
    7575                    </th>
    7676                    <td><input type="text" name="popup_title_color" id="popup_title_color" maxlength="255" size="25"
     
    7878                </tr>
    7979                <tr>
    80                     <th scope="row"><label
    81                             for="popup_title_image"><?php echo esc_html( 'Popup Title Right Side Icon');?></label></th>
     80                    <th scope="row"><label for="popup_title_image"><?php esc_html_e('Popup Title Right Side Icon', 'ultimate-sticky-popup-and-widgets'); ?></label></th>
    8281                    <td><input type="text" name="popup_title_image" id="popup_title_image" maxlength="255" size="25"
    8382                            value="<?php echo esc_attr($uspaw_options['uspaw_popup_image']); ?>"><input
    84                             id="popup_title_image_button" class="button" type="button" value="Upload Image" />
    85                         <br />Enter a URL or upload an image
     83                            id="popup_title_image_button" class="button" type="button" value="<?php esc_attr_e('Upload Image', 'ultimate-sticky-popup-and-widgets'); ?>" />
     84                        <?php esc_html_e('Enter a URL or upload an image', 'ultimate-sticky-popup-and-widgets'); ?>
    8685                    </td>
    8786                </tr>
    8887                <tr>
    89                     <th scope="row"><label
    90                             for="popup_right_icon_border"><?php echo esc_html( 'Popup Right Icon Border Color' );?></label>
    91                     </th>
     88                    <th scope="row"><label for="popup_right_icon_border"><?php esc_html_e('Popup Right Icon Border Color', 'ultimate-sticky-popup-and-widgets'); ?></label></th>
    9289                    <td><input type="text" name="popup_right_icon_border" id="popup_right_icon_border"
    9390                            maxlength="255" size="25"
     
    9693               
    9794                <tr>
    98                     <th scope="row"><label for="popup_header_color"><?php echo esc_html( 'Popup Header Color' );?></label>
     95                    <th scope="row"><label for="popup_header_color"><?php esc_html_e('Popup Header Color', 'ultimate-sticky-popup-and-widgets'); ?></label></th>
    9996                    </th>
    10097                    <td><input type="text" name="popup_header_color" id="popup_header_color" maxlength="255" size="25"
     
    10299                </tr>
    103100                <tr>
    104                     <th scope="row"><label
    105                             for="popup_header_border_color"><?php echo esc_html( 'Popup Header Border Color' );?></label>
     101                    <th scope="row"><label for="popup_header_border_color"><?php esc_html_e('Popup Header Border Color', 'ultimate-sticky-popup-and-widgets'); ?></label></th>
    106102                    </th>
    107103                    <td><input type="text" name="popup_header_border_color" id="popup_header_border_color"
     
    110106                </tr>
    111107                <tr>
    112                     <th scope="row"><label for="popup_place"><?php echo esc_html( 'Popup Place' );?></label></th>
     108                    <th scope="row"><label for="popup_place"><?php esc_html_e('Popup Place', 'ultimate-sticky-popup-and-widgets'); ?></label></th>
    113109                    <td><select name="popup_place" id="popup_place">
    114110                            <?php foreach ( $get_uspaw_place as $key => $value ): ?>
     
    121117
    122118                <tr>
    123                     <th scope="row"><label for="popup_top_margin"><?php echo esc_html( 'Popup Top Margin');?></label>
     119                    <th scope="row"><label for="popup_top_margin"><?php esc_html_e('Popup Top Margin', 'ultimate-sticky-popup-and-widgets'); ?></label></th>
    124120                    </th>
    125121                    <td><input type="number" name="popup_top_margin" id="popup_top_margin" maxlength="255" size="25"
    126                             value="<?php echo esc_attr($uspaw_options['uspaw_popup_top_margin']); ?>">%<br />
    127                         <small>Top margin is only included if popup place Left or Right is selected. Please enter
    128                             numeric value.
     122                            value="<?php echo esc_attr($uspaw_options['uspaw_popup_top_margin']); ?>">%   
     123                        <small><?php esc_html_e('Top margin is only included if popup place Left or Right is selected. Please enter numeric value.', 'ultimate-sticky-popup-and-widgets'); ?></small>
    129124                    </td>
    130125                </tr>
    131126                <tr>
    132127                    <th scope="row"><label
    133                             for="popup_content"><?php echo esc_html( 'Popup Content');?><br></label><small><?php echo esc_html( 'you can add shortcode or html' );?></small>
    134                     </th>
     128                            for="popup_content"><?php esc_html_e('Popup Content', 'ultimate-sticky-popup-and-widgets'); ?><br></label>
     129                        <small><?php esc_html_e('you can add shortcode or html', 'ultimate-sticky-popup-and-widgets'); ?></small></th>
    135130                    <td></td>
    136131                </tr>
     
    153148            <p class="submit">
    154149                <input type="submit" name="Submit" class="button-primary"
    155                     value="<?php echo esc_attr( 'Save Changes' ) ?>" />
     150                    value="<?php esc_attr_e('Save Changes', 'ultimate-sticky-popup-and-widgets'); ?>" />
    156151            </p>
    157152        </div>
  • ultimate-sticky-popup-widgets/trunk/includes/class-ultimate-sticky-popup-and-widgets.php

    r2894082 r3281755  
    257257    public function get_uspaw_place() {
    258258        return array(
    259                 'right-bottom' => 'Right Bottom',
    260                 'left-bottom' => 'Left Bottom',
    261                 'top-left' => 'Top Left',
    262                 'top-right' => 'Top Right',             
    263                 'right' => 'Right',
    264                 'left' => 'Left',               
     259                'right-bottom' => __('Right Bottom', 'ultimate-sticky-popup-and-widgets'),
     260                'left-bottom' => __('Left Bottom', 'ultimate-sticky-popup-and-widgets'),
     261                'top-left' => __('Top Left', 'ultimate-sticky-popup-and-widgets'),
     262                'top-right' => __('Top Right', 'ultimate-sticky-popup-and-widgets'),
     263                'right' => __('Right', 'ultimate-sticky-popup-and-widgets'),
     264                'left' => __('Left', 'ultimate-sticky-popup-and-widgets'),
    265265            );
    266266    }
     
    268268    public function get_uspaw_button_layout() {
    269269        return array(
    270                 'squre-layout' => 'Square Layout',
    271                 'round-layout' => 'Round Layout',               
     270                'squre-layout' => __('Square Layout', 'ultimate-sticky-popup-and-widgets'),
     271                'round-layout' => __('Round Layout', 'ultimate-sticky-popup-and-widgets'),
    272272            );
    273273    }
  • ultimate-sticky-popup-widgets/trunk/languages/ultimate-sticky-popup-and-widgets.pot

    r2754393 r3281755  
     1#, fuzzy
     2msgid ""
     3msgstr ""
     4"Project-Id-Version: Ultimate Sticky Popup & Widgets\n"
     5"Report-Msgid-Bugs-To: \n"
     6"POT-Creation-Date: 2025-04-25 10:36+0000\n"
     7"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
     8"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     9"Language-Team: \n"
     10"Language: \n"
     11"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
     12"MIME-Version: 1.0\n"
     13"Content-Type: text/plain; charset=UTF-8\n"
     14"Content-Transfer-Encoding: 8bit\n"
     15"X-Generator: Loco https://localise.biz/\n"
     16"X-Loco-Version: 2.7.2; wp-6.8\n"
     17"X-Domain: ultimate-sticky-popup-and-widgets"
     18
     19#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:27
     20msgid "Copy"
     21msgstr ""
     22
     23#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:24
     24msgid "Copy this short code to display Social Share:"
     25msgstr ""
     26
     27#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:43
     28msgid "Display Popup"
     29msgstr ""
     30
     31#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:55
     32msgid "Enable Share"
     33msgstr ""
     34
     35#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:51
     36msgid "Enable Social Share"
     37msgstr ""
     38
     39#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:47
     40msgid "Enable Us"
     41msgstr ""
     42
     43#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:84
     44msgid "Enter a URL or upload an image"
     45msgstr ""
     46
     47#. Author of the plugin
     48msgid "IT Path Solutions"
     49msgstr ""
     50
     51#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:59
     52msgid "Layout"
     53msgstr ""
     54
     55#: includes/class-ultimate-sticky-popup-and-widgets.php:264
     56msgid "Left"
     57msgstr ""
     58
     59#: includes/class-ultimate-sticky-popup-and-widgets.php:260
     60msgid "Left Bottom"
     61msgstr ""
     62
     63#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:128
     64msgid "Popup Content"
     65msgstr ""
     66
     67#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:101
     68msgid "Popup Header Border Color"
     69msgstr ""
     70
     71#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:95
     72msgid "Popup Header Color"
     73msgstr ""
     74
     75#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:108
     76msgid "Popup Place"
     77msgstr ""
     78
     79#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:88
     80msgid "Popup Right Icon Border Color"
     81msgstr ""
     82
     83#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:69
     84msgid "Popup Title"
     85msgstr ""
     86
     87#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:74
     88msgid "Popup Title Color"
     89msgstr ""
     90
     91#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:80
     92msgid "Popup Title Right Side Icon"
     93msgstr ""
     94
     95#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:119
     96msgid "Popup Top Margin"
     97msgstr ""
     98
     99#: includes/class-ultimate-sticky-popup-and-widgets.php:263
     100msgid "Right"
     101msgstr ""
     102
     103#: includes/class-ultimate-sticky-popup-and-widgets.php:259
     104msgid "Right Bottom"
     105msgstr ""
     106
     107#: includes/class-ultimate-sticky-popup-and-widgets.php:271
     108msgid "Round Layout"
     109msgstr ""
     110
     111#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:150
     112msgid "Save Changes"
     113msgstr ""
     114
     115#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:37
     116msgid "Settings saved successfully!"
     117msgstr ""
     118
     119#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:29
     120msgid "Shortcode copied!"
     121msgstr ""
     122
     123#: includes/class-ultimate-sticky-popup-and-widgets.php:270
     124msgid "Square Layout"
     125msgstr ""
     126
     127#: includes/class-ultimate-sticky-popup-and-widgets.php:261
     128msgid "Top Left"
     129msgstr ""
     130
     131#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:123
     132msgid ""
     133"Top margin is only included if popup place Left or Right is selected. Please "
     134"enter numeric value."
     135msgstr ""
     136
     137#: includes/class-ultimate-sticky-popup-and-widgets.php:262
     138msgid "Top Right"
     139msgstr ""
     140
     141#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:21
     142msgid "Ultimate Sticky Popup & Widget Settings"
     143msgstr ""
     144
     145#. Name of the plugin
     146msgid "Ultimate Sticky Popup & Widgets"
     147msgstr ""
     148
     149#. Description of the plugin
     150msgid ""
     151"Ultimate Sticky Popup & Widgets is a simple, easy and fully-customizable "
     152"WordPress plugin used to add popup on fixed position like bottom left, "
     153"bottom right, left side or right side , top left side & top right side with "
     154"User friendly Settings."
     155msgstr ""
     156
     157#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:83
     158msgid "Upload Image"
     159msgstr ""
     160
     161#: admin/partials/ultimate-sticky-popup-and-widgets-admin-display.php:129
     162msgid "you can add shortcode or html"
     163msgstr ""
  • ultimate-sticky-popup-widgets/trunk/ultimate-sticky-popup-and-widgets.php

    r2962786 r3281755  
    1616 * Plugin URI:        https://wordpress.org/plugins/ultimate-sticky-popup-and-widgets/
    1717 * Description:       Ultimate Sticky Popup & Widgets is a simple, easy and fully-customizable WordPress plugin used to add popup on fixed position like bottom left, bottom right, left side or right side , top left side & top right side with User friendly Settings.
    18  * Version:           1.0.3
     18 * Version:           1.0.4
    1919 * Author:            IT Path Solutions
    2020 * Author URI:        https://www.itpathsolutions.com/
     
    3535 * Rename this for your plugin and update it as you release new versions.
    3636 */
    37 define( 'ULTIMATE_STICKY_POPUP_AND_WIDGETS_VERSION', '1.0.3' );
     37define( 'ULTIMATE_STICKY_POPUP_AND_WIDGETS_VERSION', '1.0.4' );
    3838
    3939/**
Note: See TracChangeset for help on using the changeset viewer.