外掛說明
OXP Breaking News Ticker builds scrolling news bars for WordPress: a breaking news strip across the header, a quieter marquee of latest posts in the footer, whatever the site needs. You set each one up in the admin and place it with the Gutenberg block or a shortcode.
Headlines are typed by hand or pulled from your own posts. Pick a post type, filter it by taxonomy, term or keyword, and load the matches in one click. They are saved as a snapshot, so the ticker runs no database queries when somebody visits.
Every ticker is a saved preset: edit it once and every page it appears on follows. Switch any of them on or off from the list with a single click, no page reload and no code.
Features
Content
- Add news items manually (title + URL + optional date) and reorder them with drag and drop.
- Optional date per item: items loaded from posts capture their publication date, manual items take the date you pick. Choose where it sits (before or after the headline), how it reads (site format, short, day and month, long, relative, or your own pattern), and give it its own typography and opacity.
- “Load from posts” snapshot picker: browse any post type, filter by taxonomy and terms, search by keyword, and load matching posts as items in one click. Each post is captured as a snapshot, so there are no database queries at render time and no performance cost for your visitors.
- Link options per ticker: open in new tab; custom rel attribute (Premium).
- Display limit: show only the first N items from a longer list (Premium).
- Per-ticker internal description (Premium).
- JSON import / export of tickers from the list screen (all or selected).
Design
- Four structural themes: Classic, Modern, Breaking News, and Minimalist.
- Six hand-tuned color palettes (Breaking, Aurora, Coffee, Editorial, Arctic and Caribbean), plus a fully custom palette with gradients. All of them are in the free plan.
- Every palette works in a dark and a light mode, switchable per ticker: the mode sets the background, the headline text, and the control buttons (hover included), while the palette keeps its accent color.
- Independent typography for news text, label, and item date: font family, weight, size, style, decoration, and text transform (plus opacity for the date).
- Google Fonts are self-hosted at save time, so no request reaches a Google server while somebody is browsing your site (GDPR-compliant).
- Show or hide individual elements per ticker: previous/next buttons, play-pause toggle, label pulse dot, per-headline pulse dot, and label.
- Optional edge fade: headlines fade out at the sides of the news area.
- Configurable height and max-width.
Behavior
- Three movement modes: Slide (one headline at a time), Fade (crossfade in place),
and Continuous (endless marquee strip with configurable scroll speed). - Scroll direction: left, right, up, or down (left/right in Continuous mode).
- Speed, easing, inter-item delay, and scroll offset.
- Autoplay, loop, pause on hover or tap, pause when the browser tab loses focus.
- Optional blinking pulse dot before each headline.
Placing the ticker
- Shortcode
[oxpbnt_ticker id="X"], with one-click copy from the ticker list and from the editor. - Native Gutenberg block: search for “Breaking News Ticker”, pick a saved ticker from the selector, and see it previewed right on the canvas. If you have none yet, the block offers a “Create your first ticker” button. Supports wide and full alignment.
- Both point at the same saved ticker, so editing it updates every place it was inserted.
- Settings lists every editor found on your site and lets you turn each one on or off. The shortcode is always available; unchecking the block removes it from the inserter without touching pages that already use it.
Accessibility and performance
- ARIA live regions, keyboard navigation, and
prefers-reduced-motionsupport. - Assets load only on pages that contain a ticker, or globally. Your choice, in Settings.
- AJAX activation toggle from the ticker list.
- Optional clean uninstall that removes all plugin data.
適用於區塊編輯器
這個外掛提供 1 個可供區塊編輯器使用的區塊。
- Breaking News Ticker Insert one of your saved tickers.
安裝方式
- Upload the
oxp-breaking-news-tickerfolder to/wp-content/plugins/. - Activate the plugin from the Plugins menu.
- Go to “OXP Tickers” “New Ticker”, configure it, and save.
- Add the “Breaking News Ticker” block to any post or page and pick your ticker, or copy the shortcode (e.g.
[oxpbnt_ticker id="123"]) and paste it wherever you want.
常見問題集
-
Do I need to know how to code?
-
No. Everything is configured from the WordPress admin: content, behavior, colors, and typography. Place the ticker anywhere using the Gutenberg block or the generated shortcode. No PHP, no CSS.
-
How do I insert a ticker into a page?
-
Two ways, both free. In the block editor, add the “Breaking News Ticker” block and choose one of your saved tickers from the selector; the block previews it on the canvas. Anywhere else (classic editor, text widgets, page builders) paste the shortcode shown in the ticker list, e.g.
[oxpbnt_ticker id="123"]. -
Can I create more than one ticker?
-
Yes. Each ticker is an independent preset. The free plan supports up to 3 tickers with 20 items each; Premium (coming soon) will allow unlimited ones.
-
How do I add news items?
-
You can type them in manually (title + URL) or use the “Load from posts” picker to pull content from any post type, filtered by taxonomy, terms, or keyword. Loaded items are frozen as snapshots, so they do not update on their own.
-
Will it slow down my site?
-
No. By default the plugin only loads its CSS and JS on pages that actually contain a ticker. You can switch to global loading from Settings if you prefer.
-
Are Google Fonts GDPR-compliant?
-
Yes. When you save a ticker with a Google Font selected, the plugin downloads that font variant to your server. Visitors’ browsers load the font from your own domain, and no request is ever made to Google at runtime.
-
Can I override the ticker template from my theme?
-
Yes. Copy
templates/ticker.phpfrom the plugin into your active theme’s root and WordPress will use your copy instead.
使用者評論
參與者及開發者
變更記錄
1.1.1
- Small fixes to how the admin buttons are displayed: icons and labels are now properly aligned, and the buttons in the page header line up with each other.
- Support and suggestions now go to support@oxypage.com, with the subject prefilled.
- The Breaking News Ticker block now runs in the iframed block editor, so the editor no longer falls back to its older rendering mode because of it.
- Now requires WordPress 6.7 or later, which loads the bundled translations on its own.
1.1.0
- Now you can deploy your tickers using a Gutenberg Block.
- New movement modes: Fade and Continuous.
- New Minimalist theme.
- Optional date per ticker item.
- Palettes now have a dark and a light mode, switchable per ticker.
- Custom palettes with gradients are now free.
- Optional per-headline pulse dot and edge fade.
- New Premium fields: per-ticker description, rel attribute, and item display limit.
- JSON import / export of tickers from the “My Tickers” screen.
- Spanish (es_ES) translation and .pot template.
- Softer admin buttons; palette cards mirror the real ticker layout.
- Removed the “Decoration (arrow)” color; the arrow follows the label color.
- Fixed: Google fonts chosen for the label were not self-hosted at save time.
- Editor fixes: shortcode shown only after saving, working copy button.
1.0.0
- Ticker CPT with tabbed editor: Content, Behavior, and Style.
- Manual items with drag-and-drop reordering, plus a “Load from posts” snapshot picker.
- Behavior controls: direction, speed, easing, autoplay, loop, offset, and pause options.
- Three structural themes and six color palettes.
- Independent typography for news text and label; Google Fonts self-hosted at save time.
- Visibility toggles for prev/next buttons, play-pause, pulse dot, and label.
- Link options: open in new tab and rel attribute.
- Shortcode [oxpbnt_ticker id=”X”] with one-click copy and AJAX activation toggle.
- Freemium: up to 3 tickers with 20 items each in the free plan.
- Smart asset loading and optional clean uninstall.








