Version Description
- Added option to use visual editors for tick content (on settings page).
- Adjusted DNT jQuery class. Converted height() & width() to outerHeight() & outerWidth()
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Ditty News Ticker |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- assets/css/style-admin.css +4 -0
- assets/js/ditty-news-ticker.js +42 -42
- ditty-news-ticker.php +3 -3
- includes/meta-boxes.php +8 -2
- includes/settings.php +8 -1
- languages/ditty-news-ticker-en_US.mo +0 -0
- languages/ditty-news-ticker-en_US.po +101 -86
- readme.txt +7 -0
assets/css/style-admin.css
CHANGED
@@ -41,4 +41,8 @@
|
|
41 |
-webkit-border-radius: 5px;
|
42 |
-moz-border-radius: 5px;
|
43 |
border-radius: 5px;
|
|
|
|
|
|
|
|
|
44 |
}
|
41 |
-webkit-border-radius: 5px;
|
42 |
-moz-border-radius: 5px;
|
43 |
border-radius: 5px;
|
44 |
+
}
|
45 |
+
|
46 |
+
.mtphr-dnt-metaboxer_mtphr_dnt_ticks-tick .wp-editor-wrap {
|
47 |
+
margin-bottom: 10px;
|
48 |
}
|
assets/js/ditty-news-ticker.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
/**
|
2 |
* Ditty News Ticker
|
3 |
-
* Date: 3/
|
4 |
*
|
5 |
* @author Metaphor Creations
|
6 |
-
* @version 1.1.
|
7 |
*
|
8 |
**/
|
9 |
|
@@ -55,7 +55,7 @@
|
|
55 |
$nav_prev = $ticker.find('.mtphr-dnt-nav-prev'),
|
56 |
$nav_next = $ticker.find('.mtphr-dnt-nav-next'),
|
57 |
$nav_controls = $ticker.siblings('.mtphr-dnt-control-links'),
|
58 |
-
ticker_width = $ticker.
|
59 |
ticker_height = 0,
|
60 |
ticks = [],
|
61 |
ticker_scroll,
|
@@ -109,8 +109,8 @@
|
|
109 |
$ticker.find('.mtphr-dnt-tick').each( function(index) {
|
110 |
|
111 |
// Find the greatest tick height
|
112 |
-
if( $(this).
|
113 |
-
ticker_height = $(this).
|
114 |
}
|
115 |
|
116 |
if( settings.scroll_direction == 'up' || settings.scroll_direction == 'down' ) {
|
@@ -333,7 +333,7 @@
|
|
333 |
break;
|
334 |
|
335 |
case 'right':
|
336 |
-
position = parseInt('-'+($tick.
|
337 |
if( ticks[i][0].visible == false ) {
|
338 |
$tick.css('left',position+'px');
|
339 |
}
|
@@ -353,7 +353,7 @@
|
|
353 |
if( ticker_scroll_resize ) {
|
354 |
$tick.css('width',ticker_width);
|
355 |
}
|
356 |
-
position = parseInt('-'+($tick.
|
357 |
if( ticks[i][0].visible == false ) {
|
358 |
$tick.css('top',position+'px');
|
359 |
}
|
@@ -361,8 +361,8 @@
|
|
361 |
}
|
362 |
|
363 |
// Adjust the tick data
|
364 |
-
ticks[i][0].width = $tick.
|
365 |
-
ticks[i][0].height = $tick.
|
366 |
if( ticks[i][0].visible == false ) {
|
367 |
ticks[i][0].position = position;
|
368 |
}
|
@@ -388,7 +388,7 @@
|
|
388 |
break;
|
389 |
|
390 |
case 'right':
|
391 |
-
position = parseInt('-'+($tick.
|
392 |
$tick.stop(true,true).css('left',position+'px');
|
393 |
break;
|
394 |
|
@@ -404,13 +404,13 @@
|
|
404 |
if( ticker_scroll_resize ) {
|
405 |
$tick.css('width',ticker_width);
|
406 |
}
|
407 |
-
position = parseInt('-'+($tick.
|
408 |
$tick.stop(true,true).css('top',position+'px');
|
409 |
break;
|
410 |
}
|
411 |
|
412 |
-
ticks[i][0].width = $tick.
|
413 |
-
ticks[i][0].height = $tick.
|
414 |
ticks[i][0].position = position;
|
415 |
ticks[i][0].reset = position;
|
416 |
ticks[i][0].visible = false;
|
@@ -593,7 +593,7 @@
|
|
593 |
}
|
594 |
|
595 |
// Resize the ticker
|
596 |
-
var h = $(ticks[vars.current_tick]).
|
597 |
$ticker.stop().css( 'height', h+'px' );
|
598 |
}
|
599 |
|
@@ -611,8 +611,8 @@
|
|
611 |
$tick = ticks[0];
|
612 |
|
613 |
// Find the width of the tick
|
614 |
-
var w = $tick.parents('.mtphr-dnt-rotate').
|
615 |
-
var h = $tick.
|
616 |
|
617 |
// Set the height of the ticker
|
618 |
$ticker.css( 'height', h+'px' );
|
@@ -625,7 +625,7 @@
|
|
625 |
function mtphr_dnt_rotator_fade_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
626 |
$tick.fadeIn( rotate_speed );
|
627 |
|
628 |
-
var h = $tick.
|
629 |
|
630 |
// Resize the ticker
|
631 |
$ticker.stop().animate( {
|
@@ -653,8 +653,8 @@
|
|
653 |
$tick = ticks[0];
|
654 |
|
655 |
// Find the dimensions of the tick
|
656 |
-
var w = $tick.parents('.mtphr-dnt-rotate').
|
657 |
-
var h = $tick.
|
658 |
|
659 |
// Set the height of the ticker
|
660 |
$ticker.css( 'height', h+'px' );
|
@@ -671,7 +671,7 @@
|
|
671 |
jQuery(this).load( function() {
|
672 |
|
673 |
// Find the height of the tick
|
674 |
-
var h = $tick.
|
675 |
|
676 |
// Set the height of the ticker
|
677 |
$ticker.css( 'height', h+'px' );
|
@@ -684,8 +684,8 @@
|
|
684 |
function mtphr_dnt_rotator_slide_left_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
685 |
|
686 |
// Find the dimensions of the tick
|
687 |
-
var w = $tick.parents('.mtphr-dnt-rotate').
|
688 |
-
var h = $tick.
|
689 |
|
690 |
// Set the initial position of the width & make sure it's visible
|
691 |
$tick.css( 'left', parseFloat(w+offset)+'px' );
|
@@ -708,8 +708,8 @@
|
|
708 |
function mtphr_dnt_rotator_slide_left_out( $ticker, $tick, $next, rotate_speed, ease ) {
|
709 |
|
710 |
// Find the dimensions of the tick
|
711 |
-
var w = $tick.parents('.mtphr-dnt-rotate').
|
712 |
-
var h = $tick.
|
713 |
|
714 |
// Slide the tick in
|
715 |
$tick.stop().animate( {
|
@@ -734,8 +734,8 @@
|
|
734 |
$tick = ticks[0];
|
735 |
|
736 |
// Find the dimensions of the tick
|
737 |
-
var w = $tick.parents('.mtphr-dnt-rotate').
|
738 |
-
var h = $tick.
|
739 |
|
740 |
// Set the height of the ticker
|
741 |
$ticker.css( 'height', h+'px' );
|
@@ -752,7 +752,7 @@
|
|
752 |
jQuery(this).load( function() {
|
753 |
|
754 |
// Find the height of the tick
|
755 |
-
var h = $tick.
|
756 |
|
757 |
// Set the height of the ticker
|
758 |
$ticker.css( 'height', h+'px' );
|
@@ -765,8 +765,8 @@
|
|
765 |
function mtphr_dnt_rotator_slide_right_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
766 |
|
767 |
// Find the dimensions of the tick
|
768 |
-
var w = $tick.parents('.mtphr-dnt-rotate').
|
769 |
-
var h = $tick.
|
770 |
|
771 |
// Set the initial position of the width & make sure it's visible
|
772 |
$tick.css( 'left', '-'+parseFloat(w+offset)+'px' );
|
@@ -789,8 +789,8 @@
|
|
789 |
function mtphr_dnt_rotator_slide_right_out( $ticker, $tick, $next, rotate_speed, ease ) {
|
790 |
|
791 |
// Find the dimensions of the tick
|
792 |
-
var w = $tick.parents('.mtphr-dnt-rotate').
|
793 |
-
var h = $tick.
|
794 |
|
795 |
// Slide the tick in
|
796 |
$tick.stop().animate( {
|
@@ -815,7 +815,7 @@
|
|
815 |
$tick = ticks[0];
|
816 |
|
817 |
// Find the height of the tick
|
818 |
-
var h = $tick.
|
819 |
|
820 |
// Set the height of the ticker
|
821 |
$ticker.css( 'height', h+'px' );
|
@@ -832,7 +832,7 @@
|
|
832 |
jQuery(this).load( function() {
|
833 |
|
834 |
// Find the height of the tick
|
835 |
-
var h = $tick.
|
836 |
|
837 |
// Set the height of the ticker
|
838 |
$ticker.css( 'height', h+'px' );
|
@@ -845,7 +845,7 @@
|
|
845 |
function mtphr_dnt_rotator_slide_down_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
846 |
|
847 |
// Find the height of the tick
|
848 |
-
var h = $tick.
|
849 |
|
850 |
// Set the initial position of the width & make sure it's visible
|
851 |
$tick.css( 'top', '-'+parseFloat(h+offset)+'px' );
|
@@ -868,7 +868,7 @@
|
|
868 |
function mtphr_dnt_rotator_slide_down_out( $ticker, $tick, $next, rotate_speed, ease ) {
|
869 |
|
870 |
// Find the height of the next tick
|
871 |
-
var h = $next.
|
872 |
|
873 |
// Slide the tick in
|
874 |
$tick.stop().animate( {
|
@@ -893,7 +893,7 @@
|
|
893 |
$tick = ticks[0];
|
894 |
|
895 |
// Find the height of the tick
|
896 |
-
var h = $tick.
|
897 |
|
898 |
// Set the height of the ticker
|
899 |
$ticker.css( 'height', h+'px' );
|
@@ -910,7 +910,7 @@
|
|
910 |
jQuery(this).load( function() {
|
911 |
|
912 |
// Find the height of the tick
|
913 |
-
var h = $tick.
|
914 |
|
915 |
// Set the height of the ticker
|
916 |
$ticker.css( 'height', h+'px' );
|
@@ -923,10 +923,10 @@
|
|
923 |
function mtphr_dnt_rotator_slide_up_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
924 |
|
925 |
// Find the height of the tick
|
926 |
-
var h = $tick.
|
927 |
|
928 |
// Set the initial position of the width & make sure it's visible
|
929 |
-
$tick.css( 'top', parseFloat($prev.
|
930 |
$tick.show();
|
931 |
|
932 |
// Resize the ticker
|
@@ -946,7 +946,7 @@
|
|
946 |
function mtphr_dnt_rotator_slide_up_out( $ticker, $tick, $next, rotate_speed, ease ) {
|
947 |
|
948 |
// Find the height of the next tick
|
949 |
-
var h = $tick.
|
950 |
|
951 |
// Slide the tick in
|
952 |
$tick.stop().animate( {
|
@@ -1055,9 +1055,9 @@
|
|
1055 |
$(window).resize( function() {
|
1056 |
|
1057 |
// Resize the tickers if the width is different
|
1058 |
-
if( $ticker.
|
1059 |
|
1060 |
-
ticker_width = $ticker.
|
1061 |
|
1062 |
if( settings.type == 'scroll' ) {
|
1063 |
if( settings.scroll_direction=='up' || settings.scroll_direction=='down' ) {
|
1 |
/**
|
2 |
* Ditty News Ticker
|
3 |
+
* Date: 3/21/2013
|
4 |
*
|
5 |
* @author Metaphor Creations
|
6 |
+
* @version 1.1.3
|
7 |
*
|
8 |
**/
|
9 |
|
55 |
$nav_prev = $ticker.find('.mtphr-dnt-nav-prev'),
|
56 |
$nav_next = $ticker.find('.mtphr-dnt-nav-next'),
|
57 |
$nav_controls = $ticker.siblings('.mtphr-dnt-control-links'),
|
58 |
+
ticker_width = $ticker.outerWidth(),
|
59 |
ticker_height = 0,
|
60 |
ticks = [],
|
61 |
ticker_scroll,
|
109 |
$ticker.find('.mtphr-dnt-tick').each( function(index) {
|
110 |
|
111 |
// Find the greatest tick height
|
112 |
+
if( $(this).outerHeight() > ticker_height ) {
|
113 |
+
ticker_height = $(this).outerHeight();
|
114 |
}
|
115 |
|
116 |
if( settings.scroll_direction == 'up' || settings.scroll_direction == 'down' ) {
|
333 |
break;
|
334 |
|
335 |
case 'right':
|
336 |
+
position = parseInt('-'+($tick.outerWidth()+offset));
|
337 |
if( ticks[i][0].visible == false ) {
|
338 |
$tick.css('left',position+'px');
|
339 |
}
|
353 |
if( ticker_scroll_resize ) {
|
354 |
$tick.css('width',ticker_width);
|
355 |
}
|
356 |
+
position = parseInt('-'+($tick.outerHeight()+offset));
|
357 |
if( ticks[i][0].visible == false ) {
|
358 |
$tick.css('top',position+'px');
|
359 |
}
|
361 |
}
|
362 |
|
363 |
// Adjust the tick data
|
364 |
+
ticks[i][0].width = $tick.outerWidth();
|
365 |
+
ticks[i][0].height = $tick.outerHeight();
|
366 |
if( ticks[i][0].visible == false ) {
|
367 |
ticks[i][0].position = position;
|
368 |
}
|
388 |
break;
|
389 |
|
390 |
case 'right':
|
391 |
+
position = parseInt('-'+($tick.outerWidth()+offset));
|
392 |
$tick.stop(true,true).css('left',position+'px');
|
393 |
break;
|
394 |
|
404 |
if( ticker_scroll_resize ) {
|
405 |
$tick.css('width',ticker_width);
|
406 |
}
|
407 |
+
position = parseInt('-'+($tick.outerHeight()+offset));
|
408 |
$tick.stop(true,true).css('top',position+'px');
|
409 |
break;
|
410 |
}
|
411 |
|
412 |
+
ticks[i][0].width = $tick.outerWidth();
|
413 |
+
ticks[i][0].height = $tick.outerHeight();
|
414 |
ticks[i][0].position = position;
|
415 |
ticks[i][0].reset = position;
|
416 |
ticks[i][0].visible = false;
|
593 |
}
|
594 |
|
595 |
// Resize the ticker
|
596 |
+
var h = $(ticks[vars.current_tick]).outerHeight();
|
597 |
$ticker.stop().css( 'height', h+'px' );
|
598 |
}
|
599 |
|
611 |
$tick = ticks[0];
|
612 |
|
613 |
// Find the width of the tick
|
614 |
+
var w = $tick.parents('.mtphr-dnt-rotate').outerWidth();
|
615 |
+
var h = $tick.outerHeight();
|
616 |
|
617 |
// Set the height of the ticker
|
618 |
$ticker.css( 'height', h+'px' );
|
625 |
function mtphr_dnt_rotator_fade_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
626 |
$tick.fadeIn( rotate_speed );
|
627 |
|
628 |
+
var h = $tick.outerHeight();
|
629 |
|
630 |
// Resize the ticker
|
631 |
$ticker.stop().animate( {
|
653 |
$tick = ticks[0];
|
654 |
|
655 |
// Find the dimensions of the tick
|
656 |
+
var w = $tick.parents('.mtphr-dnt-rotate').outerWidth();
|
657 |
+
var h = $tick.outerHeight();
|
658 |
|
659 |
// Set the height of the ticker
|
660 |
$ticker.css( 'height', h+'px' );
|
671 |
jQuery(this).load( function() {
|
672 |
|
673 |
// Find the height of the tick
|
674 |
+
var h = $tick.outerHeight();
|
675 |
|
676 |
// Set the height of the ticker
|
677 |
$ticker.css( 'height', h+'px' );
|
684 |
function mtphr_dnt_rotator_slide_left_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
685 |
|
686 |
// Find the dimensions of the tick
|
687 |
+
var w = $tick.parents('.mtphr-dnt-rotate').outerWidth();
|
688 |
+
var h = $tick.outerHeight();
|
689 |
|
690 |
// Set the initial position of the width & make sure it's visible
|
691 |
$tick.css( 'left', parseFloat(w+offset)+'px' );
|
708 |
function mtphr_dnt_rotator_slide_left_out( $ticker, $tick, $next, rotate_speed, ease ) {
|
709 |
|
710 |
// Find the dimensions of the tick
|
711 |
+
var w = $tick.parents('.mtphr-dnt-rotate').outerWidth();
|
712 |
+
var h = $tick.outerHeight();
|
713 |
|
714 |
// Slide the tick in
|
715 |
$tick.stop().animate( {
|
734 |
$tick = ticks[0];
|
735 |
|
736 |
// Find the dimensions of the tick
|
737 |
+
var w = $tick.parents('.mtphr-dnt-rotate').outerWidth();
|
738 |
+
var h = $tick.outerHeight();
|
739 |
|
740 |
// Set the height of the ticker
|
741 |
$ticker.css( 'height', h+'px' );
|
752 |
jQuery(this).load( function() {
|
753 |
|
754 |
// Find the height of the tick
|
755 |
+
var h = $tick.outerHeight();
|
756 |
|
757 |
// Set the height of the ticker
|
758 |
$ticker.css( 'height', h+'px' );
|
765 |
function mtphr_dnt_rotator_slide_right_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
766 |
|
767 |
// Find the dimensions of the tick
|
768 |
+
var w = $tick.parents('.mtphr-dnt-rotate').outerWidth();
|
769 |
+
var h = $tick.outerHeight();
|
770 |
|
771 |
// Set the initial position of the width & make sure it's visible
|
772 |
$tick.css( 'left', '-'+parseFloat(w+offset)+'px' );
|
789 |
function mtphr_dnt_rotator_slide_right_out( $ticker, $tick, $next, rotate_speed, ease ) {
|
790 |
|
791 |
// Find the dimensions of the tick
|
792 |
+
var w = $tick.parents('.mtphr-dnt-rotate').outerWidth();
|
793 |
+
var h = $tick.outerHeight();
|
794 |
|
795 |
// Slide the tick in
|
796 |
$tick.stop().animate( {
|
815 |
$tick = ticks[0];
|
816 |
|
817 |
// Find the height of the tick
|
818 |
+
var h = $tick.outerHeight();
|
819 |
|
820 |
// Set the height of the ticker
|
821 |
$ticker.css( 'height', h+'px' );
|
832 |
jQuery(this).load( function() {
|
833 |
|
834 |
// Find the height of the tick
|
835 |
+
var h = $tick.outerHeight();
|
836 |
|
837 |
// Set the height of the ticker
|
838 |
$ticker.css( 'height', h+'px' );
|
845 |
function mtphr_dnt_rotator_slide_down_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
846 |
|
847 |
// Find the height of the tick
|
848 |
+
var h = $tick.outerHeight();
|
849 |
|
850 |
// Set the initial position of the width & make sure it's visible
|
851 |
$tick.css( 'top', '-'+parseFloat(h+offset)+'px' );
|
868 |
function mtphr_dnt_rotator_slide_down_out( $ticker, $tick, $next, rotate_speed, ease ) {
|
869 |
|
870 |
// Find the height of the next tick
|
871 |
+
var h = $next.outerHeight();
|
872 |
|
873 |
// Slide the tick in
|
874 |
$tick.stop().animate( {
|
893 |
$tick = ticks[0];
|
894 |
|
895 |
// Find the height of the tick
|
896 |
+
var h = $tick.outerHeight();
|
897 |
|
898 |
// Set the height of the ticker
|
899 |
$ticker.css( 'height', h+'px' );
|
910 |
jQuery(this).load( function() {
|
911 |
|
912 |
// Find the height of the tick
|
913 |
+
var h = $tick.outerHeight();
|
914 |
|
915 |
// Set the height of the ticker
|
916 |
$ticker.css( 'height', h+'px' );
|
923 |
function mtphr_dnt_rotator_slide_up_in( $ticker, $tick, $prev, rotate_speed, ease ) {
|
924 |
|
925 |
// Find the height of the tick
|
926 |
+
var h = $tick.outerHeight();
|
927 |
|
928 |
// Set the initial position of the width & make sure it's visible
|
929 |
+
$tick.css( 'top', parseFloat($prev.outerHeight()+offset)+'px' );
|
930 |
$tick.show();
|
931 |
|
932 |
// Resize the ticker
|
946 |
function mtphr_dnt_rotator_slide_up_out( $ticker, $tick, $next, rotate_speed, ease ) {
|
947 |
|
948 |
// Find the height of the next tick
|
949 |
+
var h = $tick.outerHeight();
|
950 |
|
951 |
// Slide the tick in
|
952 |
$tick.stop().animate( {
|
1055 |
$(window).resize( function() {
|
1056 |
|
1057 |
// Resize the tickers if the width is different
|
1058 |
+
if( $ticker.outerWidth() != ticker_width ) {
|
1059 |
|
1060 |
+
ticker_width = $ticker.outerWidth();
|
1061 |
|
1062 |
if( settings.type == 'scroll' ) {
|
1063 |
if( settings.scroll_direction=='up' || settings.scroll_direction=='down' ) {
|
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
|
@@ -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.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.3
|
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.1.3-'.time() );
|
49 |
} else {
|
50 |
+
define ( 'MTPHR_DNT_VERSION', '1.1.3' );
|
51 |
}
|
52 |
define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
|
53 |
define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
|
includes/meta-boxes.php
CHANGED
@@ -48,16 +48,22 @@ add_action( 'admin_init', 'mtphr_dnt_metabox_type_default' );
|
|
48 |
/**
|
49 |
* Create the default type metabox.
|
50 |
*
|
51 |
-
* @since 1.
|
52 |
*/
|
53 |
function mtphr_dnt_metabox_type_default() {
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
// Create an array to store the default item structure
|
56 |
$tick_structure = array(
|
57 |
'tick' => array(
|
58 |
'header' => __('Ticker text', 'ditty-news-ticker'),
|
59 |
'width' => '60%',
|
60 |
-
'type' =>
|
61 |
'rows' => 2
|
62 |
),
|
63 |
'link' => array(
|
48 |
/**
|
49 |
* Create the default type metabox.
|
50 |
*
|
51 |
+
* @since 1.1.3
|
52 |
*/
|
53 |
function mtphr_dnt_metabox_type_default() {
|
54 |
|
55 |
+
$tick_type = 'textarea';
|
56 |
+
$settings = get_option( 'mtphr_dnt_general_settings' );
|
57 |
+
if( $settings && isset($settings['wysiwyg']) ) {
|
58 |
+
$tick_type = 'wysiwyg';
|
59 |
+
}
|
60 |
+
|
61 |
// Create an array to store the default item structure
|
62 |
$tick_structure = array(
|
63 |
'tick' => array(
|
64 |
'header' => __('Ticker text', 'ditty-news-ticker'),
|
65 |
'width' => '60%',
|
66 |
+
'type' => $tick_type,
|
67 |
'rows' => 2
|
68 |
),
|
69 |
'link' => array(
|
includes/settings.php
CHANGED
@@ -33,7 +33,7 @@ add_action( 'admin_init', 'mtphr_dnt_initialize_settings' );
|
|
33 |
/**
|
34 |
* Setup the custom options for the settings page
|
35 |
*
|
36 |
-
* @since 1.
|
37 |
*/
|
38 |
function mtphr_dnt_initialize_settings() {
|
39 |
|
@@ -42,6 +42,13 @@ function mtphr_dnt_initialize_settings() {
|
|
42 |
*/
|
43 |
$settings = array();
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
$settings['css'] = array(
|
46 |
'title' => __( 'Custom CSS', 'ditty-news-ticker' ),
|
47 |
'type' => 'textarea',
|
33 |
/**
|
34 |
* Setup the custom options for the settings page
|
35 |
*
|
36 |
+
* @since 1.1.3
|
37 |
*/
|
38 |
function mtphr_dnt_initialize_settings() {
|
39 |
|
42 |
*/
|
43 |
$settings = array();
|
44 |
|
45 |
+
$settings['wysiwyg'] = array(
|
46 |
+
'title' => __( 'Visual Editor', 'ditty-news-ticker' ),
|
47 |
+
'type' => 'checkbox',
|
48 |
+
'label' => __( 'Use the visual editor for ticks', 'ditty-news-ticker' ),
|
49 |
+
'description' => __( '*The content in the visual editors will disappear after re-arranging ticks. That content will re-populate after resaving the ticker.', 'ditty-news-ticker' )
|
50 |
+
);
|
51 |
+
|
52 |
$settings['css'] = array(
|
53 |
'title' => __( 'Custom CSS', 'ditty-news-ticker' ),
|
54 |
'type' => 'textarea',
|
languages/ditty-news-ticker-en_US.mo
CHANGED
Binary file
|
languages/ditty-news-ticker-en_US.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Ditty News Ticker v1.1.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2013-03-
|
7 |
"Last-Translator: admin <joe@metaphorcreations.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -31,7 +31,7 @@ msgid "Mode"
|
|
31 |
msgstr "Mode"
|
32 |
|
33 |
#: includes/edit-columns.php:25
|
34 |
-
#: includes/meta-boxes.php:
|
35 |
#@ ditty-news-ticker
|
36 |
msgid "Shortcode"
|
37 |
msgstr "Shortcode"
|
@@ -122,344 +122,344 @@ msgstr "Ticker Type"
|
|
122 |
msgid "View all types"
|
123 |
msgstr "View all types"
|
124 |
|
125 |
-
#: includes/meta-boxes.php:
|
126 |
#@ ditty-news-ticker
|
127 |
msgid "Ticker text"
|
128 |
msgstr "Ticker text"
|
129 |
|
130 |
-
#: includes/meta-boxes.php:
|
131 |
#@ ditty-news-ticker
|
132 |
msgid "Link"
|
133 |
msgstr "Link"
|
134 |
|
135 |
-
#: includes/meta-boxes.php:
|
136 |
#@ ditty-news-ticker
|
137 |
msgid "Target"
|
138 |
msgstr "Target"
|
139 |
|
140 |
-
#: includes/meta-boxes.php:
|
141 |
#@ ditty-news-ticker
|
142 |
msgid "Default Ticker Items"
|
143 |
msgstr "Default Ticker Items"
|
144 |
|
145 |
-
#: includes/meta-boxes.php:
|
146 |
#@ ditty-news-ticker
|
147 |
msgid "Ticker Mode"
|
148 |
msgstr "Ticker Mode"
|
149 |
|
150 |
-
#: includes/meta-boxes.php:
|
151 |
#@ ditty-news-ticker
|
152 |
msgid "Scroll direction"
|
153 |
msgstr "Scroll direction"
|
154 |
|
155 |
-
#: includes/meta-boxes.php:
|
156 |
#@ ditty-news-ticker
|
157 |
msgid "Left"
|
158 |
msgstr "Left"
|
159 |
|
160 |
-
#: includes/meta-boxes.php:
|
161 |
#@ ditty-news-ticker
|
162 |
msgid "Right"
|
163 |
msgstr "Right"
|
164 |
|
165 |
-
#: includes/meta-boxes.php:
|
166 |
#@ ditty-news-ticker
|
167 |
msgid "Up"
|
168 |
msgstr "Up"
|
169 |
|
170 |
-
#: includes/meta-boxes.php:
|
171 |
#@ ditty-news-ticker
|
172 |
msgid "Down"
|
173 |
msgstr "Down"
|
174 |
|
175 |
-
#: includes/meta-boxes.php:
|
176 |
#@ ditty-news-ticker
|
177 |
msgid "Set the scroll direction of the ticker."
|
178 |
msgstr "Set the scroll direction of the ticker."
|
179 |
|
180 |
-
#: includes/meta-boxes.php:
|
181 |
-
#: includes/meta-boxes.php:
|
182 |
#@ ditty-news-ticker
|
183 |
msgid "Tick dimensions"
|
184 |
msgstr "Tick dimensions"
|
185 |
|
186 |
-
#: includes/meta-boxes.php:
|
187 |
#@ ditty-news-ticker
|
188 |
msgid "Width"
|
189 |
msgstr "Width"
|
190 |
|
191 |
-
#: includes/meta-boxes.php:
|
192 |
-
#: includes/meta-boxes.php:
|
193 |
#@ ditty-news-ticker
|
194 |
msgid "Override the auto dimensions with specific values."
|
195 |
msgstr "Override the auto dimensions with specific values."
|
196 |
|
197 |
-
#: includes/meta-boxes.php:
|
198 |
-
#: includes/meta-boxes.php:
|
199 |
#@ ditty-news-ticker
|
200 |
msgid "Height"
|
201 |
msgstr "Height"
|
202 |
|
203 |
-
#: includes/meta-boxes.php:
|
204 |
#@ ditty-news-ticker
|
205 |
msgid "Scroller padding"
|
206 |
msgstr "Scroller padding"
|
207 |
|
208 |
-
#: includes/meta-boxes.php:
|
209 |
-
#: includes/meta-boxes.php:
|
210 |
-
#: includes/meta-boxes.php:
|
211 |
#@ ditty-news-ticker
|
212 |
msgid "Vertical padding"
|
213 |
msgstr "Vertical padding"
|
214 |
|
215 |
-
#: includes/meta-boxes.php:
|
216 |
#@ ditty-news-ticker
|
217 |
msgid "Set the vertical spacing of the scrolling data."
|
218 |
msgstr "Set the vertical spacing of the scrolling data."
|
219 |
|
220 |
-
#: includes/meta-boxes.php:
|
221 |
-
#: includes/meta-boxes.php:
|
222 |
-
#: includes/meta-boxes.php:
|
223 |
#@ ditty-news-ticker
|
224 |
msgid "Vertical margin"
|
225 |
msgstr "Vertical margin"
|
226 |
|
227 |
-
#: includes/meta-boxes.php:
|
228 |
#@ ditty-news-ticker
|
229 |
msgid "Scroll speed"
|
230 |
msgstr "Scroll speed"
|
231 |
|
232 |
-
#: includes/meta-boxes.php:
|
233 |
#@ ditty-news-ticker
|
234 |
msgid "Set the speed of the scrolling data."
|
235 |
msgstr "Set the speed of the scrolling data."
|
236 |
|
237 |
-
#: includes/meta-boxes.php:
|
238 |
-
#: includes/meta-boxes.php:
|
239 |
#@ ditty-news-ticker
|
240 |
msgid "Pause on mouse over"
|
241 |
msgstr "Pause on mouse over"
|
242 |
|
243 |
-
#: includes/meta-boxes.php:
|
244 |
-
#: includes/meta-boxes.php:
|
245 |
#@ ditty-news-ticker
|
246 |
msgid "Tick spacing"
|
247 |
msgstr "Tick spacing"
|
248 |
|
249 |
-
#: includes/meta-boxes.php:
|
250 |
-
#: includes/meta-boxes.php:
|
251 |
#@ ditty-news-ticker
|
252 |
msgid "Pixels"
|
253 |
msgstr "Pixels"
|
254 |
|
255 |
-
#: includes/meta-boxes.php:
|
256 |
#@ ditty-news-ticker
|
257 |
msgid "Set the spacing between scrolling data."
|
258 |
msgstr "Set the spacing between scrolling data."
|
259 |
|
260 |
-
#: includes/meta-boxes.php:
|
261 |
#@ ditty-news-ticker
|
262 |
msgid "Scroll Settings"
|
263 |
msgstr "Scroll Settings"
|
264 |
|
265 |
-
#: includes/meta-boxes.php:
|
266 |
#@ ditty-news-ticker
|
267 |
msgid "Rotation type"
|
268 |
msgstr "Rotation type"
|
269 |
|
270 |
-
#: includes/meta-boxes.php:
|
271 |
#@ ditty-news-ticker
|
272 |
msgid "Fade"
|
273 |
msgstr "Fade"
|
274 |
|
275 |
-
#: includes/meta-boxes.php:
|
276 |
#@ ditty-news-ticker
|
277 |
msgid "Slide left"
|
278 |
msgstr "Slide left"
|
279 |
|
280 |
-
#: includes/meta-boxes.php:
|
281 |
#@ ditty-news-ticker
|
282 |
msgid "Slide right"
|
283 |
msgstr "Slide right"
|
284 |
|
285 |
-
#: includes/meta-boxes.php:
|
286 |
#@ ditty-news-ticker
|
287 |
msgid "Slide up"
|
288 |
msgstr "Slide up"
|
289 |
|
290 |
-
#: includes/meta-boxes.php:
|
291 |
#@ ditty-news-ticker
|
292 |
msgid "Slide down"
|
293 |
msgstr "Slide down"
|
294 |
|
295 |
-
#: includes/meta-boxes.php:
|
296 |
#@ ditty-news-ticker
|
297 |
msgid "Set the type of rotation for the ticker."
|
298 |
msgstr "Set the type of rotation for the ticker."
|
299 |
|
300 |
-
#: includes/meta-boxes.php:
|
301 |
#@ ditty-news-ticker
|
302 |
msgid "Dynamic slide direction"
|
303 |
msgstr "Dynamic slide direction"
|
304 |
|
305 |
-
#: includes/meta-boxes.php:
|
306 |
#@ ditty-news-ticker
|
307 |
msgid "Rotator padding"
|
308 |
msgstr "Rotator padding"
|
309 |
|
310 |
-
#: includes/meta-boxes.php:
|
311 |
#@ ditty-news-ticker
|
312 |
msgid "Set the vertical spacing of the rotating data."
|
313 |
msgstr "Set the vertical spacing of the rotating data."
|
314 |
|
315 |
-
#: includes/meta-boxes.php:
|
316 |
#@ ditty-news-ticker
|
317 |
msgid "Auto rotate"
|
318 |
msgstr "Auto rotate"
|
319 |
|
320 |
-
#: includes/meta-boxes.php:
|
321 |
-
#: includes/meta-boxes.php:
|
322 |
-
#: includes/meta-boxes.php:
|
323 |
#@ ditty-news-ticker
|
324 |
msgid "Enable"
|
325 |
msgstr "Enable"
|
326 |
|
327 |
-
#: includes/meta-boxes.php:
|
328 |
#@ ditty-news-ticker
|
329 |
msgid "Set the delay between rotations."
|
330 |
msgstr "Set the delay between rotations."
|
331 |
|
332 |
-
#: includes/meta-boxes.php:
|
333 |
#@ ditty-news-ticker
|
334 |
msgid "Seconds delay"
|
335 |
msgstr "Seconds delay"
|
336 |
|
337 |
-
#: includes/meta-boxes.php:
|
338 |
#@ ditty-news-ticker
|
339 |
msgid "Rotate speed"
|
340 |
msgstr "Rotate speed"
|
341 |
|
342 |
-
#: includes/meta-boxes.php:
|
343 |
#@ ditty-news-ticker
|
344 |
msgid "Tenths of a second"
|
345 |
msgstr "Tenths of a second"
|
346 |
|
347 |
-
#: includes/meta-boxes.php:
|
348 |
#@ ditty-news-ticker
|
349 |
msgid "Set the speed & easing of the rotation."
|
350 |
msgstr "Set the speed & easing of the rotation."
|
351 |
|
352 |
-
#: includes/meta-boxes.php:
|
353 |
#@ ditty-news-ticker
|
354 |
msgid "Directional navigation"
|
355 |
msgstr "Directional navigation"
|
356 |
|
357 |
-
#: includes/meta-boxes.php:
|
358 |
#@ ditty-news-ticker
|
359 |
msgid "Set the directional navigation options."
|
360 |
msgstr "Set the directional navigation options."
|
361 |
|
362 |
-
#: includes/meta-boxes.php:
|
363 |
#@ ditty-news-ticker
|
364 |
msgid "Autohide navigation"
|
365 |
msgstr "Autohide navigation"
|
366 |
|
367 |
-
#: includes/meta-boxes.php:
|
368 |
#@ ditty-news-ticker
|
369 |
msgid "Control navigation"
|
370 |
msgstr "Control navigation"
|
371 |
|
372 |
-
#: includes/meta-boxes.php:
|
373 |
#@ ditty-news-ticker
|
374 |
msgid "Set the control navigation options."
|
375 |
msgstr "Set the control navigation options."
|
376 |
|
377 |
-
#: includes/meta-boxes.php:
|
378 |
#@ ditty-news-ticker
|
379 |
msgid "Numbers"
|
380 |
msgstr "Numbers"
|
381 |
|
382 |
-
#: includes/meta-boxes.php:
|
383 |
#@ ditty-news-ticker
|
384 |
msgid "Buttons"
|
385 |
msgstr "Buttons"
|
386 |
|
387 |
-
#: includes/meta-boxes.php:
|
388 |
#@ ditty-news-ticker
|
389 |
msgid "Rotate Settings"
|
390 |
msgstr "Rotate Settings"
|
391 |
|
392 |
-
#: includes/meta-boxes.php:
|
393 |
#@ ditty-news-ticker
|
394 |
msgid "List padding"
|
395 |
msgstr "List padding"
|
396 |
|
397 |
-
#: includes/meta-boxes.php:
|
398 |
#@ ditty-news-ticker
|
399 |
msgid "Set the vertical spacing of the list container."
|
400 |
msgstr "Set the vertical spacing of the list container."
|
401 |
|
402 |
-
#: includes/meta-boxes.php:
|
403 |
#@ ditty-news-ticker
|
404 |
msgid "Set the spacing between ticks."
|
405 |
msgstr "Set the spacing between ticks."
|
406 |
|
407 |
-
#: includes/meta-boxes.php:
|
408 |
#@ ditty-news-ticker
|
409 |
msgid "List Settings"
|
410 |
msgstr "List Settings"
|
411 |
|
412 |
-
#: includes/meta-boxes.php:
|
413 |
#@ ditty-news-ticker
|
414 |
msgid "Display title"
|
415 |
msgstr "Display title"
|
416 |
|
417 |
-
#: includes/meta-boxes.php:
|
418 |
#@ ditty-news-ticker
|
419 |
msgid "Inline title"
|
420 |
msgstr "Inline title"
|
421 |
|
422 |
-
#: includes/meta-boxes.php:
|
423 |
#@ ditty-news-ticker
|
424 |
msgid "Ticker width <em>(optional)</em>"
|
425 |
msgstr "Ticker width <em>(optional)</em>"
|
426 |
|
427 |
-
#: includes/meta-boxes.php:
|
428 |
#@ ditty-news-ticker
|
429 |
msgid "Override the auto width a with specific value."
|
430 |
msgstr "Override the auto width a with specific value."
|
431 |
|
432 |
-
#: includes/meta-boxes.php:
|
433 |
#@ ditty-news-ticker
|
434 |
msgid "Global Settings"
|
435 |
msgstr "Global Settings"
|
436 |
|
437 |
-
#: includes/meta-boxes.php:
|
438 |
#@ ditty-news-ticker
|
439 |
msgid "Select Shortcode"
|
440 |
msgstr "Select Shortcode"
|
441 |
|
442 |
-
#: includes/meta-boxes.php:
|
443 |
#@ ditty-news-ticker
|
444 |
msgid "Use this shortcode to insert the ticker into a post/page."
|
445 |
msgstr "Use this shortcode to insert the ticker into a post/page."
|
446 |
|
447 |
-
#: includes/meta-boxes.php:
|
448 |
#@ ditty-news-ticker
|
449 |
msgid "Direct function"
|
450 |
msgstr "Direct function"
|
451 |
|
452 |
-
#: includes/meta-boxes.php:
|
453 |
#@ ditty-news-ticker
|
454 |
msgid "Select Function"
|
455 |
msgstr "Select Function"
|
456 |
|
457 |
-
#: includes/meta-boxes.php:
|
458 |
#@ ditty-news-ticker
|
459 |
msgid "Place this code directly into your theme to display the ticker."
|
460 |
msgstr "Place this code directly into your theme to display the ticker."
|
461 |
|
462 |
-
#: includes/meta-boxes.php:
|
463 |
#@ ditty-news-ticker
|
464 |
msgid "Ticker Display"
|
465 |
msgstr "Ticker Display"
|
@@ -531,17 +531,17 @@ msgstr "Ditty News Ticker Updated!"
|
|
531 |
msgid "Settings"
|
532 |
msgstr "Settings"
|
533 |
|
534 |
-
#: includes/settings.php:
|
535 |
#@ ditty-news-ticker
|
536 |
msgid "Custom CSS"
|
537 |
msgstr "Custom CSS"
|
538 |
|
539 |
-
#: includes/settings.php:
|
540 |
#@ ditty-news-ticker
|
541 |
msgid "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
|
542 |
msgstr "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
|
543 |
|
544 |
-
#: includes/settings.php:
|
545 |
#@ ditty-news-ticker
|
546 |
msgid "Ditty News Ticker Settings"
|
547 |
msgstr "Ditty News Ticker Settings"
|
@@ -571,13 +571,28 @@ msgstr "Display Ticker Title?"
|
|
571 |
msgid "View DNT extensions"
|
572 |
msgstr "View DNT extensions"
|
573 |
|
574 |
-
#: includes/meta-boxes.php:
|
575 |
#@ ditty-news-ticker
|
576 |
msgid "NF"
|
577 |
msgstr "NF"
|
578 |
|
579 |
-
#: includes/settings.php:
|
580 |
#@ ditty-news-ticker
|
581 |
msgid "The global settings to your news tickers."
|
582 |
msgstr "The global settings to your news tickers."
|
583 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Ditty News Ticker v1.1.3\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2013-03-22 03:08:42+0000\n"
|
7 |
"Last-Translator: admin <joe@metaphorcreations.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
31 |
msgstr "Mode"
|
32 |
|
33 |
#: includes/edit-columns.php:25
|
34 |
+
#: includes/meta-boxes.php:506
|
35 |
#@ ditty-news-ticker
|
36 |
msgid "Shortcode"
|
37 |
msgstr "Shortcode"
|
122 |
msgid "View all types"
|
123 |
msgstr "View all types"
|
124 |
|
125 |
+
#: includes/meta-boxes.php:64
|
126 |
#@ ditty-news-ticker
|
127 |
msgid "Ticker text"
|
128 |
msgstr "Ticker text"
|
129 |
|
130 |
+
#: includes/meta-boxes.php:70
|
131 |
#@ ditty-news-ticker
|
132 |
msgid "Link"
|
133 |
msgstr "Link"
|
134 |
|
135 |
+
#: includes/meta-boxes.php:74
|
136 |
#@ ditty-news-ticker
|
137 |
msgid "Target"
|
138 |
msgstr "Target"
|
139 |
|
140 |
+
#: includes/meta-boxes.php:97
|
141 |
#@ ditty-news-ticker
|
142 |
msgid "Default Ticker Items"
|
143 |
msgstr "Default Ticker Items"
|
144 |
|
145 |
+
#: includes/meta-boxes.php:131
|
146 |
#@ ditty-news-ticker
|
147 |
msgid "Ticker Mode"
|
148 |
msgstr "Ticker Mode"
|
149 |
|
150 |
+
#: includes/meta-boxes.php:158
|
151 |
#@ ditty-news-ticker
|
152 |
msgid "Scroll direction"
|
153 |
msgstr "Scroll direction"
|
154 |
|
155 |
+
#: includes/meta-boxes.php:160
|
156 |
#@ ditty-news-ticker
|
157 |
msgid "Left"
|
158 |
msgstr "Left"
|
159 |
|
160 |
+
#: includes/meta-boxes.php:161
|
161 |
#@ ditty-news-ticker
|
162 |
msgid "Right"
|
163 |
msgstr "Right"
|
164 |
|
165 |
+
#: includes/meta-boxes.php:162
|
166 |
#@ ditty-news-ticker
|
167 |
msgid "Up"
|
168 |
msgstr "Up"
|
169 |
|
170 |
+
#: includes/meta-boxes.php:163
|
171 |
#@ ditty-news-ticker
|
172 |
msgid "Down"
|
173 |
msgstr "Down"
|
174 |
|
175 |
+
#: includes/meta-boxes.php:166
|
176 |
#@ ditty-news-ticker
|
177 |
msgid "Set the scroll direction of the ticker."
|
178 |
msgstr "Set the scroll direction of the ticker."
|
179 |
|
180 |
+
#: includes/meta-boxes.php:174
|
181 |
+
#: includes/meta-boxes.php:282
|
182 |
#@ ditty-news-ticker
|
183 |
msgid "Tick dimensions"
|
184 |
msgstr "Tick dimensions"
|
185 |
|
186 |
+
#: includes/meta-boxes.php:176
|
187 |
#@ ditty-news-ticker
|
188 |
msgid "Width"
|
189 |
msgstr "Width"
|
190 |
|
191 |
+
#: includes/meta-boxes.php:177
|
192 |
+
#: includes/meta-boxes.php:285
|
193 |
#@ ditty-news-ticker
|
194 |
msgid "Override the auto dimensions with specific values."
|
195 |
msgstr "Override the auto dimensions with specific values."
|
196 |
|
197 |
+
#: includes/meta-boxes.php:182
|
198 |
+
#: includes/meta-boxes.php:284
|
199 |
#@ ditty-news-ticker
|
200 |
msgid "Height"
|
201 |
msgstr "Height"
|
202 |
|
203 |
+
#: includes/meta-boxes.php:191
|
204 |
#@ ditty-news-ticker
|
205 |
msgid "Scroller padding"
|
206 |
msgstr "Scroller padding"
|
207 |
|
208 |
+
#: includes/meta-boxes.php:193
|
209 |
+
#: includes/meta-boxes.php:294
|
210 |
+
#: includes/meta-boxes.php:408
|
211 |
#@ ditty-news-ticker
|
212 |
msgid "Vertical padding"
|
213 |
msgstr "Vertical padding"
|
214 |
|
215 |
+
#: includes/meta-boxes.php:194
|
216 |
#@ ditty-news-ticker
|
217 |
msgid "Set the vertical spacing of the scrolling data."
|
218 |
msgstr "Set the vertical spacing of the scrolling data."
|
219 |
|
220 |
+
#: includes/meta-boxes.php:199
|
221 |
+
#: includes/meta-boxes.php:300
|
222 |
+
#: includes/meta-boxes.php:414
|
223 |
#@ ditty-news-ticker
|
224 |
msgid "Vertical margin"
|
225 |
msgstr "Vertical margin"
|
226 |
|
227 |
+
#: includes/meta-boxes.php:208
|
228 |
#@ ditty-news-ticker
|
229 |
msgid "Scroll speed"
|
230 |
msgstr "Scroll speed"
|
231 |
|
232 |
+
#: includes/meta-boxes.php:210
|
233 |
#@ ditty-news-ticker
|
234 |
msgid "Set the speed of the scrolling data."
|
235 |
msgstr "Set the speed of the scrolling data."
|
236 |
|
237 |
+
#: includes/meta-boxes.php:214
|
238 |
+
#: includes/meta-boxes.php:320
|
239 |
#@ ditty-news-ticker
|
240 |
msgid "Pause on mouse over"
|
241 |
msgstr "Pause on mouse over"
|
242 |
|
243 |
+
#: includes/meta-boxes.php:223
|
244 |
+
#: includes/meta-boxes.php:423
|
245 |
#@ ditty-news-ticker
|
246 |
msgid "Tick spacing"
|
247 |
msgstr "Tick spacing"
|
248 |
|
249 |
+
#: includes/meta-boxes.php:225
|
250 |
+
#: includes/meta-boxes.php:425
|
251 |
#@ ditty-news-ticker
|
252 |
msgid "Pixels"
|
253 |
msgstr "Pixels"
|
254 |
|
255 |
+
#: includes/meta-boxes.php:226
|
256 |
#@ ditty-news-ticker
|
257 |
msgid "Set the spacing between scrolling data."
|
258 |
msgstr "Set the spacing between scrolling data."
|
259 |
|
260 |
+
#: includes/meta-boxes.php:232
|
261 |
#@ ditty-news-ticker
|
262 |
msgid "Scroll Settings"
|
263 |
msgstr "Scroll Settings"
|
264 |
|
265 |
+
#: includes/meta-boxes.php:259
|
266 |
#@ ditty-news-ticker
|
267 |
msgid "Rotation type"
|
268 |
msgstr "Rotation type"
|
269 |
|
270 |
+
#: includes/meta-boxes.php:261
|
271 |
#@ ditty-news-ticker
|
272 |
msgid "Fade"
|
273 |
msgstr "Fade"
|
274 |
|
275 |
+
#: includes/meta-boxes.php:262
|
276 |
#@ ditty-news-ticker
|
277 |
msgid "Slide left"
|
278 |
msgstr "Slide left"
|
279 |
|
280 |
+
#: includes/meta-boxes.php:263
|
281 |
#@ ditty-news-ticker
|
282 |
msgid "Slide right"
|
283 |
msgstr "Slide right"
|
284 |
|
285 |
+
#: includes/meta-boxes.php:264
|
286 |
#@ ditty-news-ticker
|
287 |
msgid "Slide up"
|
288 |
msgstr "Slide up"
|
289 |
|
290 |
+
#: includes/meta-boxes.php:265
|
291 |
#@ ditty-news-ticker
|
292 |
msgid "Slide down"
|
293 |
msgstr "Slide down"
|
294 |
|
295 |
+
#: includes/meta-boxes.php:268
|
296 |
#@ ditty-news-ticker
|
297 |
msgid "Set the type of rotation for the ticker."
|
298 |
msgstr "Set the type of rotation for the ticker."
|
299 |
|
300 |
+
#: includes/meta-boxes.php:273
|
301 |
#@ ditty-news-ticker
|
302 |
msgid "Dynamic slide direction"
|
303 |
msgstr "Dynamic slide direction"
|
304 |
|
305 |
+
#: includes/meta-boxes.php:292
|
306 |
#@ ditty-news-ticker
|
307 |
msgid "Rotator padding"
|
308 |
msgstr "Rotator padding"
|
309 |
|
310 |
+
#: includes/meta-boxes.php:295
|
311 |
#@ ditty-news-ticker
|
312 |
msgid "Set the vertical spacing of the rotating data."
|
313 |
msgstr "Set the vertical spacing of the rotating data."
|
314 |
|
315 |
+
#: includes/meta-boxes.php:309
|
316 |
#@ ditty-news-ticker
|
317 |
msgid "Auto rotate"
|
318 |
msgstr "Auto rotate"
|
319 |
|
320 |
+
#: includes/meta-boxes.php:310
|
321 |
+
#: includes/meta-boxes.php:346
|
322 |
+
#: includes/meta-boxes.php:361
|
323 |
#@ ditty-news-ticker
|
324 |
msgid "Enable"
|
325 |
msgstr "Enable"
|
326 |
|
327 |
+
#: includes/meta-boxes.php:311
|
328 |
#@ ditty-news-ticker
|
329 |
msgid "Set the delay between rotations."
|
330 |
msgstr "Set the delay between rotations."
|
331 |
|
332 |
+
#: includes/meta-boxes.php:316
|
333 |
#@ ditty-news-ticker
|
334 |
msgid "Seconds delay"
|
335 |
msgstr "Seconds delay"
|
336 |
|
337 |
+
#: includes/meta-boxes.php:329
|
338 |
#@ ditty-news-ticker
|
339 |
msgid "Rotate speed"
|
340 |
msgstr "Rotate speed"
|
341 |
|
342 |
+
#: includes/meta-boxes.php:331
|
343 |
#@ ditty-news-ticker
|
344 |
msgid "Tenths of a second"
|
345 |
msgstr "Tenths of a second"
|
346 |
|
347 |
+
#: includes/meta-boxes.php:332
|
348 |
#@ ditty-news-ticker
|
349 |
msgid "Set the speed & easing of the rotation."
|
350 |
msgstr "Set the speed & easing of the rotation."
|
351 |
|
352 |
+
#: includes/meta-boxes.php:345
|
353 |
#@ ditty-news-ticker
|
354 |
msgid "Directional navigation"
|
355 |
msgstr "Directional navigation"
|
356 |
|
357 |
+
#: includes/meta-boxes.php:347
|
358 |
#@ ditty-news-ticker
|
359 |
msgid "Set the directional navigation options."
|
360 |
msgstr "Set the directional navigation options."
|
361 |
|
362 |
+
#: includes/meta-boxes.php:351
|
363 |
#@ ditty-news-ticker
|
364 |
msgid "Autohide navigation"
|
365 |
msgstr "Autohide navigation"
|
366 |
|
367 |
+
#: includes/meta-boxes.php:360
|
368 |
#@ ditty-news-ticker
|
369 |
msgid "Control navigation"
|
370 |
msgstr "Control navigation"
|
371 |
|
372 |
+
#: includes/meta-boxes.php:362
|
373 |
#@ ditty-news-ticker
|
374 |
msgid "Set the control navigation options."
|
375 |
msgstr "Set the control navigation options."
|
376 |
|
377 |
+
#: includes/meta-boxes.php:367
|
378 |
#@ ditty-news-ticker
|
379 |
msgid "Numbers"
|
380 |
msgstr "Numbers"
|
381 |
|
382 |
+
#: includes/meta-boxes.php:368
|
383 |
#@ ditty-news-ticker
|
384 |
msgid "Buttons"
|
385 |
msgstr "Buttons"
|
386 |
|
387 |
+
#: includes/meta-boxes.php:379
|
388 |
#@ ditty-news-ticker
|
389 |
msgid "Rotate Settings"
|
390 |
msgstr "Rotate Settings"
|
391 |
|
392 |
+
#: includes/meta-boxes.php:406
|
393 |
#@ ditty-news-ticker
|
394 |
msgid "List padding"
|
395 |
msgstr "List padding"
|
396 |
|
397 |
+
#: includes/meta-boxes.php:409
|
398 |
#@ ditty-news-ticker
|
399 |
msgid "Set the vertical spacing of the list container."
|
400 |
msgstr "Set the vertical spacing of the list container."
|
401 |
|
402 |
+
#: includes/meta-boxes.php:426
|
403 |
#@ ditty-news-ticker
|
404 |
msgid "Set the spacing between ticks."
|
405 |
msgstr "Set the spacing between ticks."
|
406 |
|
407 |
+
#: includes/meta-boxes.php:432
|
408 |
#@ ditty-news-ticker
|
409 |
msgid "List Settings"
|
410 |
msgstr "List Settings"
|
411 |
|
412 |
+
#: includes/meta-boxes.php:459
|
413 |
#@ ditty-news-ticker
|
414 |
msgid "Display title"
|
415 |
msgstr "Display title"
|
416 |
|
417 |
+
#: includes/meta-boxes.php:463
|
418 |
#@ ditty-news-ticker
|
419 |
msgid "Inline title"
|
420 |
msgstr "Inline title"
|
421 |
|
422 |
+
#: includes/meta-boxes.php:471
|
423 |
#@ ditty-news-ticker
|
424 |
msgid "Ticker width <em>(optional)</em>"
|
425 |
msgstr "Ticker width <em>(optional)</em>"
|
426 |
|
427 |
+
#: includes/meta-boxes.php:473
|
428 |
#@ ditty-news-ticker
|
429 |
msgid "Override the auto width a with specific value."
|
430 |
msgstr "Override the auto width a with specific value."
|
431 |
|
432 |
+
#: includes/meta-boxes.php:479
|
433 |
#@ ditty-news-ticker
|
434 |
msgid "Global Settings"
|
435 |
msgstr "Global Settings"
|
436 |
|
437 |
+
#: includes/meta-boxes.php:507
|
438 |
#@ ditty-news-ticker
|
439 |
msgid "Select Shortcode"
|
440 |
msgstr "Select Shortcode"
|
441 |
|
442 |
+
#: includes/meta-boxes.php:508
|
443 |
#@ ditty-news-ticker
|
444 |
msgid "Use this shortcode to insert the ticker into a post/page."
|
445 |
msgstr "Use this shortcode to insert the ticker into a post/page."
|
446 |
|
447 |
+
#: includes/meta-boxes.php:515
|
448 |
#@ ditty-news-ticker
|
449 |
msgid "Direct function"
|
450 |
msgstr "Direct function"
|
451 |
|
452 |
+
#: includes/meta-boxes.php:516
|
453 |
#@ ditty-news-ticker
|
454 |
msgid "Select Function"
|
455 |
msgstr "Select Function"
|
456 |
|
457 |
+
#: includes/meta-boxes.php:517
|
458 |
#@ ditty-news-ticker
|
459 |
msgid "Place this code directly into your theme to display the ticker."
|
460 |
msgstr "Place this code directly into your theme to display the ticker."
|
461 |
|
462 |
+
#: includes/meta-boxes.php:523
|
463 |
#@ ditty-news-ticker
|
464 |
msgid "Ticker Display"
|
465 |
msgstr "Ticker Display"
|
531 |
msgid "Settings"
|
532 |
msgstr "Settings"
|
533 |
|
534 |
+
#: includes/settings.php:53
|
535 |
#@ ditty-news-ticker
|
536 |
msgid "Custom CSS"
|
537 |
msgstr "Custom CSS"
|
538 |
|
539 |
+
#: includes/settings.php:56
|
540 |
#@ ditty-news-ticker
|
541 |
msgid "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
|
542 |
msgstr "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
|
543 |
|
544 |
+
#: includes/settings.php:97
|
545 |
#@ ditty-news-ticker
|
546 |
msgid "Ditty News Ticker Settings"
|
547 |
msgstr "Ditty News Ticker Settings"
|
571 |
msgid "View DNT extensions"
|
572 |
msgstr "View DNT extensions"
|
573 |
|
574 |
+
#: includes/meta-boxes.php:79
|
575 |
#@ ditty-news-ticker
|
576 |
msgid "NF"
|
577 |
msgstr "NF"
|
578 |
|
579 |
+
#: includes/settings.php:143
|
580 |
#@ ditty-news-ticker
|
581 |
msgid "The global settings to your news tickers."
|
582 |
msgstr "The global settings to your news tickers."
|
583 |
|
584 |
+
#: includes/settings.php:46
|
585 |
+
#@ ditty-news-ticker
|
586 |
+
msgid "Visual Editor"
|
587 |
+
msgstr "Visual Editor"
|
588 |
+
|
589 |
+
#: includes/settings.php:48
|
590 |
+
#@ ditty-news-ticker
|
591 |
+
msgid "Use the visual editor for ticks"
|
592 |
+
msgstr "Use the visual editor for ticks"
|
593 |
+
|
594 |
+
#: includes/settings.php:49
|
595 |
+
#@ ditty-news-ticker
|
596 |
+
msgid "*The content in the visual editors will disappear after re-arranging ticks. That content will re-populate after resaving the ticker."
|
597 |
+
msgstr "*The content in the visual editors will disappear after re-arranging ticks. That content will re-populate after resaving the ticker."
|
598 |
+
|
readme.txt
CHANGED
@@ -52,6 +52,10 @@ Each individual Ticker post has multiple settings to customize.
|
|
52 |
|
53 |
== Changelog ==
|
54 |
|
|
|
|
|
|
|
|
|
55 |
= 1.1.2 =
|
56 |
* Reworked scroll mode to function better in IE.
|
57 |
* Added a global offset to scrolling and rotating ticks to are hidden.
|
@@ -116,6 +120,9 @@ Each individual Ticker post has multiple settings to customize.
|
|
116 |
|
117 |
== Upgrade Notice ==
|
118 |
|
|
|
|
|
|
|
119 |
= 1.1.2 =
|
120 |
Reworked scroll mode to function better in IE. Added a global offset to scrolling and rotating ticks to are hidden. Moved rotating tick code into .js file. Added css for max-image: 100%. Converted .clearfix class to custom .mtrph-dnt-clearfix to avoid conflicts.
|
121 |
|
52 |
|
53 |
== Changelog ==
|
54 |
|
55 |
+
= 1.1.3 =
|
56 |
+
* Added option to use visual editors for tick content (on settings page).
|
57 |
+
* Adjusted DNT jQuery class. Converted height() & width() to outerHeight() & outerWidth()
|
58 |
+
|
59 |
= 1.1.2 =
|
60 |
* Reworked scroll mode to function better in IE.
|
61 |
* Added a global offset to scrolling and rotating ticks to are hidden.
|
120 |
|
121 |
== Upgrade Notice ==
|
122 |
|
123 |
+
= 1.1.3 =
|
124 |
+
Added option to use visual editors for tick content (on settings page). Adjusted DNT jQuery class. Converted height() & width() to outerHeight() & outerWidth().
|
125 |
+
|
126 |
= 1.1.2 =
|
127 |
Reworked scroll mode to function better in IE. Added a global offset to scrolling and rotating ticks to are hidden. Moved rotating tick code into .js file. Added css for max-image: 100%. Converted .clearfix class to custom .mtrph-dnt-clearfix to avoid conflicts.
|
128 |
|