Simple Ticker

外掛說明

Displays the ticker.

It can display three own ticker.
It can view the Sticky Posts as ticker.
It can view the WooCommerce sale as ticker.
It supports the display of the widget and the short code and block.

Filter hooks

/** ==================================================
 * Filter for Inner text.
 * simple_ticker_1_inner_text
 * simple_ticker_2_inner_text
 * simple_ticker_3_inner_text
 *
 * @param $text1  Inner text.
 * @param $post_id  Post ID.
 *
 */
add_filter(
    'simple_ticker_1_inner_text', 
    function( $text1, $post_id ) {

        if ( 3309 == $post_id ) {
            $change  = 'Test';
            $changed = '<span style="color: #329BCB">' . esc_attr( $change ) . '</span>';
            $text1 = str_replace( $change, $changed, $text1 );
        }

        return $text1;
    },
    10,
    2
);

螢幕擷圖

  • Block
  • Settings 1
  • Settings 2
  • Settings 3

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Simple Ticker Displays the ticker.

安裝方式

  1. Upload simple-ticker directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

none

使用者評論

2023 年 9 月 15 日
I was looking for ticker plugin; and this one fit the bill. Works nicely.I would like to suggest adding the capability of clickable links in the ticker.
2016 年 9 月 3 日
Dieses Plugin ist der beste Text-Ticker, denn ich für WordPress bisher gesehen habe. Einfach zu handhaben, Ausgabe als Shortcode (vielseitig anpassbar) und/oder als Widget. Sehr flexibel. Mit dem Theme Twenty Sixteen gibt es keine Probleme. Empfehlung: Absolut Spitze!!! [ link redacted, please do not post links in reviews ]
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple Ticker〉的開發相關工作。

參與者

〈Simple Ticker〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Simple Ticker〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

3.08

Rebuilt blocks.

3.07

Supported WordPress 6.4.
PHP 8.0 is now required.

3.06

Fixed problem of XSS via shortcode.

3.05

Added filter to edit text in ticker.

3.04

Supported WordPress 6.1.

3.03

Rebuilt blocks.

3.02

Rebuilt blocks.
Fixed admin screen.
Fixed uninstall.

3.01

Changed management screen.
Added URL options.

3.00

Added block.
Added beginning display.

2.11

Fixed an issue with blank saving of ticker text.

2.10

Supported WordPress 5.3.

2.09

Fixed problem of widget.

2.08

Conformed to the WordPress coding standard.

2.07

Fixed problem of interval days for sale.

2.06

Fixed problem of widget.

2.05

Fixed problem of specifying color with shortcode.

2.04

Added a filter to insert before and after content.

2.03

Abolition of font tag.
Fixed problem of initial settings.

2.02

Fixed color problem.
Resurrected font tag.

2.01

Added currency symbol
Added discount text.
Abolition of font tag.

2.00

Ticker speed adjustment added.
The display of Woocommerce sale was added.

1.07

Removed unnecessary code.

1.06

Fixed fine problem.

1.05

Changed donate link.

1.04

Security measures.

1.03

Changed to 1 message on 1 line.

1.02

Fixed problem of Javascript.

1.01

Supported GlotPress. /languages directory is deleted.

1.0