Table of Contents
- Installation (Single Site)
- Installation (Multisite)
- Create a news ticker with manually added news
- Performance
- Credits
- FAQ
1) Installation (Single Site)
With this procedure, you will be able to install the Live News plugin on your WordPress website.
- Visit the Plugins -> Add New menu
- Click on the Upload Plugin button and select the zip file you just downloaded
- Click on Install Now
- Click on Activate Plugin
2) Installation (Multisite)
This plugin supports both a Network Activation (the plugin will be activated on all the sites of your WordPress Network) and a Single Site Activation in a WordPress Network environment (your plugin will be activated on a single site of the network).
With this procedure, you will be able to perform a Network Activation:
- Visit the Plugins -> Add New menu
- Click on the Upload Plugin button and select the zip file you just downloaded
- Click on Install Now
- Click on Network Activate
With this procedure, you will be able to perform a Single Site Activation in a WordPress Network environment:
- Visit the specific site of the WordPress Network where you want to install the plugin
- Visit the Plugins menu
- Click on the Activate button (just below the name of the plugin)
3) Create a news ticker with manually added news
This procedure will guide you on the creation of a news ticker that makes use of your manually added news:
- Visit the Live News -> News Tickers menu
- Enter the name of the news ticker in the Name input field
- Select where the news ticker should be applied with the Target select box
- Enter the URL where the news ticker should be applied in the Target URL input field (this value will be considered only if “URL” is selected in the Target select box)
- Click the Add News Ticker button to create the news ticker
4) Performance
The Performance section available in the Live News -> News Tickers menu allows you to avoid common problems associated with the high number of AJAX requests required to retrieve the news.
Cached Cycles
This value determines the number of cycles performed by the news ticker without updating the news. If you set “10”, then every ten cycles, the plugin will update the news with an AJAX request.
If your website is hosted on a shared hosting environment or if you have a high number of visitors, you can reduce the number of requests sent by the news ticker to your server by increasing this value.
You can also decide to update the news at every cycle by setting the value of this option to “0”, but this is not recommended in most cases.
Transient Expiration
With this option, you can set the transient expiration in seconds or set “0” if you don’t want to use a transient for the news ticker.
The plugin creates a transient when the news ticker is loaded for the first time or when the previous transient is expired. The transient of a news ticker will last for the number of seconds defined with the Transient Expiration option.
Delete a transient
When a transient is available for a news ticker, a refresh icon will appear on the Live News -> News Tickers menu. Click on this icon to delete the transient.
This operation is required if you want to see the changes applied to a news ticker (that make use of a transient) actually reflected on the news ticker generated on the front-end.
5) Credits
This plugin makes use of the following resources:
- Chosen licensed under the MIT License
- Mobile Detect JS licensed under the MIT License
- Moment.js licensed under the MIT License
6) FAQ
How to change the time format displayed in the clock?
You can specify a custom time format using the Source -> Clock Format option of the news ticker. The supported tokens are listed in the Format Section of the Moment.js documentation.
Which versions of PHP are supported?
PHP 5.2.4 and later versions are supported.
Which versions of WordPress are supported?
WordPress 4.0 and later versions are supported.