Version Description
- Added a checkbox to set links as rel="nofollow".
- Updated vertical scrolling for responsive sites.
- Removed "width" override for scrolling tickers.
- Added new ticker classes.
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Ditty News Ticker |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- assets/css/style.css +3 -1
- assets/js/ditty-news-ticker.js +72 -8
- ditty-news-ticker.php +3 -4
- includes/functions.php +22 -6
- includes/meta-boxes.php +7 -10
- includes/taxonomies.php +0 -42
- readme.txt +9 -0
assets/css/style.css
CHANGED
@@ -19,7 +19,9 @@
|
|
19 |
.mtphr-dnt-tick.clearfix {
|
20 |
display:none;
|
21 |
}
|
22 |
-
.mtphr-dnt-rotate .mtphr-dnt-tick
|
|
|
|
|
23 |
white-space: normal;
|
24 |
}
|
25 |
.mtphr-dnt-list .mtphr-dnt-tick {
|
19 |
.mtphr-dnt-tick.clearfix {
|
20 |
display:none;
|
21 |
}
|
22 |
+
.mtphr-dnt-rotate .mtphr-dnt-tick,
|
23 |
+
.mtphr-dnt-scroll-up .mtphr-dnt-tick,
|
24 |
+
.mtphr-dnt-scroll-down .mtphr-dnt-tick {
|
25 |
white-space: normal;
|
26 |
}
|
27 |
.mtphr-dnt-list .mtphr-dnt-tick {
|
assets/js/ditty-news-ticker.js
CHANGED
@@ -130,12 +130,14 @@
|
|
130 |
break;
|
131 |
|
132 |
case 'up':
|
|
|
133 |
position = parseInt(ticker_height);
|
134 |
$(this).css('top',position+'px');
|
135 |
break;
|
136 |
|
137 |
case 'down':
|
138 |
-
|
|
|
139 |
$(this).css('top',position+'px');
|
140 |
break;
|
141 |
}
|
@@ -335,7 +337,7 @@
|
|
335 |
|
336 |
// Set the tick position
|
337 |
var position;
|
338 |
-
|
339 |
var $tick = ticks[i][0].headline;
|
340 |
|
341 |
switch( settings.scroll_direction ) {
|
@@ -354,6 +356,7 @@
|
|
354 |
break;
|
355 |
|
356 |
case 'up':
|
|
|
357 |
position = parseInt(ticker_height);
|
358 |
if( ticks[i][0].visible == false ) {
|
359 |
$tick.css('top',position+'px');
|
@@ -361,6 +364,7 @@
|
|
361 |
break;
|
362 |
|
363 |
case 'down':
|
|
|
364 |
position = parseInt('-'+$tick.height());
|
365 |
if( ticks[i][0].visible == false ) {
|
366 |
$tick.css('top',position+'px');
|
@@ -378,6 +382,57 @@
|
|
378 |
}
|
379 |
}
|
380 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
|
382 |
|
383 |
|
@@ -725,15 +780,24 @@
|
|
725 |
* Resize listener
|
726 |
* Reset the ticker width
|
727 |
*
|
728 |
-
* @since 1.0.
|
729 |
*/
|
730 |
$(window).resize( function() {
|
731 |
-
ticker_width = $ticker.width();
|
732 |
|
733 |
-
if
|
734 |
-
|
735 |
-
|
736 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
737 |
}
|
738 |
});
|
739 |
|
130 |
break;
|
131 |
|
132 |
case 'up':
|
133 |
+
$(this).css('width',ticker_width);
|
134 |
position = parseInt(ticker_height);
|
135 |
$(this).css('top',position+'px');
|
136 |
break;
|
137 |
|
138 |
case 'down':
|
139 |
+
$(this).css('width',ticker_width);
|
140 |
+
position = parseInt('-'+$(this).height());
|
141 |
$(this).css('top',position+'px');
|
142 |
break;
|
143 |
}
|
337 |
|
338 |
// Set the tick position
|
339 |
var position;
|
340 |
+
|
341 |
var $tick = ticks[i][0].headline;
|
342 |
|
343 |
switch( settings.scroll_direction ) {
|
356 |
break;
|
357 |
|
358 |
case 'up':
|
359 |
+
$tick.css('width',ticker_width);
|
360 |
position = parseInt(ticker_height);
|
361 |
if( ticks[i][0].visible == false ) {
|
362 |
$tick.css('top',position+'px');
|
364 |
break;
|
365 |
|
366 |
case 'down':
|
367 |
+
$tick.css('width',ticker_width);
|
368 |
position = parseInt('-'+$tick.height());
|
369 |
if( ticks[i][0].visible == false ) {
|
370 |
$tick.css('top',position+'px');
|
382 |
}
|
383 |
}
|
384 |
|
385 |
+
/**
|
386 |
+
* Reset the scroller for vertical scrolls
|
387 |
+
*
|
388 |
+
* @since 1.0.9
|
389 |
+
*/
|
390 |
+
function mtphr_dnt_scroll_reset_ticks() {
|
391 |
+
|
392 |
+
for( var i=0; i<vars.tick_count; i++ ) {
|
393 |
+
|
394 |
+
var $tick = ticks[i][0].headline;
|
395 |
+
|
396 |
+
switch( settings.scroll_direction ) {
|
397 |
+
case 'left':
|
398 |
+
position = ticker_width;
|
399 |
+
$(this).css('left',position+'px');
|
400 |
+
$tick.css('left',position+'px');
|
401 |
+
break;
|
402 |
+
|
403 |
+
case 'right':
|
404 |
+
position = parseInt('-'+$(this).width());
|
405 |
+
$(this).css('left',position+'px');
|
406 |
+
$tick.css('left',position+'px');
|
407 |
+
break;
|
408 |
+
|
409 |
+
case 'up':
|
410 |
+
$tick.css('width',ticker_width);
|
411 |
+
position = parseInt(ticker_height);
|
412 |
+
$tick.css('top',position+'px');
|
413 |
+
break;
|
414 |
+
|
415 |
+
case 'down':
|
416 |
+
$tick.css('width',ticker_width);
|
417 |
+
position = parseInt('-'+$(this).height());
|
418 |
+
$tick.css('top',position+'px');
|
419 |
+
break;
|
420 |
+
}
|
421 |
+
|
422 |
+
ticks[i][0].width = $tick.width();
|
423 |
+
ticks[i][0].height = $tick.height();
|
424 |
+
ticks[i][0].position = position;
|
425 |
+
ticks[i][0].reset = position;
|
426 |
+
ticks[i][0].visible = false;
|
427 |
+
|
428 |
+
// Reset the current tick
|
429 |
+
vars.current_tick = 0;
|
430 |
+
|
431 |
+
// Set the first tick visibility
|
432 |
+
ticks[vars.current_tick][0].visible = true;
|
433 |
+
}
|
434 |
+
}
|
435 |
+
|
436 |
|
437 |
|
438 |
|
780 |
* Resize listener
|
781 |
* Reset the ticker width
|
782 |
*
|
783 |
+
* @since 1.0.9
|
784 |
*/
|
785 |
$(window).resize( function() {
|
|
|
786 |
|
787 |
+
// Resize the tickers if the width is different
|
788 |
+
if( $ticker.width() != ticker_width ) {
|
789 |
+
|
790 |
+
ticker_width = $ticker.width();
|
791 |
+
|
792 |
+
if( settings.type == 'scroll' ) {
|
793 |
+
if( settings.scroll_direction=='up' || settings.scroll_direction=='down' ) {
|
794 |
+
mtphr_dnt_scroll_reset_ticks();
|
795 |
+
} else {
|
796 |
+
mtphr_dnt_scroll_resize_ticks();
|
797 |
+
}
|
798 |
+
} else if( settings.type == 'rotate' ) {
|
799 |
+
mtphr_dnt_rotator_resize_ticks();
|
800 |
+
}
|
801 |
}
|
802 |
});
|
803 |
|
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.0.
|
7 |
Author: Metaphor Creations
|
8 |
Author URI: http://www.metaphorcreations.com
|
9 |
License: GPL2
|
@@ -45,9 +45,9 @@ The icons are licensed under a Creative Commons Attribution
|
|
45 |
* @since 1.0.0
|
46 |
*/
|
47 |
if ( WP_DEBUG ) {
|
48 |
-
define ( 'MTPHR_DNT_VERSION', '1.0.
|
49 |
} else {
|
50 |
-
define ( 'MTPHR_DNT_VERSION', '1.0.
|
51 |
}
|
52 |
define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
|
53 |
define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
|
@@ -75,7 +75,6 @@ if( is_admin() ) {
|
|
75 |
// Load the general functions
|
76 |
require_once( MTPHR_DNT_DIR.'includes/scripts.php' );
|
77 |
require_once( MTPHR_DNT_DIR.'includes/post-types.php' );
|
78 |
-
//require_once( MTPHR_DNT_DIR.'includes/taxonomies.php' );
|
79 |
require_once( MTPHR_DNT_DIR.'includes/functions.php' );
|
80 |
require_once( MTPHR_DNT_DIR.'includes/shortcodes.php' );
|
81 |
require_once( MTPHR_DNT_DIR.'includes/widget.php' );
|
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.0.9
|
7 |
Author: Metaphor Creations
|
8 |
Author URI: http://www.metaphorcreations.com
|
9 |
License: GPL2
|
45 |
* @since 1.0.0
|
46 |
*/
|
47 |
if ( WP_DEBUG ) {
|
48 |
+
define ( 'MTPHR_DNT_VERSION', '1.0.9-'.time() );
|
49 |
} else {
|
50 |
+
define ( 'MTPHR_DNT_VERSION', '1.0.9' );
|
51 |
}
|
52 |
define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
|
53 |
define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
|
75 |
// Load the general functions
|
76 |
require_once( MTPHR_DNT_DIR.'includes/scripts.php' );
|
77 |
require_once( MTPHR_DNT_DIR.'includes/post-types.php' );
|
|
|
78 |
require_once( MTPHR_DNT_DIR.'includes/functions.php' );
|
79 |
require_once( MTPHR_DNT_DIR.'includes/shortcodes.php' );
|
80 |
require_once( MTPHR_DNT_DIR.'includes/widget.php' );
|
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.0.
|
26 |
*/
|
27 |
function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
28 |
|
@@ -64,7 +64,15 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
|
64 |
|
65 |
// Get the contents
|
66 |
if( $link = esc_url($tick['link']) ) {
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
} else {
|
69 |
$contents = $text;
|
70 |
}
|
@@ -124,7 +132,7 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
|
124 |
if( $_mtphr_dnt_mode == 'scroll' ) {
|
125 |
$padding = ( intval($_mtphr_dnt_scroll_padding) != 0 ) ? 'padding-top:'.intval($_mtphr_dnt_scroll_padding).'px;padding-bottom:'.intval($_mtphr_dnt_scroll_padding).'px;' : '';
|
126 |
$margin = ( intval($_mtphr_dnt_scroll_margin) != 0 ) ? 'margin-top:'.intval($_mtphr_dnt_scroll_margin).'px;margin-bottom:'.intval($_mtphr_dnt_scroll_margin).'px;' : '';
|
127 |
-
|
128 |
$height = ( intval($_mtphr_dnt_scroll_height) != 0 ) ? 'height:'.intval($_mtphr_dnt_scroll_height).'px;' : '';
|
129 |
} elseif( $_mtphr_dnt_mode == 'rotate' ) {
|
130 |
$padding = ( intval($_mtphr_dnt_rotate_padding) != 0 ) ? 'padding-top:'.intval($_mtphr_dnt_rotate_padding).'px;padding-bottom:'.intval($_mtphr_dnt_rotate_padding).'px;' : '';
|
@@ -138,7 +146,7 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
|
138 |
// Filter the variables
|
139 |
$padding = apply_filters( 'mtphr_dnt_tick_container_padding', $padding );
|
140 |
$margin = apply_filters( 'mtphr_dnt_tick_container_margin', $margin );
|
141 |
-
|
142 |
$height = apply_filters( 'mtphr_dnt_tick_height', $height );
|
143 |
|
144 |
// Create the container style
|
@@ -159,7 +167,8 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
|
159 |
$spacing = ( $i != intval($total-1) ) ? 'margin-bottom:'.intval($_mtphr_dnt_list_tick_spacing).'px;' : '';
|
160 |
}
|
161 |
$spacing = apply_filters( 'mtphr_dnt_list_tick_spacing', $spacing, $i, $total );
|
162 |
-
$tick_style = ( $
|
|
|
163 |
|
164 |
do_action( 'mtphr_dnt_tick_before', $id, $meta_data, $total, $i );
|
165 |
echo '<div'.$tick_style.' '.mtphr_dnt_tick_class('clearfix').'>';
|
@@ -228,7 +237,7 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
|
228 |
/**
|
229 |
* Return the ticker class
|
230 |
*
|
231 |
-
* @since 1.0.
|
232 |
*/
|
233 |
function mtphr_dnt_ticker_class( $id='', $class='', $meta_data ) {
|
234 |
|
@@ -248,6 +257,13 @@ function get_mtphr_dnt_ticker_class( $id='', $class='', $meta_data ) {
|
|
248 |
$classes[] = 'mtphr-dnt-'.$_mtphr_dnt_type;
|
249 |
$classes[] = 'mtphr-dnt-'.$_mtphr_dnt_mode;
|
250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
// Set the styles class
|
252 |
if( isset($_mtphr_dnt_styled) ) {
|
253 |
if( $_mtphr_dnt_styled ) {
|
22 |
/**
|
23 |
* Return the ticker
|
24 |
*
|
25 |
+
* @since 1.0.9
|
26 |
*/
|
27 |
function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
28 |
|
64 |
|
65 |
// Get the contents
|
66 |
if( $link = esc_url($tick['link']) ) {
|
67 |
+
|
68 |
+
// Add nofollow
|
69 |
+
$nofollow = '';
|
70 |
+
if( isset($tick['nofollow']) ) {
|
71 |
+
if( $tick['nofollow'] ) {
|
72 |
+
$nofollow = ' rel="nofollow"';
|
73 |
+
}
|
74 |
+
}
|
75 |
+
$contents = '<a href="'.$link.'" target="'.$tick['target'].'"'.$nofollow.'>'.$text.'</a>';
|
76 |
} else {
|
77 |
$contents = $text;
|
78 |
}
|
132 |
if( $_mtphr_dnt_mode == 'scroll' ) {
|
133 |
$padding = ( intval($_mtphr_dnt_scroll_padding) != 0 ) ? 'padding-top:'.intval($_mtphr_dnt_scroll_padding).'px;padding-bottom:'.intval($_mtphr_dnt_scroll_padding).'px;' : '';
|
134 |
$margin = ( intval($_mtphr_dnt_scroll_margin) != 0 ) ? 'margin-top:'.intval($_mtphr_dnt_scroll_margin).'px;margin-bottom:'.intval($_mtphr_dnt_scroll_margin).'px;' : '';
|
135 |
+
//$width = ( intval($_mtphr_dnt_scroll_width) != 0 ) ? 'white-space:normal;width:'.intval($_mtphr_dnt_scroll_width).'px;' : '';
|
136 |
$height = ( intval($_mtphr_dnt_scroll_height) != 0 ) ? 'height:'.intval($_mtphr_dnt_scroll_height).'px;' : '';
|
137 |
} elseif( $_mtphr_dnt_mode == 'rotate' ) {
|
138 |
$padding = ( intval($_mtphr_dnt_rotate_padding) != 0 ) ? 'padding-top:'.intval($_mtphr_dnt_rotate_padding).'px;padding-bottom:'.intval($_mtphr_dnt_rotate_padding).'px;' : '';
|
146 |
// Filter the variables
|
147 |
$padding = apply_filters( 'mtphr_dnt_tick_container_padding', $padding );
|
148 |
$margin = apply_filters( 'mtphr_dnt_tick_container_margin', $margin );
|
149 |
+
//$width = apply_filters( 'mtphr_dnt_tick_width', $width );
|
150 |
$height = apply_filters( 'mtphr_dnt_tick_height', $height );
|
151 |
|
152 |
// Create the container style
|
167 |
$spacing = ( $i != intval($total-1) ) ? 'margin-bottom:'.intval($_mtphr_dnt_list_tick_spacing).'px;' : '';
|
168 |
}
|
169 |
$spacing = apply_filters( 'mtphr_dnt_list_tick_spacing', $spacing, $i, $total );
|
170 |
+
$tick_style = ( $height != '' || $spacing != '' ) ? ' style="'.$height.$spacing.'"' : '';
|
171 |
+
//$tick_style = ( $width != '' || $height != '' || $spacing != '' ) ? ' style="'.$width.$height.$spacing.'"' : '';
|
172 |
|
173 |
do_action( 'mtphr_dnt_tick_before', $id, $meta_data, $total, $i );
|
174 |
echo '<div'.$tick_style.' '.mtphr_dnt_tick_class('clearfix').'>';
|
237 |
/**
|
238 |
* Return the ticker class
|
239 |
*
|
240 |
+
* @since 1.0.9
|
241 |
*/
|
242 |
function mtphr_dnt_ticker_class( $id='', $class='', $meta_data ) {
|
243 |
|
257 |
$classes[] = 'mtphr-dnt-'.$_mtphr_dnt_type;
|
258 |
$classes[] = 'mtphr-dnt-'.$_mtphr_dnt_mode;
|
259 |
|
260 |
+
if( $_mtphr_dnt_mode == 'scroll' ) {
|
261 |
+
$classes[] = 'mtphr-dnt-'.$_mtphr_dnt_mode.'-'.$_mtphr_dnt_scroll_direction;
|
262 |
+
}
|
263 |
+
if( $_mtphr_dnt_mode == 'rotate' ) {
|
264 |
+
$classes[] = 'mtphr-dnt-'.$_mtphr_dnt_mode.'-'.$_mtphr_dnt_rotate_type;
|
265 |
+
}
|
266 |
+
|
267 |
// Set the styles class
|
268 |
if( isset($_mtphr_dnt_styled) ) {
|
269 |
if( $_mtphr_dnt_styled ) {
|
includes/meta-boxes.php
CHANGED
@@ -68,6 +68,10 @@ function mtphr_dnt_metabox_type_default() {
|
|
68 |
'header' => __('Target', 'ditty-news-ticker'),
|
69 |
'type' => 'select',
|
70 |
'options' => array( '_self', '_blank' )
|
|
|
|
|
|
|
|
|
71 |
)
|
72 |
);
|
73 |
|
@@ -159,19 +163,12 @@ function mtphr_dnt_mode_metabox_scroll() {
|
|
159 |
|
160 |
// Add the dimensions field
|
161 |
$scroll_fields['dimensions'] = array(
|
162 |
-
'id' => '
|
163 |
'type' => 'number',
|
164 |
'name' => __('Tick dimensions', 'ditty-news-ticker'),
|
165 |
'default' => 0,
|
166 |
-
'before' => __('
|
167 |
-
'description' => __('Override the auto dimensions with specific values.', 'ditty-news-ticker')
|
168 |
-
'append' => array(
|
169 |
-
'_mtphr_dnt_scroll_height' => array(
|
170 |
-
'type' => 'number',
|
171 |
-
'default' => 0,
|
172 |
-
'before' => __('Height', 'ditty-news-ticker'),
|
173 |
-
)
|
174 |
-
)
|
175 |
);
|
176 |
|
177 |
// Add the spacing field
|
68 |
'header' => __('Target', 'ditty-news-ticker'),
|
69 |
'type' => 'select',
|
70 |
'options' => array( '_self', '_blank' )
|
71 |
+
),
|
72 |
+
'nofollow' => array(
|
73 |
+
'header' => __('NF', 'ditty-news-ticker'),
|
74 |
+
'type' => 'checkbox'
|
75 |
)
|
76 |
);
|
77 |
|
163 |
|
164 |
// Add the dimensions field
|
165 |
$scroll_fields['dimensions'] = array(
|
166 |
+
'id' => '_mtphr_dnt_scroll_height',
|
167 |
'type' => 'number',
|
168 |
'name' => __('Tick dimensions', 'ditty-news-ticker'),
|
169 |
'default' => 0,
|
170 |
+
'before' => __('Height', 'ditty-news-ticker'),
|
171 |
+
'description' => __('Override the auto dimensions with specific values.', 'ditty-news-ticker')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
);
|
173 |
|
174 |
// Add the spacing field
|
includes/taxonomies.php
DELETED
@@ -1,42 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Add custom taxonomies
|
4 |
-
*
|
5 |
-
* @package Ditty News Ticker
|
6 |
-
*/
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
add_action( 'init', 'mtphr_dnt_categories', 0 );
|
12 |
-
/**
|
13 |
-
* Create a category taxonomy
|
14 |
-
*
|
15 |
-
* @since 1.0.0
|
16 |
-
*/
|
17 |
-
function mtphr_dnt_categories() {
|
18 |
-
|
19 |
-
// Create labels
|
20 |
-
$labels = array(
|
21 |
-
'name' => __('Categories', 'ditty-news-ticker'),
|
22 |
-
'singular_name' => __('Category', 'ditty-news-ticker'),
|
23 |
-
'search_items' => __('Search Categories', 'ditty-news-ticker'),
|
24 |
-
'all_items' => __('All Categories', 'ditty-news-ticker'),
|
25 |
-
'parent_item' => __('Parent', 'ditty-news-ticker'),
|
26 |
-
'parent_item_colon' => __('Parent:', 'ditty-news-ticker'),
|
27 |
-
'edit_item' => __('Edit Category', 'ditty-news-ticker'),
|
28 |
-
'update_item' => __('Update Category', 'ditty-news-ticker'),
|
29 |
-
'add_new_item' => __('Add New Category', 'ditty-news-ticker'),
|
30 |
-
'new_item_name' => __('New Category', 'ditty-news-ticker'),
|
31 |
-
'menu_name' => __('Categories', 'ditty-news-ticker'),
|
32 |
-
);
|
33 |
-
|
34 |
-
// Create the arguments
|
35 |
-
$args = array(
|
36 |
-
'labels' => $labels
|
37 |
-
);
|
38 |
-
|
39 |
-
// Register the taxonomy
|
40 |
-
register_taxonomy( 'dnt_category', array( 'ditty_news_ticker' ), $args );
|
41 |
-
}
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -52,6 +52,12 @@ Each individual Ticker post has multiple settings to customize.
|
|
52 |
|
53 |
== Changelog ==
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
= 1.0.8 =
|
56 |
* Fixed bug in rotator mode with "pause on hover" activated.
|
57 |
* jQuery now loading on (window).load() instead of (document).ready(). Fixes scrolling issue in Safari.
|
@@ -97,6 +103,9 @@ Each individual Ticker post has multiple settings to customize.
|
|
97 |
|
98 |
== Upgrade Notice ==
|
99 |
|
|
|
|
|
|
|
100 |
= 1.0.8 =
|
101 |
Fixed bug in rotator mode with "pause on hover" activated. jQuery now loading on (window).load() instead of (document).ready(). Fixes scrolling issue in Safari. Added .clearfix to .mtphr-dnt-wrapper. Specifically set .mtphr-dnt-tick.clearfix to display:none to override css in certain themes. Added filters to jQuery class callbacks. Added ticker ID to jQuery class vars. Now resizing rotator ticker height on window resize.
|
102 |
|
52 |
|
53 |
== Changelog ==
|
54 |
|
55 |
+
= 1.0.9 =
|
56 |
+
* Added a checkbox to set links as rel="nofollow".
|
57 |
+
* Updated vertical scrolling for responsive sites.
|
58 |
+
* Removed "width" override for scrolling tickers.
|
59 |
+
* Added new ticker classes.
|
60 |
+
|
61 |
= 1.0.8 =
|
62 |
* Fixed bug in rotator mode with "pause on hover" activated.
|
63 |
* jQuery now loading on (window).load() instead of (document).ready(). Fixes scrolling issue in Safari.
|
103 |
|
104 |
== Upgrade Notice ==
|
105 |
|
106 |
+
= 1.0.9 =
|
107 |
+
Added a checkbox to set links as rel="nofollow". Updated vertical scrolling for responsive sites. Removed "width" override for scrolling tickers. Added new ticker classes.
|
108 |
+
|
109 |
= 1.0.8 =
|
110 |
Fixed bug in rotator mode with "pause on hover" activated. jQuery now loading on (window).load() instead of (document).ready(). Fixes scrolling issue in Safari. Added .clearfix to .mtphr-dnt-wrapper. Specifically set .mtphr-dnt-tick.clearfix to display:none to override css in certain themes. Added filters to jQuery class callbacks. Added ticker ID to jQuery class vars. Now resizing rotator ticker height on window resize.
|
111 |
|