Stefan Kalscheuer 6ed625dab2
prepend new elements instead of replacing HTML on AJAX update (#9) (#12)
Replacing the body by prepending HTML results in the full content
being re-rendered. This can be a performance issue, but is definitely
annoying when embedding media in ticks.
2020-05-01 14:52:25 +02:00
2020-01-13 17:16:22 +01:00
2019-02-19 20:53:58 +01:00
2018-11-01 14:26:16 +01:00
2020-04-09 12:26:59 +02:00
2017-11-12 20:32:22 +01:00
2020-04-09 12:26:59 +02:00
2020-04-09 16:38:44 +02:00
2017-07-18 11:01:06 +02:00
2020-04-09 16:38:44 +02:00

Build Status Quality Gate WP Plugin Version Packagist Version License

Liveticker (by stklcode)

  • Contributors: Stefan Kalscheuer
  • Tags: liveticker, feed, rss
  • Requires at least: 4.0
  • Tested up to: 5.4
  • Requires PHP: 5.6
  • Stable tag: 1.0.0
  • License: GPLv2 or later
  • License URI: http://www.gnu.org/licenses/gpl-2.0.html

A simple ajaxified liveticker plugin for WordPress.

Description

Liveticker is a simple liveticker plugin for WordPress. Easily add multiple livetickers, add them to posts with shortcode or use them as Widget.

Features

  • Handle multiple Tickers
  • Automatic update via AJAX
  • RSS feed capability
  • Gutenberg block and shortcode to display liveticker
  • Add ticker to sidebar widgets
  • Ability to customize through CSS
  • Localization support

Installation

  1. Upload stklcode-liveticker to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Liveticker menu to start.

Requirements

  • PHP 5.2 or above
  • WordPress 4.0 or above

Frequently asked questions

How do I display a liveticker on my post/page?

On WordPress 5 sites there is a Gutenberg Block available to embed a liveticker in your post.

You can also use the shortcode [liveticker ticker="my-ticker"] on WordPress 4 or classic-mode sites. If you want to define a custom tick limit, you might also add a limit with [liveticker ticker="my-ticker" limit="10"].

Can I use my own styles?

Of course. You can deactivate the default stylesheet on the settings page and include your own instead.

Does the liveticker work with caching?

If you activate AJAX updates (enabled by default), the JavaScript will automatically update the content, even when the page is loaded from cached.

If AJAX is disabled, it depends on your update and caching intervals. If you update your ticker every 5 minutes, a caching time of 12 hours obviously makes no sense.

Screenshots

  1. Example liveticker (frontend)
  2. Tick management
  3. Ticker configuration.
  4. Settings page
  5. Gutenberg block
  6. Example shortcode
  7. Example widget

Changelog

1.1.0 - unreleased

  • Requires PHP 5.6 or above
  • Use GMT for automatic updates
  • Gutenberg Block available
  • Ticks exposed through REST API
  • Changed AJAX update logic for embedded media compatibility

1.0.0 - 2018-11-02

  • Initial release
v1.2.3 Latest
2025-02-04 17:24:25 +00:00
Languages
PHP 71.1%
JavaScript 17.3%
Shell 9.7%
CSS 1.9%