Displays the ticker.
Betyg
4
Senast uppdaterat
May 29, 2024
Version
3.09
Aktiva installationer
400

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 );
Gratispå Creator-paket
Aktiva installationer
400
Testat upp till
6.5.5
Det här tillägget är tillgängligt för nedladdning och kan användas på din WordPress-installation som drivs på egen server.