Plugin Directory

Changeset 3396714


Ignore:
Timestamp:
11/16/2025 07:06:19 PM (3 months ago)
Author:
realwebcare
Message:

Committing T4B News Ticker v1.4.3

Location:
t4b-news-ticker/trunk
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • t4b-news-ticker/trunk/actions/t4bnt-functions.php

    r3303710 r3396714  
    77 * and generating JavaScript for ticker effects.
    88 *
    9  * @package T4B News Ticker v1.4.2 - 30 May, 2025
     9 * @package T4B News Ticker v1.4.3 - 16 November, 2025
    1010 * @link https://www.realwebcare.com/
    1111 */
  • t4b-news-ticker/trunk/actions/ticker-shortcode.php

    r3303710 r3396714  
    88 * sanitization and validation of all inputs and options to maintain security and data integrity.
    99 *
    10  * @package T4B News Ticker v1.4.2 - 30 May, 2025
     10 * @package T4B News Ticker v1.4.3 - 16 November, 2025
    1111 * @link https://www.realwebcare.com/
    1212 */
  • t4b-news-ticker/trunk/assets/css/t4bnt-admin.css

    r3303710 r3396714  
    11/*!
    2  *  T4B News Ticker v1.4.2 - 30 May, 2025
     2 *  T4B News Ticker v1.4.3 - 16 November, 2025
    33 *  by @realwebcare - https://www.realwebcare.com/
    44 */
     
    204204
    205205#t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt {
    206     margin:0 0 10px;
    207     line-height:30px
     206    margin: 0 0 10px;
     207    line-height: 30px
    208208}
    209209
    210210#t4bnt-narration #t4bntusage-note .t4bnt h3 {
    211     font-size:20px;
    212     font-weight:700;
    213     color:#0d0925;
    214     margin-top:0;
    215     line-height:30px;
    216     border-bottom:1px solid #72777c;
    217     padding-bottom:7px;
    218     text-transform:uppercase
     211    font-size: 20px;
     212    font-weight: 700;
     213    color: #0d0925;
     214    margin-top: 0;
     215    line-height: 30px;
     216    border-bottom: 1px solid #72777c;
     217    padding-bottom: 7px;
     218    text-transform: uppercase
    219219}
    220220
    221221#t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt a {
    222     float:none;
    223     background:none;
    224     margin:0;
    225     padding:0;
    226     color:#2271b1;
    227     font-size:100%;
    228     border-radius:0;
    229     box-shadow:none;
    230     border:0;
    231     font-weight:600;
    232     text-decoration:none
     222    float: none;
     223    background: none;
     224    margin: 0;
     225    padding: 0;
     226    color: #2271b1;
     227    font-size: 100%;
     228    border-radius: 0;
     229    box-shadow: none;
     230    border: 0;
     231    font-weight: 600;
     232    text-decoration: none
    233233}
    234234
    235235
    236236#t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt a:hover {
    237     color:#135e96;
    238     text-decoration:underline
     237    color: #135e96;
     238    text-decoration: underline
    239239}
    240240
    241241
    242242#t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt ol li {
    243     line-height:1.4;
    244     color:#262626
     243    line-height: 1.4;
     244    color: #262626
    245245}
    246246
     
    256256}
    257257
    258 #t4bnt-narration #t4bntusage-note.t4bntusage-maincontent{
    259     padding-bottom:20px
     258#t4bnt-narration #t4bntusage-note.t4bntusage-maincontent {
     259    padding-bottom: 20px
    260260}
    261261
     
    265265
    266266#t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt .likeit {
    267     position:relative;
    268     margin:0 0 50px;
    269     font-size:14px;
    270     text-transform:uppercase;
    271     text-align:justify;
    272     color:#2271b1;
    273     font-weight:600;
    274     line-height:1.5
    275 }
    276 
    277 #t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt .likeit a{
    278     position:absolute;
    279     left:50%;
    280     top:calc(100% + 5px);
    281     font-size:16px;
    282     background-image:linear-gradient(147deg,#fe8a39 0%,#fd3838 74%);
    283     margin:10px 0 0;
    284     padding:6px 18px;
    285     border-radius:50px;
    286     color:#fff;
    287     text-decoration:none;
    288     text-align:center;
    289     letter-spacing:4px;
    290     transform:translateX(-50%)
    291 }
    292 
    293 #t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt .likeit a:hover{
    294     text-decoration:none;
    295     color:#ffe000;
    296     background-image:linear-gradient(335deg,#fe8a39 0%,#fd3838 74%)
     267    position: relative;
     268    margin: 0 0 50px;
     269    font-size: 14px;
     270    text-transform: uppercase;
     271    text-align: justify;
     272    color: #2271b1;
     273    font-weight: 600;
     274    line-height: 1.5
     275}
     276
     277#t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt .likeit a {
     278    position: absolute;
     279    left: 50%;
     280    top: calc(100% + 5px);
     281    font-size: 16px;
     282    background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
     283    margin: 10px 0 0;
     284    padding: 6px 18px;
     285    border-radius: 50px;
     286    color: #fff;
     287    text-decoration: none;
     288    text-align: center;
     289    letter-spacing: 4px;
     290    transform: translateX(-50%)
     291}
     292
     293#t4bnt-narration #t4bntusage-note.t4bntusage-maincontent .t4bnt .likeit a:hover {
     294    text-decoration: none;
     295    color: #ffe000;
     296    background-image: linear-gradient(335deg, #fe8a39 0%, #fd3838 74%)
    297297}
    298298/* // Narration */
     
    477477
    478478#t4bnt-sidebar #t4bntusage-shortcode.t4bntusage-sidebar .t4b-scode pre {
    479     margin:10px 0
     479    margin: 10px 0
    480480}
    481481
     
    530530
    531531/* Help */
    532 .t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info{
    533     background-color:#fff;
    534     border:1px solid #ddd;
    535     border-radius:8px;
    536     padding:20px;
    537     margin:34px 10px 20px 0;
    538     line-height:1.6
     532.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info {
     533    background-color: #fff;
     534    border: 1px solid #ddd;
     535    border-radius: 8px;
     536    padding: 20px;
     537    margin: 34px 10px 20px 0;
     538    line-height: 1.6
    539539}
    540540
    541541.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info .get-instructed {
    542    font-size:20px;
    543    font-weight:bold;
    544    margin-bottom:15px;
    545    text-transform:uppercase
     542    font-size: 20px;
     543    font-weight: bold;
     544    margin-bottom: 15px;
     545    text-transform: uppercase
    546546}
    547547
    548548.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info .t4bnt-help-instructions {
    549    list-style:decimal inside;
    550    margin:0;
    551    padding:0;
    552    color:#333
     549    list-style: decimal inside;
     550    margin: 0;
     551    padding: 0;
     552    color: #333
    553553}
    554554
    555555.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info .t4bnt-help-instructions ul {
    556    list-style:disc inside;
    557    margin:10px 0 0 20px;
    558    padding:0
     556    list-style: disc inside;
     557    margin: 10px 0 0 20px;
     558    padding: 0
    559559}
    560560
    561561.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info .t4bnt-help-instructions li {
    562    margin:10px 0;
    563    padding:10px;
    564    background-color:#f9f9f9;
    565    border:1px solid #eee;
    566    border-radius:4px
     562    margin: 10px 0;
     563    padding: 10px;
     564    background-color: #f9f9f9;
     565    border: 1px solid #eee;
     566    border-radius: 4px
    567567}
    568568
    569569.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info .t4bnt-help-instructions li pre {
    570    display:inline-block
     570    display: inline-block
    571571}
    572572
     
    581581
    582582.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info .t4bnt-help-instructions li strong {
    583    color:#0056b3;
    584    font-weight:bold
     583    color: #0056b3;
     584    font-weight: bold
    585585}
    586586
    587587.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info .getting-started_video {
    588    display:flex
     588    display: flex
    589589}
    590590
    591591.t4bnt_settings_area .wrap.t4bnt_settings .t4bnt-help-info .getting-started_video img {
    592    max-width:100%
     592    max-width: 100%
    593593}
    594594
    595595.t4bnt_settings_area .t4bnt-help-info .t4bnt-help-instructions .t4bnt-keyword {
    596    color:#B8DC9F
     596    color: #B8DC9F
    597597}
    598598
    599599.t4bnt_settings_area .t4bnt-help-info .t4bnt-help-instructions .t4bnt-function {
    600    color:#fe8d59
     600    color: #fe8d59
    601601}
    602602
    603603.t4bnt_settings_area .t4bnt-help-info .t4bnt-help-instructions .t4bnt-string {
    604    color:#00fbbd
     604    color: #00fbbd
    605605}
    606606/* // Help */
    607607
    608608/* Review */
    609 #t4bnt-review{
    610     background:linear-gradient(135deg,#f0f9ff,#cfe7f9);
    611     border:2px solid #4a90e2;
    612     border-radius:12px;
    613     margin:1em auto 0;
    614     padding:20px;
    615     box-shadow:0 4px 10px rgba(0,0,0,0.1);
    616     font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
    617     color:#333;
    618     max-width:90%;
    619     animation:fadeIn .6s ease-in-out
    620 }
    621    
    622 @keyframes fadeIn{
    623     from{
    624         opacity:0;
    625         transform:translateY(-10px)
     609#t4bnt-review {
     610    background: #fff;
     611    border-radius: 10px;
     612    margin: 1em auto 0;
     613    padding: 20px;
     614    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
     615    color: #333;
     616    max-width: 100%;
     617    animation: fadeIn .6s ease-in-out
     618}
     619
     620@keyframes fadeIn {
     621    from {
     622        opacity: 0;
     623        transform: translateY(-10px)
    626624    }
    627     to{
    628         opacity:1;
    629         transform:translateY(0)
     625    to {
     626        opacity: 1;
     627        transform: translateY(0)
    630628    }
    631629}
    632    
    633 #t4bnt-review p{
    634     font-size:16px;
    635     line-height:1.6;
    636     margin:10px 0
    637 }
    638    
    639 #t4bnt-review b{
    640     color:#0073aa
    641 }
    642    
    643 .t4bnt-review-btn{
    644     display:flex;
    645     align-items:flex-start;
    646     gap:15px;
    647     margin-top:15px
    648 }
    649    
    650 .t4bnt-review-btn .button-primary,.t4bnt-review-btn .button-secondary{
    651     transition:background-color .3s ease,transform .2s ease
    652 }
    653    
    654 .t4bnt-review-btn .button-primary:hover,.t4bnt-review-btn .button-secondary:hover{
    655     transform:scale(1.05)
    656 }
    657    
    658 .t4bnt-is-dismissible{
    659     position:relative;
    660     padding-right:40px
    661 }
    662    
    663 .t4bnt-notice .t4bnt-close-icon{
    664     position:absolute;
    665     top:12px;
    666     right:12px;
    667     width:13px;
    668     height:13px;
    669     line-height:10px;
    670     text-align:center;
    671     background:#999;
    672     border-radius:50%;
    673     font-size:15px;
    674     font-weight:900;
    675     color:#d3e9f9;
    676     cursor:pointer;
    677     transition:color .3s ease
    678 }
    679    
    680 .t4bnt-notice .t4bnt-close-icon:hover{
    681     background:#333
     630
     631#t4bnt-review p {
     632    font-size: 14px;
     633    line-height: 1.5;
     634    margin: 10px 0;
     635}
     636
     637#t4bnt-review b {
     638    color: #0073aa
     639}
     640
     641.t4bnt-review-btn {
     642    display: flex;
     643    align-items: flex-start;
     644    gap: 15px;
     645    margin-top: 15px
     646}
     647
     648.t4bnt_settings_area .t4bnt-review-btn .button-primary {
     649    padding: 0 10px;
     650    font-size: 100%;
     651}
     652
     653.t4bnt-review-btn .button-primary, .t4bnt-review-btn .button-secondary {
     654    transition: background-color .3s ease, transform .2s ease
     655}
     656
     657.t4bnt-review-btn .button-primary:hover, .t4bnt-review-btn .button-secondary:hover {
     658    transform: scale(1.05)
    682659}
    683660/* //Review */
  • t4b-news-ticker/trunk/assets/css/t4bnt-scroll.css

    r3303710 r3396714  
    11/**
    2  * T4B News Ticker v1.4.2 - 30 May, 2025
     2 * T4B News Ticker v1.4.3 - 16 November, 2025
    33 * by @realwebcare - https://www.realwebcare.com/
    44 */
  • t4b-news-ticker/trunk/assets/css/t4bnt-styles.css

    r3303710 r3396714  
    11/**
    2  * T4B News Ticker v1.4.2 - 30 May, 2025
     2 * T4B News Ticker v1.4.3 - 16 November, 2025
    33 * by @realwebcare - https://www.realwebcare.com/
    44 */
  • t4b-news-ticker/trunk/assets/js/t4bnt-admin.js

    r3303710 r3396714  
    77 * the user's last tab state even after a page reload or revisit.
    88 *
    9  * T4B News Ticker v1.4.2 - 30 May, 2025
     9 * T4B News Ticker v1.4.3 - 16 November, 2025
    1010 * by @realwebcare - https://www.realwebcare.com/
    1111 */
  • t4b-news-ticker/trunk/assets/js/t4bnt.atickers.js

    r3303710 r3396714  
    1212    along with jQuery News Ticker.  If not, see <http://www.gnu.org/licenses/>.
    1313
    14     T4B News Ticker v1.4.2 - 30 May, 2025
     14    T4B News Ticker v1.4.3 - 16 November, 2025
    1515    by @realwebcare - https://www.realwebcare.com/
    1616*/
  • t4b-news-ticker/trunk/assets/js/t4bnt.liscroll.js

    r3303710 r3396714  
    88 *
    99 * Modified by @realwebcare v1.3.1
    10  * T4B News Ticker v1.4.2 - 30 May, 2025
     10 * T4B News Ticker v1.4.3 - 16 November, 2025
    1111 * by @realwebcare - https://www.realwebcare.com/
    1212 */
  • t4b-news-ticker/trunk/inc/init-t4bnt.php

    r3303710 r3396714  
    88 * and various other essential tasks needed when the plugin is live at the front-end.
    99 *
    10  * @package T4B News Ticker v1.4.2 - 30 May, 2025
     10 * @package T4B News Ticker v1.4.3 - 16 November, 2025
    1111 * @link https://www.realwebcare.com/
    1212 */
    13 if ( ! defined( 'ABSPATH' ) ) {
     13if (!defined('ABSPATH')) {
    1414    exit; // Exit if accessed directly
    1515}
    1616
    17 if( ! class_exists( 'T4BNT_Init' ) ) {
    18     class T4BNT_Init {
     17if (!class_exists('T4BNT_Init')) {
     18    class T4BNT_Init
     19    {
    1920
    2021        private static $instance;
    2122
    22         public function __construct() {
     23        public function __construct()
     24        {
    2325            // Load necessary required files.
    2426            $this->required_files();
    2527
    2628            /// Load plugin text domain
    27             add_action( 'plugins_loaded', array( $this, 't4bnt_textdomain' ) );
     29            add_action('plugins_loaded', array($this, 't4bnt_textdomain'));
    2830
    2931            // Init admin notice for review
    30             add_action( 'admin_init', array( $this, 't4bnt_check_i10n_date' ) );
     32            add_action('admin_init', array($this, 't4bnt_check_i10n_date'));
    3133
    3234            // Init to remove admin notice
    33             add_action( 'admin_init', array( $this, 't4bnt_review_nt' ), 5 );
     35            add_action('admin_init', array($this, 't4bnt_review_nt'), 5);
    3436
    3537            // This filter allows us to modify the action links displayed on the Plugins page
    36             add_filter( 'plugin_action_links_' . plugin_basename(T4BNT_AUF), array( $this, 't4bnt_plugin_actions' ) );
    37         }
    38 
    39         public static function get_instances() {
    40             if ( self::$instance ) {
     38            add_filter('plugin_action_links_' . plugin_basename(T4BNT_AUF), array($this, 't4bnt_plugin_actions'));
     39        }
     40
     41        public static function get_instances()
     42        {
     43            if (self::$instance) {
    4144                return self::$instance;
    4245            }
     
    5659         * @return void
    5760         */
    58         private function required_files() {
     61        private function required_files()
     62        {
    5963            // Handles the enqueueing of scripts and styles.
    6064            require_once T4BNT_PLUGIN_PATH . 'inc/t4bnt-enqueue.php';
     
    8488         * @return void
    8589         */
    86         public function t4bnt_textdomain() {
    87             $locale = apply_filters( 'plugin_locale', get_locale(), 't4b-news-ticker' );
    88             load_textdomain( 't4b-news-ticker', T4BNT_PLUGIN_PATH . 't4b-news-ticker/languages/t4b-news-ticker-' . $locale . '.mo' );
     90        public function t4bnt_textdomain()
     91        {
     92            $locale = apply_filters('plugin_locale', get_locale(), 't4b-news-ticker');
     93            load_textdomain('t4b-news-ticker', T4BNT_PLUGIN_PATH . 't4b-news-ticker/languages/t4b-news-ticker-' . $locale . '.mo');
    8994        }
    9095
    9196        /* Add plugin action links */
    92         public function t4bnt_plugin_actions( $links ) {
    93             $create_ticker_url = esc_url( menu_page_url('t4bnt-settings', false) );
    94             $create_ticker_url = wp_nonce_url( $create_ticker_url, 't4bnt_create_ticker_action' );
    95    
     97        public function t4bnt_plugin_actions($links)
     98        {
     99            $create_ticker_url = esc_url(menu_page_url('t4bnt-settings', false));
     100            $create_ticker_url = wp_nonce_url($create_ticker_url, 't4bnt_create_ticker_action');
     101
    96102            $support_url = esc_url("https://wordpress.org/support/plugin/t4b-news-ticker");
    97    
    98             $links[] = '<a href="'. $create_ticker_url .'">'. esc_html__( 'Settings', 't4b-news-ticker' ) .'</a>';
    99             $links[] = '<a href="'. $support_url .'" target="_blank">'. esc_html__( 'Support', 't4b-news-ticker' ) .'</a>';
    100    
     103
     104            $links[] = '<a href="' . $create_ticker_url . '">' . esc_html__('Settings', 't4b-news-ticker') . '</a>';
     105            $links[] = '<a href="' . $support_url . '" target="_blank">' . esc_html__('Support', 't4b-news-ticker') . '</a>';
     106
    101107            return $links;
    102108        }
    103109
    104110        /**
    105         * Check date on admin initiation and add to admin notice if it was over 7 days ago.
    106         * @return null
    107         */
    108         public function t4bnt_check_i10n_date() {
     111         * Check date on admin initiation and add to admin notice if it was over 7 days ago.
     112         * @return null
     113         */
     114        public function t4bnt_check_i10n_date()
     115        {
    109116            // Retrieve the 'review_nt' option
    110             $review_nt = get_option( 't4bnt_review_nt', false );
    111        
     117            $review_nt = get_option('t4bnt_review_nt', false);
     118
    112119            // Proceed only if 'review_nt' is not set
    113             if ( ! $review_nt ) {
     120            if (!$review_nt) {
    114121                // Retrieve the 'i10n_date' option and set a default value if not found
    115                 $i10n_date = get_option( 't4bnt_activation_time', false );
    116        
     122                $i10n_date = get_option('t4bnt_activation_time', false);
     123
    117124                // Calculate the past date for the threshold (7 days in seconds: 7 * 24 * 60 * 60)
    118                 $past_date = strtotime( '-7 days' );
    119        
     125                $past_date = strtotime('-7 days');
     126
    120127                // Validate the 'i10n_date' and compare it with the threshold
    121                 if ( $i10n_date && is_numeric( $i10n_date ) && $i10n_date < $past_date ) {
     128                if ($i10n_date && is_numeric($i10n_date) && $i10n_date < $past_date) {
    122129                    // If the condition is met, display the admin notice
    123                     add_action( 'admin_notices', array( $this, 't4bnt_display_admin_notice' ) );
     130                    add_action('admin_notices', array($this, 't4bnt_display_admin_notice'));
    124131                } else {
    125132                    // Otherwise, store the current timestamp as the activation time
    126133                    $current_time = time(); // Current timestamp
    127                     update_option( 't4bnt_activation_time', $current_time );
     134                    update_option('t4bnt_activation_time', $current_time);
    128135                }
    129136            }
    130137        }
    131        
    132         /**
    133         * Display Admin Notice, asking for a review
    134         **/
    135         public function t4bnt_display_admin_notice() {
     138
     139        /**
     140         * Display Admin Notice, asking for a review
     141         **/
     142        public function t4bnt_display_admin_notice()
     143        {
    136144            // WordPress global variable
    137145            global $pagenow;
    138        
     146
    139147            // Validate current admin page and query parameters
    140             if ( is_admin() && $pagenow === 'admin.php' && isset( $_GET['page'] ) && sanitize_text_field( wp_unslash( $_GET['page'] ) ) === 't4bnt-settings' ) {
    141                
     148            if (is_admin() && $pagenow === 'admin.php' && isset($_GET['page']) && sanitize_text_field(wp_unslash($_GET['page'])) === 't4bnt-settings') {
     149
    142150                // Generate URLs with proper escaping
    143                 $dont_disturb = esc_url_raw( admin_url( 'admin.php?page=t4bnt-settings&review_nt=1' ) );
    144                 $dont_disturb = wp_nonce_url( $dont_disturb, 't4bnt_disturb_action' );
    145                
     151                $dont_disturb = esc_url_raw(admin_url('admin.php?page=t4bnt-settings&review_nt=1'));
     152                $dont_disturb = wp_nonce_url($dont_disturb, 't4bnt_disturb_action');
     153
    146154                // Retrieve plugin data securely
    147                 $plugin_info = get_plugin_data( T4BNT_AUF, true, true );
     155                $plugin_info = get_plugin_data(T4BNT_AUF, true, true);
    148156
    149157                // Validate and sanitize plugin data
    150                 $plugin_name = esc_html__( 'T4B News Ticker', 't4b-news-ticker' );
    151                 $text_domain = !empty( $plugin_info['TextDomain'] ) ? sanitize_title( $plugin_info['TextDomain'] ) : 't4b-news-ticker';
    152        
     158                $plugin_name = esc_html__('T4B News Ticker', 't4b-news-ticker');
     159                $text_domain = !empty($plugin_info['TextDomain']) ? sanitize_title($plugin_info['TextDomain']) : 't4b-news-ticker';
     160
    153161                // Construct the review URL securely
    154162                $review_url = 'https://wordpress.org/support/plugin/' . $text_domain . '/reviews/';
    155                 $review_url = wp_nonce_url( $review_url, 't4bnt_review_action' );
    156        
     163                $review_url = wp_nonce_url($review_url, 't4bnt_review_action');
     164
    157165                // Output the notice with proper escaping
    158166                printf(
    159                     '<div id="t4bnt-review" class="t4bnt-notice t4bnt-notice-success t4bnt-is-dismissible">
    160                         <span class="t4bnt-close-icon">&times;</span>
     167                    '<div id="t4bnt-review" class="notice notice-success is-dismissible">
    161168                        <p>%1$s</p>
    162169                        <p>%2$s</p>
     
    167174                    </div>',
    168175                    esc_html__( 'It\'s been 7 days since your last update or installation of the latest version of ', 't4b-news-ticker' ) . '<b>' . esc_html( $plugin_name ) . '</b>' . esc_html__( '! We hope you\'ve had a positive experience so far.', 't4b-news-ticker' ),
    169                     esc_html__( 'Your feedback is important to us and can help us improve. If you find our ', 't4b-news-ticker' ) . '<b>' . esc_html( $plugin_name ) . '</b>' . esc_html__( ' plugin valuable, could you please take a moment to share your thoughts by leaving a quick review?', 't4b-news-ticker' ),
     176                    esc_html__( 'Your feedback is important to us and can help us improve. If you enjoy our plugin, please leave a quick review!', 't4b-news-ticker' ),
    170177                    esc_url( $review_url ),
    171178                    esc_html__( 'Leave a Review', 't4b-news-ticker' ),
     
    177184
    178185        /**
    179         * remove the notice for the user if review already done or if the user does not want to
    180         **/
    181         public function t4bnt_review_nt() {   
     186         * remove the notice for the user if review already done or if the user does not want to
     187         **/
     188        public function t4bnt_review_nt()
     189        {
    182190            // Check if 'review_nt' parameter is set and not empty
    183             if ( isset( $_GET['review_nt'] ) && !empty( $_GET['review_nt'] ) ) {
     191            if (isset($_GET['review_nt']) && !empty($_GET['review_nt'])) {
    184192                // Sanitize the input value to ensure it is safe to use
    185                 $review_nt = sanitize_text_field( wp_unslash( $_GET['review_nt'] ) );
    186        
     193                $review_nt = sanitize_text_field(wp_unslash($_GET['review_nt']));
     194
    187195                // Validate the value to check if it is the expected value
    188                 if ( $review_nt === '1' ) {
     196                if ($review_nt === '1') {
    189197                    // Add the 't4bnt_review_nt' option with a boolean value
    190                     add_option( 't4bnt_review_nt', true );
     198                    add_option('t4bnt_review_nt', true);
    191199                }
    192200            }
  • t4b-news-ticker/trunk/inc/t4bnt-enqueue.php

    r3303710 r3396714  
    88 * - t4bnt_enqueue_script(): Enqueues the necessary CSS and JS files for the front-end.
    99 *
    10  * @package T4B News Ticker v1.4.2 - 30 May, 2025
     10 * @package T4B News Ticker v1.4.3 - 16 November, 2025
    1111 * @link https://www.realwebcare.com/
    1212 */
  • t4b-news-ticker/trunk/inc/t4bnt-help.php

    r3303710 r3396714  
    77 * assistance to administrators on how to use shortcode of the plugin.
    88 *
    9  * @package T4B News Ticker v1.4.2 - 30 May, 2025
     9 * @package T4B News Ticker v1.4.3 - 16 November, 2025
    1010 * @link https://www.realwebcare.com/
    1111 */
    1212
    13 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    14 
    15 if ( ! class_exists( 'T4BNT_Help' ) ) {
    16     class T4BNT_Help {
     13if (!defined('ABSPATH'))
     14    exit; // Exit if accessed directly
     15
     16if (!class_exists('T4BNT_Help')) {
     17    class T4BNT_Help
     18    {
    1719
    1820        /**
    1921         * Render the help page.
    2022         */
    21         public function render_t4bnt_help_page() { ?>
     23        public function render_t4bnt_help_page()
     24        { ?>
    2225            <div class="t4bnt_settings_area">
    2326                <div class="wrap t4bnt_settings">
     
    2730                    <?php $this->render_t4bnt_help_content(); ?>
    2831                    <?php $this->render_t4bnt_dashboard_guide(); ?>
     32                    <?php $this->render_t4bnt_shortcode_all_pages_guide(); ?>
    2933                </div>
    3034                <?php $this->render_sidebar(); ?>
     
    3640         * Render YouTube Video and Documentation
    3741         */
    38         public function render_t4bnt_help_content() {
     42        public function render_t4bnt_help_content()
     43        {
    3944            ?>
    4045            <div class="t4bnt-help-info">
     
    4348                    printf(
    4449                        esc_html__(
    45                         'Watch the Tutorial Video:',
    46                         't4b-news-ticker'
    47                     ));
     50                            'Watch the Tutorial Video:',
     51                            't4b-news-ticker'
     52                        )
     53                    );
    4854                    ?>
    4955                </p>
     
    5359                        /* translators: 1: Opening strong tag, 2: Closing strong tag */
    5460                        esc_html__('To help you get started with the T4B News Ticker plugin, we\'ve prepared a detailed tutorial video. This video is %1$s5 minutes and 42 seconds%2$s long and covers everything you need to know about how the plugin works, including setup, configuration, and advanced features.', 't4b-news-ticker'),
    55                         '<strong>', '</strong>'
     61                        '<strong>',
     62                        '</strong>'
    5663                    ); ?>
    5764                </p>
    58                 <p><?php esc_html_e( 'We highly recommend watching this video to make the most out of the T4B News Ticker plugin. If you have any questions after watching, feel free to reach out to our support team.', 't4b-news-ticker'); ?></p>
     65                <p><?php esc_html_e('We highly recommend watching this video to make the most out of the T4B News Ticker plugin. If you have any questions after watching, feel free to reach out to our support team.', 't4b-news-ticker'); ?></p>
    5966                <div class="getting-started_video">
    6067                    <p><iframe width="620" height="350" src="https://www.youtube-nocookie.com/embed/CX72IvU51SY" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
     
    6774         * Render instructions for creating a new user front-end dashboard.
    6875         */
    69         public function render_t4bnt_dashboard_guide() {
     76        public function render_t4bnt_dashboard_guide()
     77        {
    7078            ?>
    7179            <div class="t4bnt-help-info">
     
    7684                            'Code Usage Instruction in the Theme',
    7785                            't4b-news-ticker'
    78                         ));
     86                        )
     87                    );
    7988                    ?>
    8089                </h3>
     
    8493                        printf(
    8594                            /* translators: 1: Opening strong tag, 2: Closing strong tag */
    86                             esc_html__('To display a news ticker shortcode in a WordPress theme file, you can use the %1$sdo_shortcode%2$s function:', 't4b-news-ticker'),
    87                             '<strong>', '</strong>'
    88                         );
     95                            esc_html__('To display a news ticker shortcode in a WordPress theme file, you can use the %1$sdo_shortcode%2$s function:', 't4b-news-ticker'),
     96                            '<strong>',
     97                            '</strong>'
     98                        );
    8999                        ?>
    90100                    </li>
     
    93103                        printf(
    94104                            /* translators: %s: Example of do_shortcode usage in a PHP code block */
    95                             esc_html__('Example of shortcode usage in PHP: %s', 't4b-news-ticker'), 
     105                            esc_html__('Example of shortcode usage in PHP: %s', 't4b-news-ticker'),
    96106                            '<pre><code><span>&lt;?php</span> <span class="t4bnt-keyword">echo</span> <span class="t4bnt-function">do_shortcode</span>(<span class="t4bnt-string">\'[t4b-ticker]\'</span>); <span>?&gt;</span></code></pre>'
    97107                        );
     
    102112                        printf(
    103113                            esc_html__('You can place this code anywhere in your theme file where you want the news ticker to appear. For example, you could place it in the template file for a specific page of your site.', 't4b-news-ticker')
    104                         );
    105                         ?>
    106                     </li>
    107                     <li>
    108                         <?php
    109                         printf(
    110                             /* translators: 1: Opening strong tag, 2: Closing strong tag */
    111                             esc_html__('Keep in mind that if you are making changes directly to your theme files, those changes will be overwritten if you update the theme. To avoid this, you can create a child theme and make your changes there instead.', 't4b-news-ticker'),
    112                             '<strong>', '</strong>'
    113                         );
     114                        );
     115                        ?>
     116                    </li>
     117                    <li>
     118                        <?php
     119                        printf(
     120                            /* translators: 1: Opening strong tag, 2: Closing strong tag */
     121                            esc_html__('Keep in mind that if you are making changes directly to your theme files, those changes will be overwritten if you update the theme. To avoid this, you can create a child theme and make your changes there instead.', 't4b-news-ticker'),
     122                            '<strong>',
     123                            '</strong>'
     124                        );
    114125                        ?>
    115126                    </li>
     
    120131
    121132        /**
     133         * Render guidance for adding the ticker shortcode on all pages.
     134         */
     135        public function render_t4bnt_shortcode_all_pages_guide()
     136        {
     137            ?>
     138            <div class="t4bnt-help-info">
     139                <h3 class="get-instructed">
     140                    <?php
     141                    printf(
     142                        esc_html__(
     143                            'How to Add Ticker Shortcode on All Pages',
     144                            't4b-news-ticker'
     145                        )
     146                    );
     147                    ?>
     148                </h3>
     149                <ol class="t4bnt-help-instructions">
     150                    <li>
     151                        <?php
     152                        printf(
     153                            /* translators: 1: Opening strong tag, 2: Closing strong tag */
     154                            esc_html__(
     155                                'Go to %1$sAppearance → Widgets%2$s and add a Text or Custom HTML widget to a sidebar or footer that appears on all pages.',
     156                                't4b-news-ticker',
     157                            ),
     158                            '<strong>',
     159                            '</strong>',
     160                        );
     161                        ?>
     162                    </li>
     163                    <li>
     164                        <?php
     165                        printf(
     166                            /* translators: 1: Opening strong tag, 2: Closing strong tag */
     167                            esc_html__(
     168                                'Paste your ticker shortcode (e.g., %1$s[t4b-ticker]%2$s) inside the widget to display it site-wide.',
     169                                't4b-news-ticker'
     170                            ),
     171                            '<strong>',
     172                            '</strong>',
     173                        );
     174                        ?>
     175                    </li>
     176                    <li>
     177                        <?php
     178                        printf(
     179                            /* translators: 1: Opening strong tag, 2: Closing strong tag */
     180                            esc_html__(
     181                                'Alternatively, you can add the shortcode directly in theme files using the %1$sdo_shortcode%2$s function.',
     182                                't4b-news-ticker'
     183                            ),
     184                            '<strong>',
     185                            '</strong>',
     186                        );
     187                        ?>
     188                    </li>
     189                    <li>
     190                        <?php
     191                        printf(
     192                            /* translators: %s: Example code for do_shortcode usage */
     193                            esc_html__('Example: %s', 't4b-news-ticker'),
     194                            '<pre><code><span>&lt;?php</span> <span class="t4bnt-keyword">echo</span> <span class="t4bnt-function">do_shortcode</span>(<span class="t4bnt-string">\'[t4b-ticker]\'</span>); <span>?&gt;</span></code></pre>'
     195                        );
     196                        ?>
     197                    </li>
     198                    <li>
     199                        <?php
     200                        printf(
     201                            /* translators: 1: Opening strong tag, 2: Closing strong tag */
     202                            esc_html__(
     203                                'If using a page builder like %1$sElementor%2$s or %1$sGutenberg%2$s, insert the Shortcode block or widget into a global template section (e.g., header or footer).',
     204                                't4b-news-ticker'
     205                            ),
     206                            '<strong>',
     207                            '</strong>',
     208                        );
     209                        ?>
     210                    </li>
     211                    <li>
     212                        <?php
     213                        printf(
     214                            /* translators: 1: Opening strong tag, 2: Closing strong tag */
     215                            esc_html__(
     216                                'For developers, it is also possible to use hooks like %1$swp_head%2$s or %1$swp_footer%2$s to add the shortcode programmatically.',
     217                                't4b-news-ticker'
     218                            ),
     219                            '<strong>',
     220                            '</strong>',
     221                        );
     222                        ?>
     223                    </li>
     224                </ol>
     225            </div>
     226            <?php
     227        }
     228
     229
     230        /**
    122231         * Render the sidebar.
    123232         */
    124         private function render_sidebar() {
     233        private function render_sidebar()
     234        {
    125235            if (class_exists('T4BNT_Sidebar')) {
    126236                $t4bnt_sidebar = T4BNT_Sidebar::get_instances();
    127237
    128                 if ( method_exists( $t4bnt_sidebar, 't4bnt_sidebar' ) ) {
     238                if (method_exists($t4bnt_sidebar, 't4bnt_sidebar')) {
    129239                    // Render sidebar content
    130                     $sidebar_content = $t4bnt_sidebar->t4bnt_sidebar( true, false, true );
    131 
    132                     if ( $sidebar_content !== null ) {
    133                         echo wp_kses_post( $sidebar_content );
     240                    $sidebar_content = $t4bnt_sidebar->t4bnt_sidebar(true, false, true);
     241
     242                    if ($sidebar_content !== null) {
     243                        echo wp_kses_post($sidebar_content);
    134244                    } else {
    135245                        // Fallback for null content
     
    139249            }
    140250        }
    141     }
     251    }
    142252}
  • t4b-news-ticker/trunk/inc/t4bnt-sidebar.php

    r3303710 r3396714  
    88 * and allows for custom CSS class inclusion for styling.
    99 *
    10  * @package T4B News Ticker v1.4.2 - 30 May, 2025
     10 * @package T4B News Ticker v1.4.3 - 16 November, 2025
    1111 * @link https://www.realwebcare.com/
    1212 */
     
    110110                                    <li>Click <a href="%3$s" target="_blank">here</a> to learn more...</li>
    111111                                </ul>
    112                                 <a class="btn-demo" href="%4$s" target="_blank">View Demo</a>
     112                                <a class="btn-demo" href="%4$s" target="_blank">Pro Demo</a>
    113113                            </div>',
    114114                            't4b-news-ticker'
     
    130130                            <ul class="t4bntusage-list">
    131131                                <li>T4B News Ticker</li>
    132                                 <li>Version: 1.4.2</li>
     132                                <li>Version: 1.4.3</li>
    133133                                <li>Scripts: PHP + CSS + JS</li>
    134134                                <li>Requires: WordPress 5.4+</li>
    135135                                <li>First release: 29 December, 2014</li>
    136                                 <li>Last Update: 30 May, 2025</li>
     136                                <li>Last Update: 16 November, 2025</li>
    137137                                <li>By: <a href="%1$s" target="_blank">Realwebcare</a></li>
    138138                                <li>Facebook Page: <a href="%2$s" target="_blank">Realwebcare</a></li>
    139                                 <li>Need Help? <a href="%3$s" target="_blank">Support</a></li>
    140                                 <li>Like it? Please leave us a <a target="_blank" href="%4$s">★★★★★</a> rating. We highly appreciate your support!</li>
     139                                <li>Need Help? <a href="%3$s" target="_blank">Support</a> | <a href="%4$s" target="_blank">Dedicated Support</a></li>
     140                                <li>Like it? Please leave us a <a target="_blank" href="%5$s">★★★★★</a> rating. We highly appreciate your support!</li>
    141141                            </ul>',
    142142                            't4b-news-ticker'
     
    145145                        esc_url('https://www.facebook.com/realwebcare'),
    146146                        esc_url('https://wordpress.org/support/plugin/t4b-news-ticker/'),
     147                        esc_url('https://www.realwebcare.com/billing/submitticket.php?step=2&deptid=6'),
    147148                        esc_url('https://wordpress.org/support/plugin/t4b-news-ticker/reviews/?filter=5/#new-post')
    148149                    ) . '</div>';
  • t4b-news-ticker/trunk/languages/t4b-news-ticker.pot

    r3000438 r3396714  
    44"Project-Id-Version: T4B News Ticker\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2023-11-23 02:43+0000\n"
     6"POT-Creation-Date: 2025-11-16 19:05+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1717"X-Domain: t4b-news-ticker"
    1818
    19 #: inc/ticker-settings.php:217
    20 msgid " function:"
    21 msgstr ""
    22 
    23 #: inc/ticker-settings.php:108
     19#. %1$s: Opening HTML tag for heading, %2$s: Closing HTML tag for heading, %3$s: Opening paragraph tag, %4$s: Link to the YouTube video, %5$s: Contact Us link, %6$s: Closing paragraph tag, %7$s: Opening paragraph tag for feedback request, %8$s: Link to leave a review
     20#: settings/ticker-settings.php:451
     21#, php-format
     22msgid ""
     23"\n"
     24"\t\t\t\t\t\t\t\t%1$sWatch Our YouTube Tutorial for Easy Setup!%2$s\n"
     25"\t\t\t\t\t\t\t\t%3$sThere is a %4$s available that explains how the User "
     26"Front-End plugin works. If you have any trouble understanding, feel free to "
     27"%5$s at any time.%6$s\n"
     28"\t\t\t\t\t\t\t\t%7$sWe greatly value your feedback! Please spare a moment to "
     29"rate your recent experience with our plugin. Your input is highly "
     30"appreciated and helps us improve. Thank you for your support!%8$s"
     31msgstr ""
     32
     33#: inc/init-t4bnt.php:175
     34msgid "! We hope you've had a positive experience so far."
     35msgstr ""
     36
     37#: settings/ticker-settings.php:349
    2438msgid "0.05"
    2539msgstr ""
    2640
    27 #: inc/ticker-settings.php:120
     41#: settings/ticker-settings.php:367
    2842msgid "0.10"
    2943msgstr ""
    3044
    31 #: inc/ticker-settings.php:159
     45#: settings/ticker-settings.php:252
    3246msgid "10"
    3347msgstr ""
    3448
    35 #: inc/ticker-settings.php:89
     49#: settings/ticker-settings.php:329
    3650msgid "2000"
    3751msgstr ""
    3852
    39 #: inc/ticker-admin.php:22
    40 msgid "7 impressive animation effects."
    41 msgstr ""
    42 
    43 #: inc/ticker-settings.php:172
     53#: settings/ticker-settings.php:290
     54msgid "40"
     55msgstr ""
     56
     57#. %1s: URL for the Pro version image.
     58#. %2s: URL for the T4B News Ticker Pro product page.
     59#. %3s: URL for the demo page of T4B News Ticker Pro.
     60#: inc/t4bnt-sidebar.php:90
     61#, php-format
     62msgid ""
     63"<div class=\"t4bntusage-feature-header\">\n"
     64"                                <img src=\"%1$s\" alt=\"T4BNT Pro\">\n"
     65"                            </div>\n"
     66"                            <div class=\"t4bntusage-feature-body\">\n"
     67"                                <h3>T4B News Ticker Pro Features</h3>\n"
     68"                                <div class=\"t4bnt\">Pro version has been "
     69"developed to present News Ticker more proficiently. Some of the most notable "
     70"features are:</div>\n"
     71"                                <a class=\"btn-demo btn-top\" href=\"%2$s\" "
     72"target=\"_blank\">Test Drive Pro</a>\n"
     73"                                <ul class=\"t4bntusage-list\">\n"
     74"                                    <li>Customization Made Effortless.</li>\n"
     75"                                    <li>7 impressive animation effects.</li>"
     76"\n"
     77"                                    <li>Instant Creation with 12 Pre-made "
     78"Designs.</li>\n"
     79"                                    <li>Continuous Scroll Without "
     80"Interruption.</li>\n"
     81"                                    <li>Import/Export (Backup) news ticker."
     82"</li>\n"
     83"                                    <li>Make a copy of a ticker instantly."
     84"</li>\n"
     85"                                    <li>Choose ticker contents from multiple "
     86"categories.</li>\n"
     87"                                    <li>RSS Feed and JSON Display.</li>\n"
     88"                                    <li>Fix the ticker at the top or bottom "
     89"of the page.</li>\n"
     90"                                    <li>RTL (Right to Left) Language Support."
     91"</li>\n"
     92"                                    <li>Google Fonts and Font Awesome "
     93"Support.</li>\n"
     94"                                    <li>Click <a href=\"%3$s\" "
     95"target=\"_blank\">here</a> to learn more...</li>\n"
     96"                                </ul>\n"
     97"                                <a class=\"btn-demo\" href=\"%4$s\" "
     98"target=\"_blank\">Pro Demo</a>\n"
     99"                            </div>"
     100msgstr ""
     101
     102#. %1$s: URL for Realwebcare website, %2$s: URL for Realwebcare Facebook page, %3$s: URL for plugin support page, %4$s: URL for plugin review page
     103#: inc/t4bnt-sidebar.php:128
     104#, php-format
     105msgid ""
     106"<h3>Plugin Info</h3>\n"
     107"                            <ul class=\"t4bntusage-list\">\n"
     108"                                <li>T4B News Ticker</li>\n"
     109"                                <li>Version: 1.4.3</li>\n"
     110"                                <li>Scripts: PHP + CSS + JS</li>\n"
     111"                                <li>Requires: WordPress 5.4+</li>\n"
     112"                                <li>First release: 29 December, 2014</li>\n"
     113"                                <li>Last Update: 16 November, 2025</li>\n"
     114"                                <li>By: <a href=\"%1$s\" target=\"_blank\">"
     115"Realwebcare</a></li>\n"
     116"                                <li>Facebook Page: <a href=\"%2$s\" "
     117"target=\"_blank\">Realwebcare</a></li>\n"
     118"                                <li>Need Help? <a href=\"%3$s\" "
     119"target=\"_blank\">Support</a> | <a href=\"%4$s\" target=\"_blank\">Dedicated "
     120"Support</a></li>\n"
     121"                                <li>Like it? Please leave us a <a "
     122"target=\"_blank\" href=\"%5$s\">★★★★★</a> rating. We highly appreciate your "
     123"support!</li>\n"
     124"                            </ul>"
     125msgstr ""
     126
     127#: settings/ticker-settings.php:207
     128msgid ""
     129"<h5>Caution: Deleting Plugin Data on Uninstall</h5><p>Enabling the <strong>"
     130"Delete All on Uninstall</strong> option will permanently erase all <strong>"
     131"plugin-related settings</strong> and <strong>user metadata</strong> when the "
     132"plugin is uninstalled.</p><p>This action is irreversible. Ensure you back up "
     133"important data before enabling this option. If you are unsure, we recommend "
     134"leaving this option unchecked to preserve your data.</p>"
     135msgstr ""
     136
     137#: inc/t4bnt-sidebar.php:60
     138msgid "[/] Shortcode Usage Instruction"
     139msgstr ""
     140
     141#: settings/ticker-settings.php:131
     142msgid "Advance Settings"
     143msgstr ""
     144
     145#: inc/init-t4bnt.php:180
     146msgid "Already Left a Review"
     147msgstr ""
     148
     149#. 1: Opening strong tag, 2: Closing strong tag
     150#: inc/t4bnt-help.php:180
     151#, php-format
     152msgid ""
     153"Alternatively, you can add the shortcode directly in theme files using the "
     154"%1$sdo_shortcode%2$s function."
     155msgstr ""
     156
     157#: settings/ticker-settings.php:266
    44158msgid "Ascending"
    45159msgstr ""
    46160
    47 #: inc/ticker-admin.php:61
    48 msgid "By"
    49 msgstr ""
    50 
    51 #: inc/ticker-admin.php:27
    52 msgid "Choose ticker contents from multiple categories."
    53 msgstr ""
    54 
    55 #: inc/ticker-admin.php:47
     161#: settings/ticker-settings.php:200
     162msgid "Check this box to delete all plugin data upon uninstall."
     163msgstr ""
     164
     165#: settings/t4bnt-class.settings-api.php:408
     166msgid "Choose File"
     167msgstr ""
     168
     169#: inc/t4bnt-sidebar.php:71
    56170msgid "Click to Copy Shortcode!"
    57171msgstr ""
    58172
    59 #: inc/ticker-settings.php:215
    60 msgid "Code Usage Instruction in a Theme"
    61 msgstr ""
    62 
    63 #: inc/ticker-admin.php:24
    64 msgid "Continuous Scroll Without Interruption."
    65 msgstr ""
    66 
    67 #: inc/ticker-admin.php:21
    68 msgid "Customization Made Effortless."
    69 msgstr ""
    70 
    71 #: inc/ticker-settings.php:173
     173#: inc/t4bnt-help.php:83
     174msgid "Code Usage Instruction in the Theme"
     175msgstr ""
     176
     177#: settings/ticker-settings.php:199
     178msgid "Delete All on Uninstall:"
     179msgstr ""
     180
     181#: settings/ticker-settings.php:267
    72182msgid "Descending"
    73183msgstr ""
    74184
    75 #: inc/ticker-settings.php:217
    76 msgid "do_shortcode"
    77 msgstr ""
    78 
    79 #: inc/ticker-admin.php:41
     185#: settings/ticker-settings.php:166
     186msgid "Disable on Tag/Category Page"
     187msgstr ""
     188
     189#: inc/t4bnt-sidebar.php:65
    80190msgid "Either create a new post or page, or edit an existing one."
    81191msgstr ""
    82192
    83 #: inc/ticker-settings.php:51
     193#: settings/ticker-settings.php:192
     194msgid ""
     195"Enable this option to hide the notification when the ticker is disabled or "
     196"set to display only on the homepage but is not active there."
     197msgstr ""
     198
     199#: settings/ticker-settings.php:150
    84200msgid "Enable Ticker"
    85201msgstr ""
    86202
    87 #: inc/ticker-settings.php:66
     203#: settings/ticker-settings.php:175
    88204msgid "Enter a title for the News Ticker"
    89205msgstr ""
    90206
    91 #: inc/ticker-settings.php:191
     207#: settings/ticker-settings.php:300
    92208msgid ""
    93209"Enter custom text for your news ticker. One sentence with or without link "
     
    95211msgstr ""
    96212
    97 #: inc/ticker-settings.php:65
     213#: settings/ticker-settings.php:174
    98214msgid "Enter Ticker Title"
    99215msgstr ""
    100216
    101 #: inc/ticker-admin.php:59
    102 msgid "First release: 29 December, 2014"
    103 msgstr ""
    104 
    105 #: inc/ticker-admin.php:29
    106 msgid "Fix the ticker at the top or bottom of the page."
    107 msgstr ""
    108 
    109 #: inc/ticker-settings.php:35
     217#. %s: Example of do_shortcode usage in a PHP code block
     218#: inc/t4bnt-help.php:105
     219#, php-format
     220msgid "Example of shortcode usage in PHP: %s"
     221msgstr ""
     222
     223#. %s: Example code for do_shortcode usage
     224#: inc/t4bnt-help.php:193
     225#, php-format
     226msgid "Example: %s"
     227msgstr ""
     228
     229#. 1: Opening strong tag, 2: Closing strong tag
     230#: inc/t4bnt-help.php:215
     231#, php-format
     232msgid ""
     233"For developers, it is also possible to use hooks like %1$swp_head%2$s or "
     234"%1$swp_footer%2$s to add the shortcode programmatically."
     235msgstr ""
     236
     237#: settings/ticker-settings.php:123
    110238msgid "General Settings"
    111239msgstr ""
    112240
    113 #: inc/ticker-admin.php:64
    114 msgid "GNU General Public License"
    115 msgstr ""
    116 
    117 #: inc/ticker-admin.php:40
     241#. 1: Opening strong tag, 2: Closing strong tag
     242#: inc/t4bnt-help.php:154
     243#, php-format
     244msgid ""
     245"Go to %1$sAppearance → Widgets%2$s and add a Text or Custom HTML widget to a "
     246"sidebar or footer that appears on all pages."
     247msgstr ""
     248
     249#: inc/t4bnt-sidebar.php:64
    118250msgid ""
    119251"Go to Posts or Pages, depending on where you want to display the news ticker."
    120252msgstr ""
    121253
    122 #: inc/ticker-admin.php:31
    123 msgid "Google Fonts and Font Awesome Support."
     254#: settings/ticker-settings.php:103
     255msgid "Help"
     256msgstr ""
     257
     258#: settings/ticker-settings.php:191
     259msgid "Hide Disabled Ticker Notification"
     260msgstr ""
     261
     262#: inc/t4bnt-help.php:142
     263msgid "How to Add Ticker Shortcode on All Pages"
    124264msgstr ""
    125265
     
    132272msgstr ""
    133273
    134 #: inc/ticker-admin.php:25
    135 msgid "Import/Export (Backup) news ticker."
    136 msgstr ""
    137 
    138 #: inc/ticker-admin.php:23
    139 msgid "Instant Creation with 12 Pre-made Designs."
    140 msgstr ""
    141 
    142 #: inc/ticker-settings.php:220
     274#. 1: Opening strong tag, 2: Closing strong tag
     275#: inc/t4bnt-help.php:202
     276#, php-format
     277msgid ""
     278"If using a page builder like %1$sElementor%2$s or %1$sGutenberg%2$s, insert "
     279"the Shortcode block or widget into a global template section (e.g., header "
     280"or footer)."
     281msgstr ""
     282
     283#: inc/init-t4bnt.php:175
     284msgid ""
     285"It's been 7 days since your last update or installation of the latest "
     286"version of "
     287msgstr ""
     288
     289#. 1: Opening strong tag, 2: Closing strong tag
     290#: inc/t4bnt-help.php:121
    143291msgid ""
    144292"Keep in mind that if you are making changes directly to your theme files, "
     
    147295msgstr ""
    148296
    149 #: inc/ticker-admin.php:60
    150 msgid "Last Update: 23 November, 2023"
    151 msgstr ""
    152 
    153 #: inc/ticker-admin.php:63
    154 msgid "Like it? Please leave us a"
    155 msgstr ""
    156 
    157 #: inc/ticker-admin.php:43
     297#: inc/init-t4bnt.php:178
     298msgid "Leave a Review"
     299msgstr ""
     300
     301#: inc/t4bnt-sidebar.php:67
    158302msgid ""
    159303"Locate the spot in the post or page where you want to display the news "
     
    161305msgstr ""
    162306
    163 #: inc/ticker-admin.php:26
    164 msgid "Make a copy of a ticker instantly."
    165 msgstr ""
    166 
    167 #: inc/ticker-settings.php:52
     307#: settings/ticker-settings.php:151
    168308msgid "Mark if you want to show News Ticker."
    169309msgstr ""
    170310
    171 #: inc/ticker-settings.php:100
     311#: settings/ticker-settings.php:340
    172312msgid "Mark if you want to show the News Ticker control buttons."
    173313msgstr ""
    174314
    175 #: inc/ticker-admin.php:62
    176 msgid "Need Help"
    177 msgstr ""
    178 
    179 #: inc/ticker-settings.php:67
     315#: settings/ticker-settings.php:176
    180316msgid "News Ticker"
    181317msgstr ""
    182318
    183 #: inc/ticker-settings.php:142
     319#: settings/ticker-settings.php:233
    184320msgid "News Ticker Categories"
    185321msgstr ""
    186322
    187 #: inc/ticker-settings.php:190
     323#: settings/ticker-settings.php:299
    188324msgid "News Ticker Custom Text"
    189325msgstr ""
    190326
    191 #: inc/ticker-settings.php:130
    192 msgid "News Ticker Type"
    193 msgstr ""
    194 
    195 #: inc/ticker-settings.php:157
    196 msgid "Number of post"
    197 msgstr ""
    198 
    199 #: inc/ticker-settings.php:158
     327#: settings/ticker-settings.php:278
     328msgid "No Order"
     329msgstr ""
     330
     331#: settings/ticker-settings.php:250
     332msgid "Number of Post"
     333msgstr ""
     334
     335#: settings/ticker-settings.php:251
    200336msgid "Number of post to show. Default -1, means show all."
    201337msgstr ""
    202338
    203 #: inc/ticker-admin.php:51
     339#: inc/t4bnt-sidebar.php:75
    204340msgid ""
    205341"Once you've saved or published the post or page, the news ticker shortcode "
     
    208344msgstr ""
    209345
    210 #: inc/ticker-settings.php:197
     346#: settings/ticker-settings.php:183
    211347msgid "Open in New Tab"
    212348msgstr ""
    213349
    214 #: inc/ticker-admin.php:45
     350#: inc/t4bnt-sidebar.php:69
    215351msgid "Paste the following shortcode into the editor:"
    216352msgstr ""
    217353
    218 #: inc/ticker-admin.php:54
    219 msgid "Plugin Info"
    220 msgstr ""
    221 
    222 #: inc/ticker-admin.php:37
    223 msgid "Plugin Shortcode"
    224 msgstr ""
    225 
    226 #: inc/ticker-settings.php:185
     354#. 1: Opening strong tag, 2: Closing strong tag
     355#: inc/t4bnt-help.php:167
     356#, php-format
     357msgid ""
     358"Paste your ticker shortcode (e.g., %1$s[t4b-ticker]%2$s) inside the widget "
     359"to display it site-wide."
     360msgstr ""
     361
     362#: settings/ticker-settings.php:281
    227363msgid "Post Date"
    228364msgstr ""
    229365
    230 #: inc/ticker-settings.php:183
     366#: settings/ticker-settings.php:279
    231367msgid "Post ID"
    232368msgstr ""
    233369
    234 #: inc/ticker-settings.php:184
     370#: settings/ticker-settings.php:280
    235371msgid "Post Name (post slug)"
    236372msgstr ""
    237373
    238 #: inc/ticker-admin.php:18
    239 msgid "Premium Features"
    240 msgstr ""
    241 
    242 #: inc/ticker-admin.php:19
    243 msgid ""
    244 "Premium version has been developed to present News Ticker more proficiently. "
    245 "Some of the most notable features are:"
    246 msgstr ""
    247 
    248 #: inc/ticker-admin.php:64
    249 msgid "Published under"
    250 msgstr ""
    251 
    252 #: inc/ticker-admin.php:63
    253 msgid "rating. We highly appreciate your support!"
     374#: settings/ticker-settings.php:288
     375msgid "Post Title Max. Length"
     376msgstr ""
     377
     378#: settings/ticker-settings.php:282
     379msgid "Random"
    254380msgstr ""
    255381
    256382#. Author of the plugin
    257 #: inc/ticker-admin.php:61
    258383msgid "Realwebcare"
    259384msgstr ""
    260385
    261 #: inc/ticker-admin.php:58
    262 msgid "Requires: Wordpress 5.4+"
    263 msgstr ""
    264 
    265 #: inc/ticker-settings.php:119
     386#: settings/ticker-settings.php:366
    266387msgid "Revealing speed of the ticker."
    267388msgstr ""
    268389
    269 #: inc/ticker-admin.php:28
    270 msgid "RSS Feed and JSON Display."
    271 msgstr ""
    272 
    273 #: inc/ticker-admin.php:30
    274 msgid "RTL (Right to Left) Language Support."
    275 msgstr ""
    276 
    277 #: inc/ticker-admin.php:49
     390#: inc/t4bnt-sidebar.php:73
    278391msgid "Save or publish the post or page."
    279392msgstr ""
    280393
    281 #: inc/ticker-admin.php:57
    282 msgid "Scripts: PHP + CSS + JS"
    283 msgstr ""
    284 
    285 #: inc/ticker-settings.php:99
     394#: settings/ticker-settings.php:339
    286395msgid "Scrolling Control"
    287396msgstr ""
    288397
    289 #: inc/ticker-settings.php:107
     398#: settings/ticker-settings.php:348
    290399msgid "Scrolling speed of the ticker."
    291400msgstr ""
    292401
    293 #: inc/ticker-settings.php:143
     402#: settings/ticker-settings.php:234
    294403msgid "Select a category for News Ticker to show."
    295404msgstr ""
    296405
    297 #: inc/ticker-settings.php:198
     406#: settings/ticker-settings.php:167
     407msgid "Select if you want to hide the ticker on tags and category archive page"
     408msgstr ""
     409
     410#: settings/ticker-settings.php:184
    298411msgid "Select if you want to open link in new tab."
    299412msgstr ""
    300413
    301 #: inc/ticker-settings.php:59
     414#: settings/ticker-settings.php:159
    302415msgid "Select if you want to show the News Ticker only in homepage."
    303416msgstr ""
    304417
    305 #: inc/ticker-settings.php:150
     418#: settings/ticker-settings.php:242
    306419msgid "Select News Ticker Tags"
    307420msgstr ""
    308421
    309 #: inc/ticker-settings.php:167
     422#: settings/ticker-settings.php:261
    310423msgid "Select Post Order"
    311424msgstr ""
    312425
    313 #: inc/ticker-settings.php:178
     426#: settings/ticker-settings.php:273
    314427msgid "Select Post Order By"
    315428msgstr ""
    316429
    317 #: inc/ticker-settings.php:151
     430#: settings/ticker-settings.php:243
    318431msgid "Select tag names seprated by comma."
    319432msgstr ""
    320433
    321 #: inc/ticker-settings.php:75
     434#: settings/ticker-settings.php:314
    322435msgid "Select type of animation (Default: 'scroll')."
    323436msgstr ""
    324437
    325 #: news-ticker.php:53
     438#: settings/ticker-settings.php:289
     439msgid "Set the maximum length of the post title. Use -1/0 for no limit."
     440msgstr ""
     441
     442#: inc/init-t4bnt.php:104
    326443msgid "Settings"
    327444msgstr ""
    328445
    329 #: inc/ticker-settings.php:58
     446#: settings/ticker-settings.php:158
    330447msgid "Show in Homepage Only"
    331448msgstr ""
    332449
    333 #: inc/ticker-settings.php:106
     450#: settings/ticker-settings.php:220
     451msgid "Show News Ticker By"
     452msgstr ""
     453
     454#: settings/ticker-settings.php:347
    334455msgid "Speed of Scrolling"
    335456msgstr ""
    336457
    337 #: inc/ticker-settings.php:118
     458#: settings/ticker-settings.php:365
    338459msgid "Speed of Ticker"
    339460msgstr ""
    340461
    341 #: inc/ticker-admin.php:62
     462#: inc/init-t4bnt.php:105
    342463msgid "Support"
    343464msgstr ""
    344465
    345 #: inc/ticker-admin.php:42
     466#: inc/t4bnt-sidebar.php:66
    346467msgid "Switch to the visual editor if it's not already active."
    347468msgstr ""
    348469
    349470#. Name of the plugin
     471#: inc/init-t4bnt.php:158 settings/ticker-settings.php:80
     472#: settings/ticker-settings.php:93
    350473msgid "T4B News Ticker"
     474msgstr ""
     475
     476#: inc/t4bnt-help.php:28 settings/ticker-settings.php:102
     477msgid "T4B News Ticker Guide"
    351478msgstr ""
    352479
     
    357484msgstr ""
    358485
    359 #: inc/ticker-settings.php:74
     486#: settings/ticker-settings.php:92 settings/ticker-settings.php:403
     487msgid "T4B News Ticker Options"
     488msgstr ""
     489
     490#: settings/ticker-settings.php:81
     491msgid "T4B Ticker"
     492msgstr ""
     493
     494#: settings/ticker-settings.php:313
    360495msgid "Ticker Animation Type"
    361496msgstr ""
    362497
    363 #: inc/ticker-settings.php:27
    364 msgid "Ticker Settings"
    365 msgstr ""
    366 
    367 #: inc/ticker-settings.php:88
    368 msgid "Time between the fades in milliseconds (Default: '2000')"
    369 msgstr ""
    370 
    371 #: inc/ticker-settings.php:87
     498#: settings/ticker-settings.php:127
     499msgid "Ticker Contents"
     500msgstr ""
     501
     502#: actions/ticker-shortcode.php:235
     503msgid "Ticker news is disabled on the homepage."
     504msgstr ""
     505
     506#: actions/ticker-shortcode.php:226
     507msgid "Ticker news is disabled."
     508msgstr ""
     509
     510#: actions/ticker-shortcode.php:230
     511msgid "Ticker news is only displayed on the front page."
     512msgstr ""
     513
     514#: settings/ticker-settings.php:328
     515msgid ""
     516"Time between the fades in milliseconds (Default: '2000', means 2 seconds)"
     517msgstr ""
     518
     519#: settings/ticker-settings.php:327
    372520msgid "Timeout"
    373521msgstr ""
    374522
    375 #: inc/ticker-admin.php:38
     523#: inc/t4bnt-sidebar.php:62
    376524msgid ""
    377525"To display a news ticker shortcode in a WordPress post or page, you need to "
     
    379527msgstr ""
    380528
    381 #: inc/ticker-settings.php:217
     529#. 1: Opening strong tag, 2: Closing strong tag
     530#: inc/t4bnt-help.php:95
     531#, php-format
    382532msgid ""
    383533"To display a news ticker shortcode in a WordPress theme file, you can use "
    384 "the "
    385 msgstr ""
    386 
    387 #: inc/ticker-admin.php:56
    388 msgid "Version: 1.2.9"
    389 msgstr ""
    390 
    391 #: inc/ticker-admin.php:33
    392 msgid "View Demo"
    393 msgstr ""
    394 
    395 #: inc/ticker-settings.php:219
     534"the %1$sdo_shortcode%2$s function:"
     535msgstr ""
     536
     537#. 1: Opening strong tag, 2: Closing strong tag
     538#: inc/t4bnt-help.php:60
     539#, php-format
     540msgid ""
     541"To help you get started with the T4B News Ticker plugin, we've prepared a "
     542"detailed tutorial video. This video is %1$s5 minutes and 42 seconds%2$s long "
     543"and covers everything you need to know about how the plugin works, including "
     544"setup, configuration, and advanced features."
     545msgstr ""
     546
     547#: actions/ticker-shortcode.php:170
     548msgid "Untitled"
     549msgstr ""
     550
     551#: inc/t4bnt-help.php:49
     552msgid "Watch the Tutorial Video:"
     553msgstr ""
     554
     555#: inc/t4bnt-help.php:65
     556msgid ""
     557"We highly recommend watching this video to make the most out of the T4B News "
     558"Ticker plugin. If you have any questions after watching, feel free to reach "
     559"out to our support team."
     560msgstr ""
     561
     562#: inc/t4bnt-help.php:113
    396563msgid ""
    397564"You can place this code anywhere in your theme file where you want the news "
     
    399566"specific page of your site."
    400567msgstr ""
     568
     569#: settings/ticker-settings.php:428
     570msgid "You do not have sufficient permissions to access this page."
     571msgstr ""
     572
     573#: inc/init-t4bnt.php:176
     574msgid ""
     575"Your feedback is important to us and can help us improve. If you enjoy our "
     576"plugin, please leave a quick review!"
     577msgstr ""
  • t4b-news-ticker/trunk/news-ticker.php

    r3303710 r3396714  
    44 * Plugin URI:        http://wordpress.org/plugins/t4b-news-ticker/
    55 * Description:       T4B News Ticker is a flexible and easy to use WordPress plugin that allow you to make horizontal News Ticker.
    6  * Version:           1.4.2
     6 * Version:           1.4.3
    77 * Requires at least: 5.2
    88 * Requires PHP:      7.4
     
    5454         */
    5555        public function t4bnt_check_version() {
    56             $current_version = '1.4.2'; // Set to the version that requires updates
     56            $current_version = '1.4.3'; // Set to the version that requires updates
    5757            $saved_version = get_option( 't4bnt_plugin_version', '' ); // Handle missing option
    5858       
    5959            // Run only for users below 1.4.0
    60             if ( empty($saved_version) || version_compare($saved_version, '1.4.2', '<') ) {
     60            if ( empty($saved_version) || version_compare($saved_version, '1.4.3', '<') ) {
    6161                // Perform required option updates (only needed once)
    6262                $old_version_options = get_option( 't4bnt_general' );
  • t4b-news-ticker/trunk/readme.txt

    r3303712 r3396714  
    2424
    2525### Flexible Content Sources
    26 What sets T4B News Ticker apart is its flexibility in content sources. You can display tickers based on specific post categories, relevant tags, or even craft custom text messages with associated links. Simply compose your custom content using the default WordPress post editor.
     26What sets T4B News Ticker apart is its flexibility in content sources. You can display tickers based on specific post categories, relevant tags, or even craft custom text messages with associated links. Compose your custom content using the default WordPress post editor.
    2727
    2828### Complete Control Over Appearance
    29 Take full control over the ticker's appearance and behavior. Adjust the scrolling speed to match your preferences and fine-tune the typography to ensure the ticker seamlessly blends with your website's design. Easily integrate the ticker into your posts, pages, or theme files using the provided shortcode.
     29Take complete control over the ticker's appearance and behavior. Adjust the scrolling speed to match your preferences and fine-tune the typography to ensure the ticker seamlessly blends with your website's design. Easily integrate the ticker into your posts, pages, or theme files using the provided shortcode.
    3030
    3131<blockquote>
     
    8080== Upgrade Notice ==
    8181
     82= 1.4.3 =
     83This is a routine update to ensure full compatibility with WordPress 6.8.3 and enhance the plugin backend appearance.
     84
     85- Added guidance for easily adding the ticker shortcode to all pages.
     86- Minor CSS improvements for a more polished backend experience.
     87
     88No changes affect the frontend functionality. Updating is recommended to benefit from the latest improvements.
     89
    8290= 1.4.2 =
    8391This update improves ticker initialization in all themes, including block/FSE ones like Twenty Twenty-Four. Please update to ensure proper functionality and reliable animation across different WordPress setups.
     
    95103This update includes a fix for the "Show in Homepage only" option, ensuring the ticker displays correctly on the homepage. It also resolves an issue where the ticker was not showing on tag and category archive pages. Please update to ensure proper functionality.
    96104
    97 = 1.3.2 =
    98 This version updates the plugin code to align with WordPress coding standards, improving maintainability and compatibility. It also includes a fix for a minor CSS issue. Update now for a cleaner and more robust codebase.
    99 
    100105
    101106== Changelog ==
     107
     108= 1.4.3 (16 NOvember 2025) =
     109* `Improved:` Backend CSS for a cleaner and more professional look.
     110* `Added:` Guidance on how to add the ticker shortcode to all pages.
     111* `Tested:` Full compatibility with WordPress 6.8.3.
     112* `Routine:` General maintenance and minor enhancements.
    102113
    103114= 1.4.2 (30 May 2025) =
  • t4b-news-ticker/trunk/settings/t4bnt-class.settings-api.php

    r3303710 r3396714  
    1212 * @example example/oop-example.php How to use the class
    1313 *
    14  * @package T4B News Ticker v1.4.2 - 30 May, 2025
     14 * @package T4B News Ticker v1.4.3 - 16 November, 2025
    1515 * @link https://www.realwebcare.com/
    1616 */
  • t4b-news-ticker/trunk/settings/ticker-settings.php

    r3303710 r3396714  
    77 * It also includes functionality for displaying a help page, adding menu items, and retrieving pages.
    88 *
    9  * @package T4B News Ticker v1.4.2 - 30 May, 2025
     9 * @package T4B News Ticker v1.4.3 - 16 November, 2025
    1010 * @link https://www.realwebcare.com/
    1111 */
Note: See TracChangeset for help on using the changeset viewer.