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
);
  1. Upload simple-ticker directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

سوالات متداول

none

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
★★★★★
★★★★★
4.0 /5 (4 نظر)

قیمت:

رایگان

نگارش

آخرین انتشار

16 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

500+

نگارش وردپرس

وردپرس 6.6+

تست شده از نسخه

وردپرس 7.0

نگارش PHP

PHP 8.0+

نسخه ها

0 نسخه