Version Description
- Fixed pause on hover functionality.
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Ditty News Ticker |
Version | 1.1.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.5 to 1.1.6
- ditty-news-ticker.php +4 -4
- includes/functions.php +4 -8
- readme.txt +6 -0
ditty-news-ticker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ditty News Ticker
|
4 |
Plugin URI: http://dittynewsticker.com/
|
5 |
Description: Ditty News Ticker is a multi-functional data display plugin
|
6 |
-
Version: 1.1.
|
7 |
Author: Metaphor Creations
|
8 |
Author URI: http://www.metaphorcreations.com
|
9 |
License: GPL2
|
@@ -42,12 +42,12 @@ The icons are licensed under a Creative Commons Attribution
|
|
42 |
/**
|
43 |
* Define constants
|
44 |
*
|
45 |
-
* @since 1.
|
46 |
*/
|
47 |
if ( WP_DEBUG ) {
|
48 |
-
define ( 'MTPHR_DNT_VERSION', '1.1.
|
49 |
} else {
|
50 |
-
define ( 'MTPHR_DNT_VERSION', '1.1.
|
51 |
}
|
52 |
define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
|
53 |
define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
|
3 |
Plugin Name: Ditty News Ticker
|
4 |
Plugin URI: http://dittynewsticker.com/
|
5 |
Description: Ditty News Ticker is a multi-functional data display plugin
|
6 |
+
Version: 1.1.6
|
7 |
Author: Metaphor Creations
|
8 |
Author URI: http://www.metaphorcreations.com
|
9 |
License: GPL2
|
42 |
/**
|
43 |
* Define constants
|
44 |
*
|
45 |
+
* @since 1.1.6
|
46 |
*/
|
47 |
if ( WP_DEBUG ) {
|
48 |
+
define ( 'MTPHR_DNT_VERSION', '1.1.6-'.time() );
|
49 |
} else {
|
50 |
+
define ( 'MTPHR_DNT_VERSION', '1.1.6' );
|
51 |
}
|
52 |
define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
|
53 |
define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
|
includes/functions.php
CHANGED
@@ -22,7 +22,7 @@ function ditty_news_ticker( $id='', $class='', $atts=false ) {
|
|
22 |
/**
|
23 |
* Return the ticker
|
24 |
*
|
25 |
-
* @since 1.1.
|
26 |
*/
|
27 |
function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
28 |
|
@@ -217,11 +217,7 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
|
217 |
wp_reset_postdata();
|
218 |
}
|
219 |
|
220 |
-
|
221 |
-
* Add to the global script variable
|
222 |
-
*
|
223 |
-
* @since 1.0.0
|
224 |
-
*/
|
225 |
if( $_mtphr_dnt_mode == 'scroll' || $_mtphr_dnt_mode == 'rotate' ) {
|
226 |
|
227 |
global $mtphr_dnt_ticker_scripts;
|
@@ -237,14 +233,14 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
|
237 |
|
238 |
$scroll_pause = 0;
|
239 |
if( isset($_mtphr_dnt_scroll_pause) ) {
|
240 |
-
$
|
241 |
}
|
242 |
$rotate = 0; $rotate_pause = 0; $nav_autohide = 0; $nav_reverse = 0;
|
243 |
if( isset($_mtphr_dnt_auto_rotate) ) {
|
244 |
$rotate = $_mtphr_dnt_auto_rotate ? 1 : 0;
|
245 |
}
|
246 |
if( isset($_mtphr_dnt_rotate_pause) ) {
|
247 |
-
$
|
248 |
}
|
249 |
if( isset($_mtphr_dnt_rotate_directional_nav_reverse) ) {
|
250 |
$nav_reverse = $_mtphr_dnt_rotate_directional_nav_reverse ? 1 : 0;
|
22 |
/**
|
23 |
* Return the ticker
|
24 |
*
|
25 |
+
* @since 1.1.6
|
26 |
*/
|
27 |
function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
28 |
|
217 |
wp_reset_postdata();
|
218 |
}
|
219 |
|
220 |
+
// Add to the global script variable
|
|
|
|
|
|
|
|
|
221 |
if( $_mtphr_dnt_mode == 'scroll' || $_mtphr_dnt_mode == 'rotate' ) {
|
222 |
|
223 |
global $mtphr_dnt_ticker_scripts;
|
233 |
|
234 |
$scroll_pause = 0;
|
235 |
if( isset($_mtphr_dnt_scroll_pause) ) {
|
236 |
+
$scroll_pause = $_mtphr_dnt_scroll_pause ? 1 : 0;
|
237 |
}
|
238 |
$rotate = 0; $rotate_pause = 0; $nav_autohide = 0; $nav_reverse = 0;
|
239 |
if( isset($_mtphr_dnt_auto_rotate) ) {
|
240 |
$rotate = $_mtphr_dnt_auto_rotate ? 1 : 0;
|
241 |
}
|
242 |
if( isset($_mtphr_dnt_rotate_pause) ) {
|
243 |
+
$rotate_pause = $_mtphr_dnt_rotate_pause ? 1 : 0;
|
244 |
}
|
245 |
if( isset($_mtphr_dnt_rotate_directional_nav_reverse) ) {
|
246 |
$nav_reverse = $_mtphr_dnt_rotate_directional_nav_reverse ? 1 : 0;
|
readme.txt
CHANGED
@@ -52,6 +52,9 @@ Each individual Ticker post has multiple settings to customize.
|
|
52 |
|
53 |
== Changelog ==
|
54 |
|
|
|
|
|
|
|
55 |
= 1.1.5 =
|
56 |
* Modified jQuery ticker class loading.
|
57 |
* Fixed load_plugin_textdomain setup.
|
@@ -128,6 +131,9 @@ Each individual Ticker post has multiple settings to customize.
|
|
128 |
|
129 |
== Upgrade Notice ==
|
130 |
|
|
|
|
|
|
|
131 |
= 1.1.5 =
|
132 |
Modified jQuery ticker class loading. Fixed load_plugin_textdomain setup. Added wysiwyg editor option back.
|
133 |
|
52 |
|
53 |
== Changelog ==
|
54 |
|
55 |
+
= 1.1.6 =
|
56 |
+
* Fixed pause on hover functionality.
|
57 |
+
|
58 |
= 1.1.5 =
|
59 |
* Modified jQuery ticker class loading.
|
60 |
* Fixed load_plugin_textdomain setup.
|
131 |
|
132 |
== Upgrade Notice ==
|
133 |
|
134 |
+
= 1.1.6 =
|
135 |
+
Fixed pause on hover functionality.
|
136 |
+
|
137 |
= 1.1.5 =
|
138 |
Modified jQuery ticker class loading. Fixed load_plugin_textdomain setup. Added wysiwyg editor option back.
|
139 |
|