Simple Ticker

Displays the ticker.

Author:Katsushi Kawamori (profile at wordpress.org)
WordPress version required:5.2
WordPress version tested:6.5
Plugin version:3.08
Added to WordPress repository:31-07-2016
Last updated:05-03-2024
Rating, %:80
Rated by:4
Plugin URI:https://wordpress.org/plugins/simple-ticker/
Total downloads:8 132
Active installs:400+
plugin download
Click to start download

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
);

Screenshots
FAQ
ChangeLog