| 开发者 | digitaladvisors |
|---|---|
| 更新时间 | 2026年10月23日 15:42 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[digital_advisors_news_ticker] shortcode.
Features
https:// address.wp_body_open still get the bar.[digital_advisors_news_ticker] to classic content or a Shortcode widget.Check that Show the news ticker bar across the site is ticked and saved, and that you have at least one published post or extra headline. The settings screen preview shows a message when there is nothing to show.
Yes. Choose a category in Settings > News Ticker. The block and shortcode can each use a different category, for example [digital_advisors_news_ticker category="news"].
Add it to Extra headlines, one per line. To make it a link, put | and the link after the text:
Winter sale ends Friday | /shop/sale
Links must be a path on your site, starting with /, or a full https:// address. Anything else is shown as plain text.
All are optional and fall back to your settings:
count – number of posts, 1 to 10category – category slug or IDlabel – label text; use label="" for no labelshow_dates – yes or nospeed – slow, normal or fastheadlines – no to leave out your extra headlines[digital_advisors_news_ticker count="3" category="events" speed="slow"]
Visitors can pause it at any time, and it pauses when they hover over it or focus a link inside it. If their device is set to reduce motion, the ticker does not move at all.
No. The bar adds its own height to the space below your page, so your footer stays visible above it.
Yes, with the digital_advisors_news_ticker_show_bar filter. For example, to hide it on the front page:
add_filter( 'digital_advisors_news_ticker_show_bar', function ( $show ) { return $show && ! is_front_page(); } );
The plugin adds one small stylesheet and one small script, and only on pages that show a ticker. It runs a single query for your latest posts and makes no external requests.
No. It sets no cookies, stores nothing about visitors and makes no requests to other servers.
Deleting it from the Plugins screen removes its settings from your database. Deactivating it keeps them.