Version Description
- March 31st, 2015 =
- Enhancement: re-wrote part of the CSS file, to allow for native masonry layouts (uniform spacing between containers)
Download this release
Release Info
Developer | eherman24 |
Plugin | Timeline Express |
Version | 1.1.6.5 |
Comparing to | |
See all releases |
Code changes from version 1.1.6.4 to 1.1.6.5
- classes/class.timeline-express.php +9 -3
- css/timeline-express.css +27 -10
- css/timeline-express.min.css +2 -2
- js/script.timeline-express.js +6 -6
- js/script.timeline-express.min.js +1 -1
- readme.txt +10 -4
- timeline-express.php +2 -2
classes/class.timeline-express.php
CHANGED
@@ -960,7 +960,7 @@ if(!class_exists("timelineExpressBase"))
|
|
960 |
|
961 |
// set the current date, with our offset
|
962 |
$offset = get_option('gmt_offset');
|
963 |
-
$current_date = strtotime( 'today ' . $offset );
|
964 |
|
965 |
// decide how to compare our $current_date to $announcement_start_date meta
|
966 |
$compare = $this->timeline_express_optionVal['announcement-time-frame'];
|
@@ -1266,11 +1266,17 @@ if(!class_exists("timelineExpressBase"))
|
|
1266 |
// @since v1.1.5.7
|
1267 |
public function timeline_express_build_bootstrap_dropdown( $field, $meta ) {
|
1268 |
|
|
|
|
|
|
|
|
|
|
|
1269 |
// get the icons out of the css file
|
1270 |
-
|
|
|
1271 |
|
1272 |
if( is_wp_error( $response ) ) {
|
1273 |
-
wp_die( $
|
1274 |
}
|
1275 |
|
1276 |
// splot the response body, and store the icon classes in a variable
|
960 |
|
961 |
// set the current date, with our offset
|
962 |
$offset = get_option('gmt_offset');
|
963 |
+
$current_date = strtotime( 'today +' . $offset );
|
964 |
|
965 |
// decide how to compare our $current_date to $announcement_start_date meta
|
966 |
$compare = $this->timeline_express_optionVal['announcement-time-frame'];
|
1266 |
// @since v1.1.5.7
|
1267 |
public function timeline_express_build_bootstrap_dropdown( $field, $meta ) {
|
1268 |
|
1269 |
+
if( is_ssl() ) {
|
1270 |
+
$http = 'http:';
|
1271 |
+
} else {
|
1272 |
+
$http = 'https:';
|
1273 |
+
}
|
1274 |
// get the icons out of the css file
|
1275 |
+
// based on https or http...
|
1276 |
+
$response = wp_remote_get( $http . '//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css' );
|
1277 |
|
1278 |
if( is_wp_error( $response ) ) {
|
1279 |
+
wp_die( $response->get_error_message() , __( 'Error' , 'timeline-express' ) , array( 'back_link' => true ) );
|
1280 |
}
|
1281 |
|
1282 |
// splot the response body, and store the icon classes in a variable
|
css/timeline-express.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/* Timeline Express Minified Styles 1.1.5
|
2 |
/* By Evan Herman (http://www.evan-herman.com */
|
3 |
/* -------------------------------------------------- */
|
4 |
.cd-container {
|
@@ -17,6 +17,9 @@
|
|
17 |
display: block;
|
18 |
margin: 1em auto;
|
19 |
}
|
|
|
|
|
|
|
20 |
#cd-timeline {
|
21 |
position: relative;
|
22 |
padding: 2em 0;
|
@@ -60,6 +63,7 @@
|
|
60 |
}
|
61 |
}.cd-timeline-block {
|
62 |
margin: 25px 0;
|
|
|
63 |
}
|
64 |
.cd-timeline-block:after {
|
65 |
content: "";
|
@@ -74,8 +78,7 @@
|
|
74 |
}
|
75 |
@media only screen and (min-width:822px) {
|
76 |
.cd-timeline-block {
|
77 |
-
width:
|
78 |
-
margin: -3.5em 0;
|
79 |
}
|
80 |
.cd-timeline-block:first-child {
|
81 |
margin-top: 0;
|
@@ -86,7 +89,6 @@
|
|
86 |
}.cd-timeline-img {
|
87 |
position: absolute;
|
88 |
top: 0;
|
89 |
-
left: 0;
|
90 |
width: 40px;
|
91 |
height: 40px;
|
92 |
border-radius: 50%;
|
@@ -184,6 +186,7 @@
|
|
184 |
border-radius: .25em;
|
185 |
padding: 1em;
|
186 |
box-shadow: 0 3px 0 #B9C5CD;
|
|
|
187 |
}
|
188 |
.cd-timeline-content:after {
|
189 |
content: "";
|
@@ -252,7 +255,7 @@
|
|
252 |
.cd-timeline-content {
|
253 |
margin-left: 0;
|
254 |
padding: 1.6em;
|
255 |
-
width:
|
256 |
background: #EFEFEF;
|
257 |
}
|
258 |
.cd-timeline-content::before {
|
@@ -304,7 +307,7 @@
|
|
304 |
animation: cd-bounce-2 .6s;
|
305 |
}
|
306 |
}@media only screen and (min-width:822px) {
|
307 |
-
.cssanimations .cd-timeline-block:
|
308 |
-webkit-animation: cd-bounce-2-inverse .6s;
|
309 |
-moz-animation: cd-bounce-2-inverse .6s;
|
310 |
animation: cd-bounce-2-inverse .6s;
|
@@ -433,7 +436,12 @@
|
|
433 |
}
|
434 |
.cd-timeline-icon-link {
|
435 |
color: #fff!important;
|
|
|
436 |
}
|
|
|
|
|
|
|
|
|
437 |
@media only screen and (max-width:821px) {
|
438 |
#cd-timeline span.fa {
|
439 |
color: #fff;
|
@@ -447,13 +455,22 @@
|
|
447 |
position: relative;
|
448 |
z-index: 99999;
|
449 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
}
|
451 |
.timeline-width100 {
|
452 |
width: 100%}
|
453 |
-
.timeline-
|
454 |
-
width:
|
455 |
-
.timeline-
|
456 |
-
width:
|
457 |
.timeline-date-left {
|
458 |
width: 100%;
|
459 |
float: left !important;
|
1 |
+
/* Timeline Express Minified Styles 1.1.6.5 */
|
2 |
/* By Evan Herman (http://www.evan-herman.com */
|
3 |
/* -------------------------------------------------- */
|
4 |
.cd-container {
|
17 |
display: block;
|
18 |
margin: 1em auto;
|
19 |
}
|
20 |
+
.cd-timeline-block:nth-child(2) {
|
21 |
+
margin-top: 11.5em;
|
22 |
+
}
|
23 |
#cd-timeline {
|
24 |
position: relative;
|
25 |
padding: 2em 0;
|
63 |
}
|
64 |
}.cd-timeline-block {
|
65 |
margin: 25px 0;
|
66 |
+
width: 50%;
|
67 |
}
|
68 |
.cd-timeline-block:after {
|
69 |
content: "";
|
78 |
}
|
79 |
@media only screen and (min-width:822px) {
|
80 |
.cd-timeline-block {
|
81 |
+
width: 50%;
|
|
|
82 |
}
|
83 |
.cd-timeline-block:first-child {
|
84 |
margin-top: 0;
|
89 |
}.cd-timeline-img {
|
90 |
position: absolute;
|
91 |
top: 0;
|
|
|
92 |
width: 40px;
|
93 |
height: 40px;
|
94 |
border-radius: 50%;
|
186 |
border-radius: .25em;
|
187 |
padding: 1em;
|
188 |
box-shadow: 0 3px 0 #B9C5CD;
|
189 |
+
width: 65%;
|
190 |
}
|
191 |
.cd-timeline-content:after {
|
192 |
content: "";
|
255 |
.cd-timeline-content {
|
256 |
margin-left: 0;
|
257 |
padding: 1.6em;
|
258 |
+
width: 75%;
|
259 |
background: #EFEFEF;
|
260 |
}
|
261 |
.cd-timeline-content::before {
|
307 |
animation: cd-bounce-2 .6s;
|
308 |
}
|
309 |
}@media only screen and (min-width:822px) {
|
310 |
+
.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
|
311 |
-webkit-animation: cd-bounce-2-inverse .6s;
|
312 |
-moz-animation: cd-bounce-2-inverse .6s;
|
313 |
animation: cd-bounce-2-inverse .6s;
|
436 |
}
|
437 |
.cd-timeline-icon-link {
|
438 |
color: #fff!important;
|
439 |
+
position: absolute;
|
440 |
}
|
441 |
+
.cd-timeline-block:nth-child(odd) .cd-timeline-icon-link {
|
442 |
+
right: 0;
|
443 |
+
}
|
444 |
+
|
445 |
@media only screen and (max-width:821px) {
|
446 |
#cd-timeline span.fa {
|
447 |
color: #fff;
|
455 |
position: relative;
|
456 |
z-index: 99999;
|
457 |
}
|
458 |
+
.cd-timeline-block:nth-child(odd) .cd-timeline-icon-link, .cd-timeline-block:nth-child(even) {
|
459 |
+
left: 0 !important;
|
460 |
+
}
|
461 |
+
.cd-timeline-block {
|
462 |
+
width: 100% !important;
|
463 |
+
}
|
464 |
+
.cd-timeline-block:nth-child(2) {
|
465 |
+
margin: 25px 0 !important;
|
466 |
+
}
|
467 |
}
|
468 |
.timeline-width100 {
|
469 |
width: 100%}
|
470 |
+
.timeline-width65 {
|
471 |
+
width: 65%}
|
472 |
+
.timeline-width60 {
|
473 |
+
width: 60%}
|
474 |
.timeline-date-left {
|
475 |
width: 100%;
|
476 |
float: left !important;
|
css/timeline-express.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/* Timeline Express Minified Styles 1.1.5
|
2 |
/* By Evan Herman (http://www.evan-herman.com */
|
3 |
/* -------------------------------------------------- */
|
4 |
-
.cd-container{width:100%;max-width:822px;margin:0 auto}.cd-container::after{content:'';display:table;clear:both}.cd-timeline-announcement-image{box-shadow:none!important;max-width:100%;display:block;margin:1em auto}#cd-timeline{position:relative;padding:2em 0;margin-top:2em;margin-bottom:3em;-ms-filter:"
|
1 |
+
/* Timeline Express Minified Styles 1.1.6.5 */
|
2 |
/* By Evan Herman (http://www.evan-herman.com */
|
3 |
/* -------------------------------------------------- */
|
4 |
+
.cd-container{width:100%;max-width:822px;margin:0 auto}.cd-container::after{content:'';display:table;clear:both}.cd-timeline-announcement-image{box-shadow:none!important;max-width:100%;display:block;margin:1em auto}.cd-timeline-block:nth-child(2){margin-top:11.5em}#cd-timeline{position:relative;padding:2em 0;margin-top:2em;margin-bottom:3em;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}#cd-timeline::before{content:'';position:absolute;top:0;left:18px;height:100%;width:4px;background:#d7e4ed}.announcement-banner-image{max-width:100%}.timeline-express-single-page-announcement-date{display:block;margin-bottom:1em}@media only screen and (min-width:822px){#cd-timeline{margin-top:3em;margin-bottom:5.5em}#cd-timeline::before{left:50%;margin-left:-2px}}.cd-timeline-block{margin:25px 0;width:50%}.cd-timeline-block:after{content:"";display:table;clear:both}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-block:last-child{margin-bottom:0}@media only screen and (min-width:822px){.cd-timeline-block{width:50%}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-block:last-child{margin-bottom:0}}.cd-timeline-img{position:absolute;top:0;width:40px;height:40px;border-radius:50%;box-shadow:0 0 0 4px #fff,inset 0 2px 0 rgba(0,0,0,.08),0 3px 0 4px rgba(0,0,0,.05)}.cd-timeline-img img{display:block;width:24px;height:24px;position:relative;left:50%;top:50%;margin-left:-12px;margin-top:-12px}.cd-timeline-img.cd-picture{background:#75ce66}.cd-timeline-img.cd-movie{background:#c03b44}.cd-timeline-img.cd-location{background:#f0ca45}@media only screen and (min-width:822px){.cd-timeline-img{width:60px;height:60px;left:50%;margin-left:-30px;-webkit-transform:translateZ(0);-webkit-backface-visibility:hidden}.cssanimations .cd-timeline-img.is-hidden{visibility:hidden}.cssanimations .cd-timeline-img.bounce-in{visibility:visible;-webkit-animation:cd-bounce-1 .6s;-moz-animation:cd-bounce-1 .6s;animation:cd-bounce-1 .6s}}@-webkit-keyframes cd-bounce-1{0%{opacity:0;-webkit-transform:scale(.5)}60%{opacity:1;-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@-moz-keyframes cd-bounce-1{0%{opacity:0;-moz-transform:scale(.5)}60%{opacity:1;-moz-transform:scale(1.2)}100%{-moz-transform:scale(1)}}@keyframes cd-bounce-1{0%{opacity:0;-webkit-transform:scale(.5);-moz-transform:scale(.5);-ms-transform:scale(.5);-o-transform:scale(.5);transform:scale(.5)}60%{opacity:1;-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-ms-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}.cd-timeline-content{position:relative;margin-left:60px;background:#fff;border-radius:.25em;padding:1em;box-shadow:0 3px 0 #B9C5CD;width:65%}.cd-timeline-content:after{content:"";display:table;clear:both}.cd-timeline-content .cd-date,.cd-timeline-content .cd-read-more{display:inline-block}.cd-timeline-content .cd-read-more{padding:.8em 1em;position:relative;z-index:9999}.cd-timeline-content .cd-date{float:left;padding:.8em 0;opacity:.7;font-size:12px}.cd-timeline-title-container{display:inline-block;width:100%;float:left;margin:.55em 0}.cd-timeline-title-container h2{float:left}.cd-timeline-content .timeline-date{opacity:.7;font-size:.857143rem;float:right;margin-top:.5em}.cd-timeline-content::before{content:'';position:absolute;top:16px;right:100%;height:0;width:0;border:7px solid transparent;border-right:7px solid #fff}@media only screen and (min-width:768px){.cd-timeline-content h2{margin-top:0;margin-bottom:0}.cd-timeline-content .the-excerpt{display:block;float:left;width:100%;margin:1em 0;position:relative;z-index:999}.cd-timeline-content .cd-date,.cd-timeline-content .cd-read-more{font-size:14px;font-size:.875rem;position:relative;z-index:999}}@media only screen and (min-width:822px){.cd-timeline-content{margin-left:0;padding:1.6em;width:75%;background:#EFEFEF}.cd-timeline-content::before{top:24px;left:100%;border-color:transparent transparent transparent #EFEFEF}.cd-timeline-content .cd-read-more{float:left;color:#333}.cd-timeline-content .cd-date{position:absolute;width:100%;left:125%;top:15px}.cd-timeline-block:nth-child(even) .cd-timeline-content{float:right}.cd-timeline-block:nth-child(even) .cd-timeline-content::before{top:24px;left:auto;right:100%;border-color:transparent #EFEFEF transparent transparent}.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more{float:right;color:#333;padding-right:0}.cd-timeline-block:nth-child(odd) .cd-timeline-content .cd-read-more{position:relative;z-index:99999;padding-left:0}.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date{left:auto;right:125%;text-align:right}.cssanimations .cd-timeline-content.is-hidden{visibility:hidden}.cssanimations .cd-timeline-content.bounce-in{visibility:visible;-webkit-animation:cd-bounce-2 .6s;-moz-animation:cd-bounce-2 .6s;animation:cd-bounce-2 .6s}}@media only screen and (min-width:822px){.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in{-webkit-animation:cd-bounce-2-inverse .6s;-moz-animation:cd-bounce-2-inverse .6s;animation:cd-bounce-2-inverse .6s}}@-webkit-keyframes cd-bounce-2{0%{opacity:0;-webkit-transform:translateX(-100px)}60%{opacity:1;-webkit-transform:translateX(20px)}100%{-webkit-transform:translateX(0)}}@-moz-keyframes cd-bounce-2{0%{opacity:0;-moz-transform:translateX(-100px)}60%{opacity:1;-moz-transform:translateX(20px)}100%{-moz-transform:translateX(0)}}@keyframes cd-bounce-2{0%{opacity:0;-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);-ms-transform:translateX(-100px);-o-transform:translateX(-100px);transform:translateX(-100px)}60%{opacity:1;-webkit-transform:translateX(20px);-moz-transform:translateX(20px);-ms-transform:translateX(20px);-o-transform:translateX(20px);transform:translateX(20px)}100%{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes cd-bounce-2-inverse{0%{opacity:0;-webkit-transform:translateX(100px)}60%{opacity:1;-webkit-transform:translateX(-20px)}100%{-webkit-transform:translateX(0)}}@-moz-keyframes cd-bounce-2-inverse{0%{opacity:0;-moz-transform:translateX(100px)}60%{opacity:1;-moz-transform:translateX(-20px)}100%{-moz-transform:translateX(0)}}@keyframes cd-bounce-2-inverse{0%{opacity:0;-webkit-transform:translateX(100px);-moz-transform:translateX(100px);-ms-transform:translateX(100px);-o-transform:translateX(100px);transform:translateX(100px)}60%{opacity:1;-webkit-transform:translateX(-20px);-moz-transform:translateX(-20px);-ms-transform:translateX(-20px);-o-transform:translateX(-20px);transform:translateX(-20px)}100%{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0)}}.more-to-come-container{position:relative;background:#EFEFEF;display:block;width:100%;text-align:center}.more-to-come{margin:10em 0 0;padding:1em 0;font-weight:200;color:rgba(100,100,100,.46)}.page article.page{background:0 0!important;box-shadow:none;border:none;-webkit-box-shadow:none}#cd-timeline span.fa{color:#fff;font-size:28px;display:block;text-align:center;margin-top:17px}.cd-timeline-icon-link{color:#fff!important;position:absolute}.cd-timeline-block:nth-child(odd) .cd-timeline-icon-link{right:0}@media only screen and (max-width:821px){#cd-timeline span.fa{color:#fff;font-size:18px;display:block;text-align:center;margin-top:12px}.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more,.cd-timeline-block:nth-child(odd) .cd-timeline-content .cd-read-more{padding-left:0!important;position:relative;z-index:99999}.cd-timeline-block:nth-child(even),.cd-timeline-block:nth-child(odd) .cd-timeline-icon-link{left:0!important}.cd-timeline-block{width:100%!important}.cd-timeline-block:nth-child(2){margin:25px 0!important}}.timeline-width100{width:100%}.timeline-width65{width:65%}.timeline-width60{width:60%}.timeline-date-left{width:100%;float:left!important}.single-post .announcement-banner-image,.single-post .return-to-timeline,.single-post .timeline-express-single-page-announcement-date{display:none}
|
js/script.timeline-express.js
CHANGED
@@ -39,16 +39,16 @@ jQuery(document).ready(function(){
|
|
39 |
|
40 |
// medium content width (twenty thirteen)
|
41 |
if ( width <= 822 && ( entry_content_width.replace( 'px' , '' ) <= '475' && entry_content_width.replace( 'px' , '' ) <= '800' ) ) {
|
42 |
-
jQuery( '.cd-timeline-content' ).removeClass( 'timeline-
|
43 |
} else if ( width >= 822 && ( entry_content_width.replace( 'px' , '' ) >= '475' && entry_content_width.replace( 'px' , '' ) <= '800' ) ) {
|
44 |
-
jQuery( '.cd-timeline-content' ).addClass( 'timeline-
|
45 |
}
|
46 |
|
47 |
// narrow content widths (twenty fourteen)
|
48 |
if ( width <= 822 && entry_content_width.replace( 'px' , '' ) <= '475' ) {
|
49 |
-
jQuery( '.cd-timeline-content' ).removeClass( 'timeline-
|
50 |
} else if ( width >= 822 && entry_content_width.replace( 'px' , '' ) <= '475' ) {
|
51 |
-
jQuery( '.cd-timeline-content' ).addClass( 'timeline-
|
52 |
}
|
53 |
|
54 |
// if the content is narrow (twenty thirteen)
|
@@ -64,7 +64,7 @@ jQuery(document).ready(function(){
|
|
64 |
var timeline_content_width = jQuery( '.cd-timeline-content' ).css('width');
|
65 |
|
66 |
if ( width >= '822' && entry_content_width.replace( 'px' , '' ) <= '475' ) {
|
67 |
-
jQuery( '.cd-timeline-content' ).addClass( 'timeline-
|
68 |
}
|
69 |
|
70 |
if ( width >= '822' && timeline_content_width.replace( 'px' , '' ) < 262 ) {
|
@@ -76,7 +76,7 @@ jQuery(document).ready(function(){
|
|
76 |
if ( ( width < '822' ) ) {
|
77 |
|
78 |
jQuery( '#cd-timeline' ).masonry('reload');
|
79 |
-
jQuery( '.cd-timeline-content' ).removeClass( 'timeline-
|
80 |
|
81 |
|
82 |
}
|
39 |
|
40 |
// medium content width (twenty thirteen)
|
41 |
if ( width <= 822 && ( entry_content_width.replace( 'px' , '' ) <= '475' && entry_content_width.replace( 'px' , '' ) <= '800' ) ) {
|
42 |
+
jQuery( '.cd-timeline-content' ).removeClass( 'timeline-width65' );
|
43 |
} else if ( width >= 822 && ( entry_content_width.replace( 'px' , '' ) >= '475' && entry_content_width.replace( 'px' , '' ) <= '800' ) ) {
|
44 |
+
jQuery( '.cd-timeline-content' ).addClass( 'timeline-width65' );
|
45 |
}
|
46 |
|
47 |
// narrow content widths (twenty fourteen)
|
48 |
if ( width <= 822 && entry_content_width.replace( 'px' , '' ) <= '475' ) {
|
49 |
+
jQuery( '.cd-timeline-content' ).removeClass( 'timeline-width60' );
|
50 |
} else if ( width >= 822 && entry_content_width.replace( 'px' , '' ) <= '475' ) {
|
51 |
+
jQuery( '.cd-timeline-content' ).addClass( 'timeline-width60' );
|
52 |
}
|
53 |
|
54 |
// if the content is narrow (twenty thirteen)
|
64 |
var timeline_content_width = jQuery( '.cd-timeline-content' ).css('width');
|
65 |
|
66 |
if ( width >= '822' && entry_content_width.replace( 'px' , '' ) <= '475' ) {
|
67 |
+
jQuery( '.cd-timeline-content' ).addClass( 'timeline-width60' );
|
68 |
}
|
69 |
|
70 |
if ( width >= '822' && timeline_content_width.replace( 'px' , '' ) < 262 ) {
|
76 |
if ( ( width < '822' ) ) {
|
77 |
|
78 |
jQuery( '#cd-timeline' ).masonry('reload');
|
79 |
+
jQuery( '.cd-timeline-content' ).removeClass( 'timeline-width60' ).removeClass( 'timeline-width65' );
|
80 |
|
81 |
|
82 |
}
|
js/script.timeline-express.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
/* Timeline Express by Evan Herman - http://www.Evan-Herman.com */
|
2 |
-
jQuery(document).ready(function(){jQuery("html").addClass("cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions");var e=jQuery(".cd-timeline-block");e.each(function(){
|
1 |
/* Timeline Express by Evan Herman - http://www.Evan-Herman.com */
|
2 |
+
jQuery(document).ready(function(){jQuery("html").addClass("cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions");var e=jQuery(".cd-timeline-block");e.each(function(){jQuery(this).offset().top>jQuery(window).scrollTop()+.75*jQuery(window).height()&&jQuery(this).find(".cd-timeline-img, .cd-timeline-content").addClass("is-hidden")}),jQuery(window).on("scroll",function(){e.each(function(){jQuery(this).offset().top<=jQuery(window).scrollTop()+.75*jQuery(window).height()&&jQuery(this).find(".cd-timeline-img").hasClass("is-hidden")&&jQuery(this).find(".cd-timeline-img, .cd-timeline-content").removeClass("is-hidden").addClass("bounce-in")})});var i=jQuery("#cd-timeline");i.imagesLoaded(function(){i.masonry({itemSelector:".cd-timeline-block"}),jQuery("#cd-timeline").fadeTo(600,1)});var t=jQuery("#cd-timeline").parents("div").css("width"),n=jQuery(window).width()+parseInt(17),d=jQuery(".cd-timeline-content").css("width");822>=n&&t.replace("px","")<="475"&&t.replace("px","")<="800"?jQuery(".cd-timeline-content").removeClass("timeline-width65"):n>=822&&t.replace("px","")>="475"&&t.replace("px","")<="800"&&jQuery(".cd-timeline-content").addClass("timeline-width65"),822>=n&&t.replace("px","")<="475"?jQuery(".cd-timeline-content").removeClass("timeline-width60"):n>=822&&t.replace("px","")<="475"&&jQuery(".cd-timeline-content").addClass("timeline-width60"),d.replace("px","")<262&&jQuery(".cd-timeline-content").find(".timeline-date").addClass("timeline-date-left"),jQuery(window).resize(function(){var e=jQuery(window).width()+parseInt(17),i=jQuery("#cd-timeline").parents("div").css("width"),t=jQuery(".cd-timeline-content").css("width");e>="822"&&i.replace("px","")<="475"&&jQuery(".cd-timeline-content").addClass("timeline-width60"),e>="822"&&t.replace("px","")<262?jQuery(".cd-timeline-content").find(".timeline-date").addClass("timeline-date-left"):jQuery(".cd-timeline-content").find(".timeline-date").removeClass("timeline-date-left"),"822">e&&(jQuery("#cd-timeline").masonry("reload"),jQuery(".cd-timeline-content").removeClass("timeline-width60").removeClass("timeline-width65"))})});
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20
|
|
4 |
Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 1.1.6.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Timeline express allows you to create a beautiful vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
|
@@ -40,7 +40,7 @@ Timeline express comes ready for translation. I would love to get things transla
|
|
40 |
* Portuguese (pt_BR) - thanks goes to <a href="http://toborino.com" target="_blank">Gustavo Magalhães</a>
|
41 |
* Polish (pl_PL) - thanks goes to Kanios
|
42 |
* German (de_DE) - thanks goes to <a href="http://www.fairsoft.koeln" target="_blank">Martin Gerlach</a>
|
43 |
-
* French (fr_FR) - thanks goes to <a href="http://troisplus-et-aeliin-cosplay.fr/" target=
|
44 |
|
45 |
<em>We're always looking for polyglots to help with the translations. If you enjoy this plugin, speak multiple languages and want to contribute please <a href="http://www.evan-herman.com/contact/" target="_blank">contact me</a> about how you can help translate things so users around the world can benefit from this plugin.</em>
|
46 |
|
@@ -301,8 +301,11 @@ add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_templa
|
|
301 |
|
302 |
== Changelog ==
|
303 |
|
|
|
|
|
|
|
304 |
= 1.1.6.4 - March 23rd, 2015 =
|
305 |
-
* Enhancement: Packaged French translation - thanks goes to Julien Lambert
|
306 |
* Enhancement: Fixed a few typos in the plugin
|
307 |
|
308 |
= 1.1.6.3 - March 22nd, 2015 =
|
@@ -439,8 +442,11 @@ add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_templa
|
|
439 |
|
440 |
== Upgrade Notice ==
|
441 |
|
|
|
|
|
|
|
442 |
= 1.1.6.4 - March 23rd, 2015 =
|
443 |
-
* Enhancement: Packaged French translation - thanks goes to Julien Lambert
|
444 |
* Enhancement: Fixed a few typos in the plugin
|
445 |
|
446 |
= 1.1.6.3 - March 22nd, 2015 =
|
4 |
Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 1.1.6.5
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Timeline express allows you to create a beautiful vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
|
40 |
* Portuguese (pt_BR) - thanks goes to <a href="http://toborino.com" target="_blank">Gustavo Magalhães</a>
|
41 |
* Polish (pl_PL) - thanks goes to Kanios
|
42 |
* German (de_DE) - thanks goes to <a href="http://www.fairsoft.koeln" target="_blank">Martin Gerlach</a>
|
43 |
+
* French (fr_FR) - thanks goes to <a href="http://troisplus-et-aeliin-cosplay.fr/" target=_blank">Julien Lambert</a>
|
44 |
|
45 |
<em>We're always looking for polyglots to help with the translations. If you enjoy this plugin, speak multiple languages and want to contribute please <a href="http://www.evan-herman.com/contact/" target="_blank">contact me</a> about how you can help translate things so users around the world can benefit from this plugin.</em>
|
46 |
|
301 |
|
302 |
== Changelog ==
|
303 |
|
304 |
+
= 1.1.6.5 - March 31st, 2015 =
|
305 |
+
* Enhancement: re-wrote part of the CSS file, to allow for native masonry layouts (uniform spacing between containers)
|
306 |
+
|
307 |
= 1.1.6.4 - March 23rd, 2015 =
|
308 |
+
* Enhancement: Packaged French translation - thanks goes to <a href="http://troisplus-et-aeliin-cosplay.fr/" target=_blank">Julien Lambert</a>
|
309 |
* Enhancement: Fixed a few typos in the plugin
|
310 |
|
311 |
= 1.1.6.3 - March 22nd, 2015 =
|
442 |
|
443 |
== Upgrade Notice ==
|
444 |
|
445 |
+
= 1.1.6.5 - March 31st, 2015 =
|
446 |
+
* Enhancement: re-wrote part of the CSS file, to allow for native masonry layouts (uniform spacing between containers)
|
447 |
+
|
448 |
= 1.1.6.4 - March 23rd, 2015 =
|
449 |
+
* Enhancement: Packaged French translation - thanks goes to <a href="http://troisplus-et-aeliin-cosplay.fr/" target=_blank">Julien Lambert</a>
|
450 |
* Enhancement: Fixed a few typos in the plugin
|
451 |
|
452 |
= 1.1.6.3 - March 22nd, 2015 =
|
timeline-express.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Timeline Express
|
5 |
Plugin URI: http://www.evan-herman.com
|
6 |
Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
|
7 |
-
Version: 1.1.6.
|
8 |
Author: Evan Herman
|
9 |
Author URI: http://www.evan-herman.com
|
10 |
License: GPL2
|
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
28 |
#_________________________________________________ CONSTANTS
|
29 |
|
30 |
/** Configuration **/
|
31 |
-
if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.1.6.
|
32 |
if(!defined('TIMELINE_EXPRESS_PATH')) define('TIMELINE_EXPRESS_PATH', plugin_dir_path( __FILE__ ));
|
33 |
if(!defined('TIMELINE_EXPRESS_URL')) define('TIMELINE_EXPRESS_URL', plugins_url('timeline-express/'));
|
34 |
if(!defined('TIMELINE_EXPRESS_URL_WP')) define('TIMELINE_EXPRESS_URL_WP', get_bloginfo('url'));
|
4 |
Plugin Name: Timeline Express
|
5 |
Plugin URI: http://www.evan-herman.com
|
6 |
Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
|
7 |
+
Version: 1.1.6.5
|
8 |
Author: Evan Herman
|
9 |
Author URI: http://www.evan-herman.com
|
10 |
License: GPL2
|
28 |
#_________________________________________________ CONSTANTS
|
29 |
|
30 |
/** Configuration **/
|
31 |
+
if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.1.6.5');
|
32 |
if(!defined('TIMELINE_EXPRESS_PATH')) define('TIMELINE_EXPRESS_PATH', plugin_dir_path( __FILE__ ));
|
33 |
if(!defined('TIMELINE_EXPRESS_URL')) define('TIMELINE_EXPRESS_URL', plugins_url('timeline-express/'));
|
34 |
if(!defined('TIMELINE_EXPRESS_URL_WP')) define('TIMELINE_EXPRESS_URL_WP', get_bloginfo('url'));
|