Merge branch 'master' into develop

This commit is contained in:
Stefan Kalscheuer 2020-05-02 19:32:01 +02:00
commit dc366abcc4
2 changed files with 6 additions and 5 deletions

View File

@ -35,13 +35,14 @@ Easily add multiple livetickers, add them to posts with shortcode or use them as
## Installation ## Installation
1. Upload `stklcode-liveticker` to the `/wp-content/plugins/` directory. If you dont know how to install a plugin for WordPress, [heres how](https://wordpress.org/support/article/managing-plugins/).
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to Liveticker menu to start. You can obtain the plugin through fhe official WordPress plugin repository.
Alternatively you can also use _Copmposer_.
### Requirements ### ### Requirements ###
* PHP 5.2 or above * PHP 5.6 or above
* WordPress 4.0 or above * WordPress 4.0 or above
## Frequently asked questions ## Frequently asked questions

View File

@ -80,7 +80,7 @@ class Widget extends WP_Widget {
. 'data-sclt-limit="' . esc_attr( $count ) . '" ' . 'data-sclt-limit="' . esc_attr( $count ) . '" '
. 'data-sclt-last="' . esc_attr( current_datetime()->getTimestamp() ); . 'data-sclt-last="' . esc_attr( current_datetime()->getTimestamp() );
} }
echo '">'; echo '"><ul class="sclt-widget">';
$args = array( $args = array(
'post_type' => 'scliveticker_tick', 'post_type' => 'scliveticker_tick',