Plugin Directory

Changeset 3082769

Timestamp:
05/07/2024 06:55:03 PM (3 months ago)
Author:
realwebcare
Message:

Committing T4B News Ticker v1.3

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

Legend:

Unmodified
Added
Removed
  • t4b-news-ticker/trunk/assets/css/t4bnewsticker.css

    r3000438 r3082769  
    11/*!
    2  *  T4B News Ticker v1.2.9 - 23 November, 2023
     2 *  T4B News Ticker v1.
    33 *  by @realwebcare - https://www.realwebcare.com/
    44 */
  • t4b-news-ticker/trunk/assets/css/t4bnt_admin.css

    r3000438 r3082769  
    11/*!
    2  *  T4B News Ticker v1.2.9 - 23 November, 2023
     2 *  T4B News Ticker v1.
    33 *  by @realwebcare - https://www.realwebcare.com/
    44 */
  • t4b-news-ticker/trunk/assets/css/ticker-style.css

    r3000438 r3082769  
    11/*!
    2  *  T4B News Ticker v1.2.9 - 23 November, 2023
     2 *  T4B News Ticker v1.
    33 *  by @realwebcare - https://www.realwebcare.com/
    44 */
  • t4b-news-ticker/trunk/assets/js/jquery.liscroll.js

    r3000438 r3082769  
    88 *
    99 * Modified by @realwebcare v1.2.8
    10  * T4B News Ticker v1.2.9 - 23 November, 2023
     10 * T4B News Ticker v1.
    1111 * by @realwebcare - https://www.realwebcare.com/
    1212 */
  • t4b-news-ticker/trunk/assets/js/jquery.ticker.js

    r3000438 r3082769  
    1212    along with jQuery News Ticker.  If not, see <http://www.gnu.org/licenses/>.
    1313
    14     T4B News Ticker v1.2.9 - 23 November, 2023
     14    T4B News Ticker v1.
    1515    by @realwebcare - https://www.realwebcare.com/
    1616*/
  • t4b-news-ticker/trunk/assets/js/t4bnt_admin.js

    r3000438 r3082769  
    11/*!
    2  * T4B News Ticker v1.2.9 - 23 November, 2023
     2 * T4B News Ticker v1.
    33 * by @realwebcare - https://www.realwebcare.com/
    44 */
  • t4b-news-ticker/trunk/class/t4bnt-class.settings-api.php

    r3000438 r3082769  
    99 * @example example/oop-example.php How to use the class
    1010 *
    11  *  T4B News Ticker v1.2.9 - 23 November, 2023
     11 *  T4B News Ticker v1.
    1212 *  By @realwebcare - https://www.realwebcare.com/
    1313 */
  • t4b-news-ticker/trunk/inc/ticker-admin.php

    r3000438 r3082769  
    11<?php
    22/*
    3  *  T4B News Ticker v1.2.9 - 23 November, 2023
     3 *  T4B News Ticker v1.
    44 *  By @realwebcare - https://www.realwebcare.com/
    55 */
     
    5454                <h3><?php esc_html_e('Plugin Info', 't4b-news-ticker'); ?></h3>
    5555                <ul class="t4bntusage-list">
    56                     <li><?php esc_html_e('Version: 1.2.9', 't4b-news-ticker'); ?></li>
     56                    <li><?php esc_html_e('Version: 1.', 't4b-news-ticker'); ?></li>
    5757                    <li><?php esc_html_e('Scripts: PHP + CSS + JS', 't4b-news-ticker'); ?></li>
    5858                    <li><?php esc_html_e('Requires: Wordpress 5.4+', 't4b-news-ticker'); ?></li>
    5959                    <li><?php esc_html_e('First release: 29 December, 2014', 't4b-news-ticker'); ?></li>
    60                     <li><?php esc_html_e('Last Update: 23 November, 2023', 't4b-news-ticker'); ?></li>
     60                    <li><?php esc_html_e('Last Update: ', 't4b-news-ticker'); ?></li>
    6161                    <li><?php esc_html_e('By', 't4b-news-ticker'); ?>: <a href="https://www.realwebcare.com/" target="_blank"><?php esc_html_e('Realwebcare', 't4b-news-ticker'); ?></a><br/>
    6262                    <li><?php esc_html_e('Need Help', 't4b-news-ticker'); ?>? <a href="https://wordpress.org/support/plugin/t4b-news-ticker/" target="_blank"><?php esc_html_e('Support', 't4b-news-ticker'); ?></a><br/>
  • t4b-news-ticker/trunk/inc/ticker-settings.php

    r3000438 r3082769  
    11<?php
    22/*
    3  *  T4B News Ticker v1.2.9 - 23 November, 2023
     3 *  T4B News Ticker v1.
    44 *  By @realwebcare - https://www.realwebcare.com/
    55 */
  • t4b-news-ticker/trunk/news-ticker.php

    r3000438 r3082769  
    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.2.9
    7  * Requires at least: 4.7
     6 * Version:           1.
     7 * Requires at least:
    88 * Requires PHP:      7.4
    99 * Author:            Realwebcare
    1010 * Author URI:        https://www.realwebcare.com/
     11
     12
    1113 * License:           GPL v2 or later
    1214 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
    13  * Text Domain:       t4b-news-ticker
    14  * Domain Path:       /languages
    1515 */
    16 
    17 /*
    18 T4B News Ticker is free software: you can redistribute it and/or modify
    19 it under the terms of the GNU General Public License as published by
    20 the Free Software Foundation, either version 2 of the License, or
    21 any later version.
    22 
    23 T4B News Ticker is distributed in the hope that it will be useful,
    24 but WITHOUT ANY WARRANTY; without even the implied warranty of
    25 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    26 GNU General Public License for more details.
    27 
    28 You should have received a copy of the GNU General Public License
    29 along with T4B News Ticker. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
    30 */
    3116
    3217/**
    3318 * Main plugin file that initializes and manages the "T4B News Ticker" plugin.
    34  * @package T4B News Ticker v1.2.9 - 23 November, 2023
     19 * @package T4B News Ticker v1.
    3520 */
    3621
     
    4227
    4328/* Internationalization */
    44 function t4bnt_textdomain() {
    45     $locale = apply_filters( 'plugin_locale', get_locale(), 't4b-news-ticker' );
    46     load_textdomain( 't4b-news-ticker', trailingslashit( WP_PLUGIN_DIR ) . 't4b-news-ticker/languages/t4b-news-ticker-' . $locale . '.mo' );
    47     load_plugin_textdomain( 't4b-news-ticker', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
     29if (!function_exists('t4bnt_textdomain')) {
     30    function t4bnt_textdomain() {
     31        $locale = apply_filters( 'plugin_locale', get_locale(), 't4b-news-ticker' );
     32        load_textdomain( 't4b-news-ticker', trailingslashit( WP_PLUGIN_DIR ) . 't4b-news-ticker/languages/t4b-news-ticker-' . $locale . '.mo' );
     33        load_plugin_textdomain( 't4b-news-ticker', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
     34    }
    4835}
    4936add_action( 'init', 't4bnt_textdomain' );
    5037
    5138/* Add plugin action links */
    52 function t4bnt_plugin_actions( $links ) {
    53     $links[] = '<a href="'.menu_page_url('t4bnt-settings', false).'">'. __('Settings', 't4b-news-ticker') .'</a>';
    54     return $links;
     39if (!function_exists('t4bnt_plugin_actions')) {
     40    function t4bnt_plugin_actions( $links ) {
     41        $create_ticker_url = esc_url(menu_page_url('t4bnt-settings', false));
     42        $create_ticker_url = wp_nonce_url($create_ticker_url, 't4bnt_create_ticker_action');
     43
     44        $support_url = esc_url("https://wordpress.org/support/plugin/t4b-news-ticker");
     45
     46        $links[] = '<a href="'. $create_ticker_url .'">'. esc_html__('Settings', 't4b-news-ticker') .'</a>';
     47        $links[] = '<a href="'. $support_url .'" target="_blank">'. esc_html__('Support', 't4b-news-ticker') .'</a>';
     48        return $links;
     49    }
    5550}
    5651add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 't4bnt_plugin_actions' );
     
    5853/* Enqueue CSS & JS For Admin */
    5954function t4bnt_admin_adding_style() {
    60     wp_enqueue_script('t4bnt-admin', plugins_url( 'assets/js/t4bnt_admin.js', __FILE__ ), array('jquery'), '1.2.9', true);
    61     wp_enqueue_style('t4bnt-admin-style', plugins_url( 'assets/css/t4bnt_admin.css', __FILE__ ), '', '1.2.9');
     55    wp_enqueue_script('t4bnt-admin', plugins_url( 'assets/js/t4bnt_admin.js', __FILE__ ), array('jquery'), '1.', true);
     56    wp_enqueue_style('t4bnt-admin-style', plugins_url( 'assets/css/t4bnt_admin.css', __FILE__ ), '', '1.');
    6257}
    6358add_action( 'admin_enqueue_scripts', 't4bnt_admin_adding_style' );
     
    7267    if($t4bnt_enable == 'on') {
    7368        if($ticker_effect == 'scroll') {
    74             wp_register_script('liscroll', plugins_url( 'assets/js/jquery.liscroll.js', __FILE__ ), array('jquery'), '1.2.9', true);
     69            wp_register_script('liscroll', plugins_url( 'assets/js/jquery.liscroll.js', __FILE__ ), array('jquery'), '1.', true);
    7570            wp_enqueue_script('liscroll');
    7671        } else {
    77             wp_register_script('ticker', plugins_url( 'assets/js/jquery.ticker.js', __FILE__ ), array('jquery'), '1.2.9', true);
     72            wp_register_script('ticker', plugins_url( 'assets/js/jquery.ticker.js', __FILE__ ), array('jquery'), '1.', true);
    7873            wp_enqueue_script('ticker');
    7974        }
    8075        if($ticker_effect == 'scroll') {
    81             wp_enqueue_style('t4bnewsticker', plugins_url( 'assets/css/t4bnewsticker.css', __FILE__ ), '', '1.2.9');
     76            wp_enqueue_style('t4bnewsticker', plugins_url( 'assets/css/t4bnewsticker.css', __FILE__ ), '', '1.');
    8277        } else {
    83             wp_enqueue_style('tickerstyle', plugins_url( 'assets/css/ticker-style.css', __FILE__ ), '', '1.2.9');
     78            wp_enqueue_style('tickerstyle', plugins_url( 'assets/css/ticker-style.css', __FILE__ ), '', '1.');
    8479        }
    8580    }
    8681}
    8782add_action( 'wp_enqueue_scripts', 't4bnt_enqueue_scripts' );
    88 ?>
  • t4b-news-ticker/trunk/readme.txt

    r3051380 r3082769  
    11=== T4B News Ticker - Responsive News Scroller, Slider, and Animations ===
    22Contributors: realwebcare
    3 Requires at least: 4.7
    4 Tested up to: 6.4.3
    5 Tags: news, news ticker, scroll, ticker, breaking news
     3Requires at least:
     4Tested up to: 6.
     5Tags: news, news ticker, scroll,
    66Stable Tag: 1.2.9
    77License: GPLv2 or later
     
    99
    1010
    11 T4B News Ticker is a flexible and user-friendly news ticker plugin for WordPress, designed to create horizontal tickers with four unique animations.
     11T4B News Ticker is a flexible and user-friendly news ticker plugin for WordPress, designed to create horizontal tickers with four unique animations.
    1212
    1313
     
    7777
    7878== Changelog ==
     79
     80
     81
    7982
    8083= 1.2.9 (23 November, 2023) =
  • t4b-news-ticker/trunk/ticker-shortcode.php

    r3000438 r3082769  
    11<?php
    22/*
    3  *  T4B News Ticker v1.2.9 - 23 November, 2023
     3 *  T4B News Ticker v1.
    44 *  By @realwebcare - https://www.realwebcare.com/
    55 */
Note: See TracChangeset for help on using the changeset viewer.