Version Description
- April 1st, 2015 =
- Enhancement: reverted to older styles (v1.1.6.4 stylesheet)
Download this release
Release Info
| Developer | eherman24 |
| Plugin | |
| Version | 1.1.6.6 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.6.5 to 1.1.6.6
- classes/class.timeline-express.php +2 -2
- css/timeline-express.css +10 -27
- css/timeline-express.min.css +2 -2
- js/script.timeline-express.js +6 -6
- js/script.timeline-express.min.js +1 -1
- readme.txt +39 -6
- 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
|
| 964 |
|
| 965 |
// decide how to compare our $current_date to $announcement_start_date meta
|
| 966 |
$compare = $this->timeline_express_optionVal['announcement-time-frame'];
|
|
@@ -1343,7 +1343,7 @@ if(!class_exists("timelineExpressBase"))
|
|
| 1343 |
|
| 1344 |
<?php
|
| 1345 |
echo '<p class="cmb_metabox_description">'.$field['desc'].'</p>';
|
| 1346 |
-
}
|
| 1347 |
|
| 1348 |
/***** ADMINISTRATION MENUS
|
| 1349 |
****************************************************************************************************/
|
| 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'];
|
| 1343 |
|
| 1344 |
<?php
|
| 1345 |
echo '<p class="cmb_metabox_description">'.$field['desc'].'</p>';
|
| 1346 |
+
}
|
| 1347 |
|
| 1348 |
/***** ADMINISTRATION MENUS
|
| 1349 |
****************************************************************************************************/
|
css/timeline-express.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/* Timeline Express
|
| 2 |
/* By Evan Herman (http://www.evan-herman.com */
|
| 3 |
/* -------------------------------------------------- */
|
| 4 |
.cd-container {
|
|
@@ -17,9 +17,6 @@
|
|
| 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,7 +60,6 @@
|
|
| 63 |
}
|
| 64 |
}.cd-timeline-block {
|
| 65 |
margin: 25px 0;
|
| 66 |
-
width: 50%;
|
| 67 |
}
|
| 68 |
.cd-timeline-block:after {
|
| 69 |
content: "";
|
|
@@ -78,7 +74,8 @@
|
|
| 78 |
}
|
| 79 |
@media only screen and (min-width:822px) {
|
| 80 |
.cd-timeline-block {
|
| 81 |
-
width:
|
|
|
|
| 82 |
}
|
| 83 |
.cd-timeline-block:first-child {
|
| 84 |
margin-top: 0;
|
|
@@ -89,6 +86,7 @@
|
|
| 89 |
}.cd-timeline-img {
|
| 90 |
position: absolute;
|
| 91 |
top: 0;
|
|
|
|
| 92 |
width: 40px;
|
| 93 |
height: 40px;
|
| 94 |
border-radius: 50%;
|
|
@@ -186,7 +184,6 @@
|
|
| 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,7 +252,7 @@
|
|
| 255 |
.cd-timeline-content {
|
| 256 |
margin-left: 0;
|
| 257 |
padding: 1.6em;
|
| 258 |
-
width:
|
| 259 |
background: #EFEFEF;
|
| 260 |
}
|
| 261 |
.cd-timeline-content::before {
|
|
@@ -307,7 +304,7 @@
|
|
| 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,12 +433,7 @@
|
|
| 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,22 +447,13 @@
|
|
| 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-
|
| 471 |
-
width:
|
| 472 |
-
.timeline-
|
| 473 |
-
width:
|
| 474 |
.timeline-date-left {
|
| 475 |
width: 100%;
|
| 476 |
float: left !important;
|
| 1 |
+
/* Timeline Express Styles 1.1.6.6 */
|
| 2 |
/* By Evan Herman (http://www.evan-herman.com */
|
| 3 |
/* -------------------------------------------------- */
|
| 4 |
.cd-container {
|
| 17 |
display: block;
|
| 18 |
margin: 1em auto;
|
| 19 |
}
|
|
|
|
|
|
|
|
|
|
| 20 |
#cd-timeline {
|
| 21 |
position: relative;
|
| 22 |
padding: 2em 0;
|
| 60 |
}
|
| 61 |
}.cd-timeline-block {
|
| 62 |
margin: 25px 0;
|
|
|
|
| 63 |
}
|
| 64 |
.cd-timeline-block:after {
|
| 65 |
content: "";
|
| 74 |
}
|
| 75 |
@media only screen and (min-width:822px) {
|
| 76 |
.cd-timeline-block {
|
| 77 |
+
width: 100%;
|
| 78 |
+
margin: -3.5em 0;
|
| 79 |
}
|
| 80 |
.cd-timeline-block:first-child {
|
| 81 |
margin-top: 0;
|
| 86 |
}.cd-timeline-img {
|
| 87 |
position: absolute;
|
| 88 |
top: 0;
|
| 89 |
+
left: 0;
|
| 90 |
width: 40px;
|
| 91 |
height: 40px;
|
| 92 |
border-radius: 50%;
|
| 184 |
border-radius: .25em;
|
| 185 |
padding: 1em;
|
| 186 |
box-shadow: 0 3px 0 #B9C5CD;
|
|
|
|
| 187 |
}
|
| 188 |
.cd-timeline-content:after {
|
| 189 |
content: "";
|
| 252 |
.cd-timeline-content {
|
| 253 |
margin-left: 0;
|
| 254 |
padding: 1.6em;
|
| 255 |
+
width: 39%;
|
| 256 |
background: #EFEFEF;
|
| 257 |
}
|
| 258 |
.cd-timeline-content::before {
|
| 304 |
animation: cd-bounce-2 .6s;
|
| 305 |
}
|
| 306 |
}@media only screen and (min-width:822px) {
|
| 307 |
+
.cssanimations .cd-timeline-block: nth-child(even) .cd-timeline-content.bounce-in {
|
| 308 |
-webkit-animation: cd-bounce-2-inverse .6s;
|
| 309 |
-moz-animation: cd-bounce-2-inverse .6s;
|
| 310 |
animation: cd-bounce-2-inverse .6s;
|
| 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 |
position: relative;
|
| 448 |
z-index: 99999;
|
| 449 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 450 |
}
|
| 451 |
.timeline-width100 {
|
| 452 |
width: 100%}
|
| 453 |
+
.timeline-width34 {
|
| 454 |
+
width: 34%}
|
| 455 |
+
.timeline-width30 {
|
| 456 |
+
width: 30%}
|
| 457 |
.timeline-date-left {
|
| 458 |
width: 100%;
|
| 459 |
float: left !important;
|
css/timeline-express.min.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/* Timeline Express Minified Styles 1.1.6.
|
| 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}
|
| 1 |
+
/* Timeline Express Minified Styles 1.1.6.6 */
|
| 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:"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}.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:100%;margin:-3.5em 0}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-block:last-child{margin-bottom:0}}.cd-timeline-img{position:absolute;top:0;left:0;width:40px;height:40px;border-radius:50%;box-shadow:0 0 0 4px white,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(0.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(0.5)}60%{opacity:1;-moz-transform:scale(1.2)}100%{-moz-transform:scale(1)}}@keyframes cd-bounce-1{0%{opacity:0;-webkit-transform:scale(0.5);-moz-transform:scale(0.5);-ms-transform:scale(0.5);-o-transform:scale(0.5);transform:scale(0.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}.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:39%;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}@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}}.timeline-width100{width:100%}.timeline-width34{width:34%}.timeline-width30{width:30%}.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-width34' );
|
| 43 |
} else if ( width >= 822 && ( entry_content_width.replace( 'px' , '' ) >= '475' && entry_content_width.replace( 'px' , '' ) <= '800' ) ) {
|
| 44 |
+
jQuery( '.cd-timeline-content' ).addClass( 'timeline-width34' );
|
| 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-width30' );
|
| 50 |
} else if ( width >= 822 && entry_content_width.replace( 'px' , '' ) <= '475' ) {
|
| 51 |
+
jQuery( '.cd-timeline-content' ).addClass( 'timeline-width30' );
|
| 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-width30' );
|
| 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-width30' ).removeClass( 'timeline-width34' );
|
| 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(){jQuery(this).offset().top>jQuery(window).scrollTop()
|
| 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(){if(jQuery(this).offset().top>jQuery(window).scrollTop()+jQuery(window).height()*.75){jQuery(this).find(".cd-timeline-img, .cd-timeline-content").addClass("is-hidden")}});jQuery(window).on("scroll",function(){e.each(function(){if(jQuery(this).offset().top<=jQuery(window).scrollTop()+jQuery(window).height()*.75&&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 t=jQuery("#cd-timeline");t.imagesLoaded(function(){t.masonry({itemSelector:".cd-timeline-block"});jQuery("#cd-timeline").fadeTo(600,1)});var n=jQuery("#cd-timeline").parents("div").css("width");var r=jQuery(window).width()+parseInt(17);var i=jQuery(".cd-timeline-content").css("width");if(r<=822&&n.replace("px","")<="475"&&n.replace("px","")<="800"){jQuery(".cd-timeline-content").removeClass("timeline-width34")}else if(r>=822&&n.replace("px","")>="475"&&n.replace("px","")<="800"){jQuery(".cd-timeline-content").addClass("timeline-width34")}if(r<=822&&n.replace("px","")<="475"){jQuery(".cd-timeline-content").removeClass("timeline-width30")}else if(r>=822&&n.replace("px","")<="475"){jQuery(".cd-timeline-content").addClass("timeline-width30")}if(i.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);var t=jQuery("#cd-timeline").parents("div").css("width");var n=jQuery(".cd-timeline-content").css("width");if(e>="822"&&t.replace("px","")<="475"){jQuery(".cd-timeline-content").addClass("timeline-width30")}if(e>="822"&&n.replace("px","")<262){jQuery(".cd-timeline-content").find(".timeline-date").addClass("timeline-date-left")}else{jQuery(".cd-timeline-content").find(".timeline-date").removeClass("timeline-date-left")}if(e<"822"){jQuery("#cd-timeline").masonry("reload");jQuery(".cd-timeline-content").removeClass("timeline-width30").removeClass("timeline-width34")}})})
|
readme.txt
CHANGED
|
@@ -3,8 +3,8 @@ Contributors: eherman24
|
|
| 3 |
Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20make%20a%20donation%20for%20all%20your%20hard%20work
|
| 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.
|
| 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!
|
|
@@ -13,6 +13,9 @@ Timeline express allows you to create a beautiful vertical animated and responsi
|
|
| 13 |
|
| 14 |
Timeline express allows you to create a vertical animated timeline of announcement posts , without writing a single line of code. You simply create the 'announcement' posts, set the announcement date and publish. The timeline will populate automatically in chronological order, based on the announcement date. Easily limit the announcements displayed to Upcoming announcements, past announcements or simply display all of them.
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
**Features**
|
| 17 |
|
| 18 |
* Load a custom template for single announcements (new)
|
|
@@ -31,6 +34,16 @@ Timeline express allows you to create a vertical animated timeline of announceme
|
|
| 31 |
* Highly extensible
|
| 32 |
* Translatable
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
**Translated**
|
| 35 |
|
| 36 |
Timeline express comes ready for translation. I would love to get things translated into as many languages as possible. At the moment the following translations are available for Timeline Express :
|
|
@@ -40,10 +53,12 @@ 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=_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 |
|
|
|
|
|
|
|
| 47 |
Looking for some advancedd documentation? Check out the <a href="https://wordpress.org/plugins/timeline-express/other_notes/">other notes</a> section.
|
| 48 |
<br />
|
| 49 |
<br />
|
|
@@ -62,6 +77,17 @@ Looking for some advancedd documentation? Check out the <a href="https://wordpre
|
|
| 62 |
|
| 63 |
== Frequently Asked Questions ==
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
= How do I use this plugin? =
|
| 66 |
Begin by simply installing the plugin. Once the plugin has been installed, go ahead and begin creating announcement posts. You'll find a new menu item just below 'Posts'.
|
| 67 |
After you have a substantial number of announcements set up, you're ready to display the timeline on the front end of your site.
|
|
@@ -76,7 +102,10 @@ the newly created 'timeline-express' directory in your theme. Timeline express w
|
|
| 76 |
it to your hearts desire without fear of losing any changes in future updates!
|
| 77 |
|
| 78 |
= Can I create more than one timeline? =
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
= At what width are the breakpoints set? =
|
| 82 |
Breakpoints are set at 822px. The timeline will shift/re-adjust automatically using masonry based on the height of each announcement container.
|
|
@@ -301,11 +330,15 @@ add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_templa
|
|
| 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 =
|
|
@@ -446,7 +479,7 @@ add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_templa
|
|
| 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 =
|
| 3 |
Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20make%20a%20donation%20for%20all%20your%20hard%20work
|
| 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.2
|
| 7 |
+
Stable tag: 1.1.6.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!
|
| 13 |
|
| 14 |
Timeline express allows you to create a vertical animated timeline of announcement posts , without writing a single line of code. You simply create the 'announcement' posts, set the announcement date and publish. The timeline will populate automatically in chronological order, based on the announcement date. Easily limit the announcements displayed to Upcoming announcements, past announcements or simply display all of them.
|
| 15 |
|
| 16 |
+
|
| 17 |
+
<a href="http://www.evan-herman.com/wordpress/plugins/timeline-express-demo/" title="View the demo">View the Timeline Express Demo</a>
|
| 18 |
+
|
| 19 |
**Features**
|
| 20 |
|
| 21 |
* Load a custom template for single announcements (new)
|
| 34 |
* Highly extensible
|
| 35 |
* Translatable
|
| 36 |
|
| 37 |
+
><strong>Pro Features</strong>
|
| 38 |
+
|
| 39 |
+
> - Setup multiple Timelines and assign announcements to any or all of the timelines.
|
| 40 |
+
> - Assign categories to announcements.
|
| 41 |
+
> - All new sorting features. Sort timelines by categories or by timeline.
|
| 42 |
+
> - Display categories on single announcement templates.
|
| 43 |
+
> - Priority support, code snippets provided when needed etc.
|
| 44 |
+
|
| 45 |
+
><a href="http://www.evan-herman.com/wordpress-plugin/timeline-express/" title="Upgrade Now!">Get the premium version now!</a>
|
| 46 |
+
|
| 47 |
**Translated**
|
| 48 |
|
| 49 |
Timeline express comes ready for translation. I would love to get things translated into as many languages as possible. At the moment the following translations are available for Timeline Express :
|
| 53 |
* Portuguese (pt_BR) - thanks goes to <a href="http://toborino.com" target="_blank">Gustavo Magalhães</a>
|
| 54 |
* Polish (pl_PL) - thanks goes to Kanios
|
| 55 |
* German (de_DE) - thanks goes to <a href="http://www.fairsoft.koeln" target="_blank">Martin Gerlach</a>
|
| 56 |
+
* French (fr_FR) - thanks goes to <a href="http://troisplus-et-aeliin-cosplay.fr/" target="_blank">Julien Lambert</a>
|
| 57 |
|
| 58 |
<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>
|
| 59 |
|
| 60 |
+
<a href="http://www.evan-herman.com/wordpress/plugins/timeline-express-demo/" title="View the demo">View the Timeline Express Demo</a>
|
| 61 |
+
|
| 62 |
Looking for some advancedd documentation? Check out the <a href="https://wordpress.org/plugins/timeline-express/other_notes/">other notes</a> section.
|
| 63 |
<br />
|
| 64 |
<br />
|
| 77 |
|
| 78 |
== Frequently Asked Questions ==
|
| 79 |
|
| 80 |
+
= Is there some demo I can checkout? I want to see how the plugin appears on the front end of a WordPress site before I install it. =
|
| 81 |
+
|
| 82 |
+
You can check out the demo we've setup for users displaying two seperate timelines with filtering enabled.
|
| 83 |
+
|
| 84 |
+
<a href="http://www.evan-herman.com/wordpress/plugins/timeline-express-demo/" title="View the demo">View the Timeline Express Demo</a>
|
| 85 |
+
|
| 86 |
+
= Can I filter announcements by posts/ Can I create multiple timelines? =
|
| 87 |
+
Not in the free version, but with our pro verson you can create numerous timelines and assign posts to a single timeline or all timelines. Also with the pro version you can easily filter announcements by categories on the front end.
|
| 88 |
+
|
| 89 |
+
<a href="http://www.evan-herman.com/wordpress/plugins/timeline-express-demo/" title="View the demo">View the Timeline Express Pro Demo</a>
|
| 90 |
+
|
| 91 |
= How do I use this plugin? =
|
| 92 |
Begin by simply installing the plugin. Once the plugin has been installed, go ahead and begin creating announcement posts. You'll find a new menu item just below 'Posts'.
|
| 93 |
After you have a substantial number of announcements set up, you're ready to display the timeline on the front end of your site.
|
| 102 |
it to your hearts desire without fear of losing any changes in future updates!
|
| 103 |
|
| 104 |
= Can I create more than one timeline? =
|
| 105 |
+
The free version limits you to one timeline. With the <a href="http://www.evan-herman.com/wordpress-plugin/timeline-express/" title="Timeline Express Pro">pro version</a>, you can create unlimited number of timelines and even assign categories to your announcements.
|
| 106 |
+
|
| 107 |
+
= Can I assign categories to my announcements? =
|
| 108 |
+
You can assign categories and filter your timelines by category with the <a href="http://www.evan-herman.com/wordpress-plugin/timeline-express/" title="Timeline Express Pro">pro version</a> only.
|
| 109 |
|
| 110 |
= At what width are the breakpoints set? =
|
| 111 |
Breakpoints are set at 822px. The timeline will shift/re-adjust automatically using masonry based on the height of each announcement container.
|
| 330 |
|
| 331 |
== Changelog ==
|
| 332 |
|
| 333 |
+
= 1.1.6.6 - April 1st, 2015 =
|
| 334 |
+
* Enhancement: reverted to older styles (v1.1.6.4 stylesheet)
|
| 335 |
+
|
| 336 |
= 1.1.6.5 - March 31st, 2015 =
|
| 337 |
* Enhancement: re-wrote part of the CSS file, to allow for native masonry layouts (uniform spacing between containers)
|
| 338 |
+
* Enhancement: Repaired $response typo, and missing title
|
| 339 |
|
| 340 |
= 1.1.6.4 - March 23rd, 2015 =
|
| 341 |
+
* Enhancement: Packaged French translation - thanks goes to <a href="http://troisplus-et-aeliin-cosplay.fr/" target="_blank">Julien Lambert</a>
|
| 342 |
* Enhancement: Fixed a few typos in the plugin
|
| 343 |
|
| 344 |
= 1.1.6.3 - March 22nd, 2015 =
|
| 479 |
* Enhancement: re-wrote part of the CSS file, to allow for native masonry layouts (uniform spacing between containers)
|
| 480 |
|
| 481 |
= 1.1.6.4 - March 23rd, 2015 =
|
| 482 |
+
* Enhancement: Packaged French translation - thanks goes to <a href="http://troisplus-et-aeliin-cosplay.fr/" target="_blank">Julien Lambert</a>
|
| 483 |
* Enhancement: Fixed a few typos in the plugin
|
| 484 |
|
| 485 |
= 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.6
|
| 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.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'));
|
